GET api/packingtypeapi/packingtypesbysite/{siteId}?active={active}&lastUpdate={lastUpdate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteId | globally unique identifier |
Required |
|
| active | boolean |
None. |
|
| lastUpdate | date |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of PackingTypeViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| descriptions | Dictionary of string [key] and string [value] |
None. |
|
| id | globally unique identifier |
None. |
|
| active | boolean |
Required |
|
| site_id | globally unique identifier |
Required |
|
| type | string |
Required String length: inclusive between 0 and 30 |
Response Formats
application/json, text/json
Sample:
[
{
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"id": "ca41897a-f837-4b51-8b96-0563b81b0624",
"active": true,
"site_id": "0be8fba6-e99a-4467-8582-1c15e59838ad",
"type": "sample string 4"
},
{
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"id": "ca41897a-f837-4b51-8b96-0563b81b0624",
"active": true,
"site_id": "0be8fba6-e99a-4467-8582-1c15e59838ad",
"type": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfpackingtype xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
<packingtype>
<active>true</active>
<id>ca41897a-f837-4b51-8b96-0563b81b0624</id>
<site_id>0be8fba6-e99a-4467-8582-1c15e59838ad</site_id>
<type>sample string 4</type>
<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>
</descriptions>
</packingtype>
<packingtype>
<active>true</active>
<id>ca41897a-f837-4b51-8b96-0563b81b0624</id>
<site_id>0be8fba6-e99a-4467-8582-1c15e59838ad</site_id>
<type>sample string 4</type>
<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>
</descriptions>
</packingtype>
</ArrayOfpackingtype>