GET api/departmentapi/department/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
DepartmentViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| active | boolean |
Required |
|
| code | integer |
Required |
|
| contract_id | globally unique identifier |
Required |
|
| id | globally unique identifier |
None. |
|
| item_wash_max | integer |
None. |
|
| name | string |
None. |
|
| remark | string |
None. |
|
| selected_nameplate_id | globally unique identifier |
None. |
|
| selected_sticker_id | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{
"active": true,
"code": 2,
"contract_id": "3ce29bc5-1c54-4903-bfac-f2875d08703f",
"id": "8fd78d99-caf8-4947-93c1-1d819d803d4c",
"item_wash_max": 1,
"name": "sample string 5",
"remark": "sample string 6",
"selected_nameplate_id": "593c17d6-c3cf-45e9-be07-d533728e270a",
"selected_sticker_id": "87599052-b102-4279-ab50-a8025f99780e"
}
application/xml, text/xml
Sample:
<department xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel"> <active>true</active> <code>2</code> <contract_id>3ce29bc5-1c54-4903-bfac-f2875d08703f</contract_id> <id>8fd78d99-caf8-4947-93c1-1d819d803d4c</id> <item_wash_max>1</item_wash_max> <name>sample string 5</name> <remark>sample string 6</remark> <selected_nameplate_id>593c17d6-c3cf-45e9-be07-d533728e270a</selected_nameplate_id> <selected_sticker_id>87599052-b102-4279-ab50-a8025f99780e</selected_sticker_id> </department>