GET api/departmentItemapi/departmentitemsbydepartment/{departmentId}?active={active}&lastUpdate={lastUpdate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| departmentId | globally unique identifier |
Required |
|
| active | boolean |
None. |
|
| lastUpdate | date |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of DepartmentItemViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| item_code | string |
None. |
|
| item_descriptions | Dictionary of string [key] and string [value] |
None. |
|
| selected_sticker_id | globally unique identifier |
None. |
|
| selected_nameplate_id | globally unique identifier |
None. |
|
| active | boolean |
Required |
|
| department_id | globally unique identifier |
Required |
|
| id | globally unique identifier |
None. |
|
| physical_item_id | globally unique identifier |
None. |
|
| service_item_id | globally unique identifier |
None. |
|
| item_wash_max | integer |
None. |
|
| quantity | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"item_code": "sample string 1",
"item_descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"selected_sticker_id": "bb8b1e7f-7da9-4e77-b7df-3f4ef9306216",
"selected_nameplate_id": "dc699976-8710-4479-8b8c-196b91cdaa42",
"active": true,
"department_id": "1a5db44b-e5f2-42ee-a7ca-2d1b76d87aae",
"id": "598534d3-696c-4219-83c5-e6fdf74be666",
"physical_item_id": "a4ade748-3a76-454a-8e6f-3f9eaf5d16d8",
"service_item_id": "24579eac-0fb3-46aa-98a5-d3120e36149e",
"item_wash_max": 1,
"quantity": 1
},
{
"item_code": "sample string 1",
"item_descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"selected_sticker_id": "bb8b1e7f-7da9-4e77-b7df-3f4ef9306216",
"selected_nameplate_id": "dc699976-8710-4479-8b8c-196b91cdaa42",
"active": true,
"department_id": "1a5db44b-e5f2-42ee-a7ca-2d1b76d87aae",
"id": "598534d3-696c-4219-83c5-e6fdf74be666",
"physical_item_id": "a4ade748-3a76-454a-8e6f-3f9eaf5d16d8",
"service_item_id": "24579eac-0fb3-46aa-98a5-d3120e36149e",
"item_wash_max": 1,
"quantity": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfdepartment_item xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
<department_item>
<active>true</active>
<department_id>1a5db44b-e5f2-42ee-a7ca-2d1b76d87aae</department_id>
<id>598534d3-696c-4219-83c5-e6fdf74be666</id>
<item_wash_max>1</item_wash_max>
<physical_item_id>a4ade748-3a76-454a-8e6f-3f9eaf5d16d8</physical_item_id>
<quantity>1</quantity>
<service_item_id>24579eac-0fb3-46aa-98a5-d3120e36149e</service_item_id>
<item_code>sample string 1</item_code>
<item_descriptions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>sample string 1</d3p1:Key>
<d3p1:Value>sample string 2</d3p1:Value>
</d3p1:KeyValueOfstringstring>
<d3p1:KeyValueOfstringstring>
<d3p1:Key>sample string 3</d3p1:Key>
<d3p1:Value>sample string 4</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</item_descriptions>
<selected_nameplate_id>dc699976-8710-4479-8b8c-196b91cdaa42</selected_nameplate_id>
<selected_sticker_id>bb8b1e7f-7da9-4e77-b7df-3f4ef9306216</selected_sticker_id>
</department_item>
<department_item>
<active>true</active>
<department_id>1a5db44b-e5f2-42ee-a7ca-2d1b76d87aae</department_id>
<id>598534d3-696c-4219-83c5-e6fdf74be666</id>
<item_wash_max>1</item_wash_max>
<physical_item_id>a4ade748-3a76-454a-8e6f-3f9eaf5d16d8</physical_item_id>
<quantity>1</quantity>
<service_item_id>24579eac-0fb3-46aa-98a5-d3120e36149e</service_item_id>
<item_code>sample string 1</item_code>
<item_descriptions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>sample string 1</d3p1:Key>
<d3p1:Value>sample string 2</d3p1:Value>
</d3p1:KeyValueOfstringstring>
<d3p1:KeyValueOfstringstring>
<d3p1:Key>sample string 3</d3p1:Key>
<d3p1:Value>sample string 4</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</item_descriptions>
<selected_nameplate_id>dc699976-8710-4479-8b8c-196b91cdaa42</selected_nameplate_id>
<selected_sticker_id>bb8b1e7f-7da9-4e77-b7df-3f4ef9306216</selected_sticker_id>
</department_item>
</ArrayOfdepartment_item>