GET api/departmentapi/department/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

DepartmentViewModel
NameDescriptionTypeAdditional information
active

boolean

Required

code

integer

Required

contract_id

globally unique identifier

Required

delay_between_scans

integer

None.

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": "05e2e5a8-f796-4fe5-baab-b8fc848fe1fb",
  "delay_between_scans": 1,
  "id": "51b177b6-643a-45b3-869f-290a150bf2da",
  "item_wash_max": 1,
  "name": "sample string 5",
  "remark": "sample string 6",
  "selected_nameplate_id": "1704af24-b6c6-4372-a259-00c0df41723c",
  "selected_sticker_id": "5762a523-b414-4e6c-91f2-22f98674c4d8"
}

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>05e2e5a8-f796-4fe5-baab-b8fc848fe1fb</contract_id>
  <delay_between_scans>1</delay_between_scans>
  <id>51b177b6-643a-45b3-869f-290a150bf2da</id>
  <item_wash_max>1</item_wash_max>
  <name>sample string 5</name>
  <remark>sample string 6</remark>
  <selected_nameplate_id>1704af24-b6c6-4372-a259-00c0df41723c</selected_nameplate_id>
  <selected_sticker_id>5762a523-b414-4e6c-91f2-22f98674c4d8</selected_sticker_id>
</department>