| 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 .jsv suffix or ?format=jsv
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: text/jsv
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:
[
{
Codeid: 0,
Cityid: String,
Hname: String,
Hnamee: String,
Mgrid: 0,
Hcode: String,
Address: String,
Phone: String,
Defval: False,
Unid: 00000000000000000000000000000000,
Crtime: 0001-01-01,
Canceled: False,
Hrclvl: 0,
Hccrt: String,
Hrccrt: String
}
]
}