POST | /AGD/Post |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Post | body | StaffPost | Yes | თანამდებობა |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Codeid | form | int | No | |
Hname | form | string | No | |
Hnamee | form | string | No | |
Mgrid | form | int? | No | |
Hcode | form | string | No | |
Wvg | form | decimal | No | |
Wvu | form | decimal | No | |
whour | form | decimal | No | |
Defval | form | bool | No | |
Unid | form | Guid | No | |
Crtime | form | DateTime? | No | |
posttype | form | int? | No | |
maxworkday | form | int? | No | |
Hrclvl | form | int | No | |
Hccrt | form | string | No | |
Hrccrt | form | string | No | |
Ref | form | int? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Result | form | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /AGD/Post HTTP/1.1
Host: apex.nikoratrade.ge
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Post:
{
Codeid: 0,
Hname: String,
Hnamee: String,
Mgrid: 0,
Hcode: String,
Wvg: 0,
Wvu: 0,
whour: 0,
Defval: False,
Unid: 00000000000000000000000000000000,
Crtime: 0001-01-01,
posttype: 0,
maxworkday: 0,
Hrclvl: 0,
Hccrt: String,
Hrccrt: String,
Ref: 0
}
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { ResponseStatus: { ErrorCode: String, Message: String, StackTrace: String, Errors: [ { ErrorCode: String, FieldName: String, Message: String, Meta: { String: String } } ], Meta: { String: String } }, Result: 0 }