| GET | /AGD/Departaments |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CodeId | query | int? | No | |
| Hrclvl | query | int? | No | |
| Mgrid | query | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<StaffDepartaments> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Codeid | form | int | No | |
| Cityid | form | string | No | |
| Hname | form | string | No | |
| Hnamee | form | string | No | |
| Mgrid | form | int? | No | |
| Hcode | form | string | No | |
| Address | form | string | No | |
| Phone | form | string | No | |
| Defval | form | bool | No | |
| Unid | form | Guid | No | |
| Crtime | form | DateTime? | No | |
| Canceled | form | bool | No | |
| Hrclvl | form | int | No | |
| Hccrt | form | string | No | |
| Hrccrt | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /AGD/Departaments HTTP/1.1 Host: 10.10.0.107 Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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,"Cityid":"String","Hname":"String","Hnamee":"String","Mgrid":0,"Hcode":"String","Address":"String","Phone":"String","Defval":false,"Unid":"00000000000000000000000000000000","Crtime":"\/Date(-62135596800000-0000)\/","Canceled":false,"Hrclvl":0,"Hccrt":"String","Hrccrt":"String"}]}