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": "b8c9eb1b-c8ba-4465-bbe3-a76fe8354294",
  "delay_between_scans": 1,
  "id": "6ee4e945-7318-4e0d-9e7c-c4fa35153a48",
  "item_wash_max": 1,
  "name": "sample string 5",
  "remark": "sample string 6",
  "selected_nameplate_id": "e70d2a2c-bb01-4664-9239-25278889ea53",
  "selected_sticker_id": "730d0f26-616f-4976-a6a4-8a268c1d5832"
}

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>b8c9eb1b-c8ba-4465-bbe3-a76fe8354294</contract_id>
  <delay_between_scans>1</delay_between_scans>
  <id>6ee4e945-7318-4e0d-9e7c-c4fa35153a48</id>
  <item_wash_max>1</item_wash_max>
  <name>sample string 5</name>
  <remark>sample string 6</remark>
  <selected_nameplate_id>e70d2a2c-bb01-4664-9239-25278889ea53</selected_nameplate_id>
  <selected_sticker_id>730d0f26-616f-4976-a6a4-8a268c1d5832</selected_sticker_id>
</department>