| GET | /AGD/Post |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CodeId | query | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<StaffPost> | No |
| 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 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .x-protobuf suffix or ?format=x-protobuf
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /AGD/Post HTTP/1.1 Host: 10.10.0.107 Accept: application/x-protobuf
HTTP/1.1 200 OK
Content-Type: application/x-protobuf
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":[{"Codeid":0,"Hname":"String","Hnamee":"String","Mgrid":0,"Hcode":"String","Wvg":0,"Wvu":0,"whour":0,"Defval":false,"Unid":"00000000000000000000000000000000","Crtime":"\/Date(-62135596800000-0000)\/","posttype":0,"maxworkday":0,"Hrclvl":0,"Hccrt":"String","Hrccrt":"String","Ref":0}]}