GET api/contractapi/contractsbysitecustomer/{siteCustomerId}?active={active}&lastUpdate={lastUpdate}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| siteCustomerId | globally unique identifier |
Required |
|
| active | boolean |
None. |
|
| lastUpdate | date |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of ContractViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| washing_processes | Collection of WashingProcessViewModel |
None. |
|
| selected_sticker_id | globally unique identifier |
None. |
|
| selected_nameplate_id | globally unique identifier |
None. |
|
| active | boolean |
Required |
|
| certificate_type_id | globally unique identifier |
Required |
|
| code | integer |
None. |
|
| id | globally unique identifier |
None. |
|
| internal_reference | string |
String length: inclusive between 0 and 50 |
|
| item_wash_max | integer |
None. |
|
| language_code | string |
Required String length: inclusive between 0 and 10 |
|
| name | string |
Required String length: inclusive between 0 and 100 |
|
| packaging_type_id | globally unique identifier |
Required |
|
| packing_type_id | globally unique identifier |
Required |
|
| particles_control | boolean |
Required |
|
| peremption_month | integer |
None. |
|
| peremption_print_cleanroom | boolean |
Required |
|
| peremption_print_date | boolean |
Required |
|
| peremption_print_expedition | boolean |
Required |
|
| permanent_management | boolean |
Required |
|
| pool_id | globally unique identifier |
None. |
|
| remark | string |
None. |
|
| site_customer_id | globally unique identifier |
Required |
|
| sorting_type_id | globally unique identifier |
Required |
|
| type | string |
Required String length: inclusive between 0 and 1 |
Response Formats
application/json, text/json
Sample:
[
{
"washing_processes": [
{
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"active": true,
"code": "sample string 2",
"id": "84185a44-0173-43ed-86e1-7426234499ef",
"site_id": "615ef00b-f432-4b9a-972e-8a11163e25e7"
},
{
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"active": true,
"code": "sample string 2",
"id": "84185a44-0173-43ed-86e1-7426234499ef",
"site_id": "615ef00b-f432-4b9a-972e-8a11163e25e7"
}
],
"selected_sticker_id": "050e8180-2ce8-4251-9739-7143ab01eecc",
"selected_nameplate_id": "0653f73d-ed93-4b6f-add7-bd0910059340",
"active": true,
"certificate_type_id": "75a9d3bf-f1cd-4ffb-8f0a-1d680c6211c8",
"code": 1,
"id": "c3f91591-f921-47ac-a9df-10a00d54bafc",
"internal_reference": "sample string 4",
"item_wash_max": 1,
"language_code": "sample string 5",
"name": "sample string 6",
"packaging_type_id": "5617683a-19d1-4721-86be-3c3ec4d05cbc",
"packing_type_id": "6b97da1b-b744-4631-b307-a734c9b1ad0d",
"particles_control": true,
"peremption_month": 1,
"peremption_print_cleanroom": true,
"peremption_print_date": true,
"peremption_print_expedition": true,
"permanent_management": true,
"pool_id": "e0cb9049-2146-4091-ad6f-3b57fb021ac4",
"remark": "sample string 14",
"site_customer_id": "d666ca40-d211-4b84-9e81-b405ec1d001a",
"sorting_type_id": "12fba30e-4c35-4a7c-a4c5-9dd8760487af",
"type": "sample string 17"
},
{
"washing_processes": [
{
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"active": true,
"code": "sample string 2",
"id": "84185a44-0173-43ed-86e1-7426234499ef",
"site_id": "615ef00b-f432-4b9a-972e-8a11163e25e7"
},
{
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"active": true,
"code": "sample string 2",
"id": "84185a44-0173-43ed-86e1-7426234499ef",
"site_id": "615ef00b-f432-4b9a-972e-8a11163e25e7"
}
],
"selected_sticker_id": "050e8180-2ce8-4251-9739-7143ab01eecc",
"selected_nameplate_id": "0653f73d-ed93-4b6f-add7-bd0910059340",
"active": true,
"certificate_type_id": "75a9d3bf-f1cd-4ffb-8f0a-1d680c6211c8",
"code": 1,
"id": "c3f91591-f921-47ac-a9df-10a00d54bafc",
"internal_reference": "sample string 4",
"item_wash_max": 1,
"language_code": "sample string 5",
"name": "sample string 6",
"packaging_type_id": "5617683a-19d1-4721-86be-3c3ec4d05cbc",
"packing_type_id": "6b97da1b-b744-4631-b307-a734c9b1ad0d",
"particles_control": true,
"peremption_month": 1,
"peremption_print_cleanroom": true,
"peremption_print_date": true,
"peremption_print_expedition": true,
"permanent_management": true,
"pool_id": "e0cb9049-2146-4091-ad6f-3b57fb021ac4",
"remark": "sample string 14",
"site_customer_id": "d666ca40-d211-4b84-9e81-b405ec1d001a",
"sorting_type_id": "12fba30e-4c35-4a7c-a4c5-9dd8760487af",
"type": "sample string 17"
}
]
application/xml, text/xml
Sample:
<ArrayOfcontract xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
<contract>
<active>true</active>
<certificate_type_id>75a9d3bf-f1cd-4ffb-8f0a-1d680c6211c8</certificate_type_id>
<code>1</code>
<id>c3f91591-f921-47ac-a9df-10a00d54bafc</id>
<internal_reference>sample string 4</internal_reference>
<item_wash_max>1</item_wash_max>
<language_code>sample string 5</language_code>
<name>sample string 6</name>
<packaging_type_id>5617683a-19d1-4721-86be-3c3ec4d05cbc</packaging_type_id>
<packing_type_id>6b97da1b-b744-4631-b307-a734c9b1ad0d</packing_type_id>
<particles_control>true</particles_control>
<peremption_month>1</peremption_month>
<peremption_print_cleanroom>true</peremption_print_cleanroom>
<peremption_print_date>true</peremption_print_date>
<peremption_print_expedition>true</peremption_print_expedition>
<permanent_management>true</permanent_management>
<pool_id>e0cb9049-2146-4091-ad6f-3b57fb021ac4</pool_id>
<remark>sample string 14</remark>
<site_customer_id>d666ca40-d211-4b84-9e81-b405ec1d001a</site_customer_id>
<sorting_type_id>12fba30e-4c35-4a7c-a4c5-9dd8760487af</sorting_type_id>
<type>sample string 17</type>
<selected_nameplate_id>0653f73d-ed93-4b6f-add7-bd0910059340</selected_nameplate_id>
<selected_sticker_id>050e8180-2ce8-4251-9739-7143ab01eecc</selected_sticker_id>
<washing_processes>
<washing_process>
<active>true</active>
<code>sample string 2</code>
<id>84185a44-0173-43ed-86e1-7426234499ef</id>
<site_id>615ef00b-f432-4b9a-972e-8a11163e25e7</site_id>
<descriptions xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>sample string 1</d5p1:Key>
<d5p1:Value>sample string 2</d5p1:Value>
</d5p1:KeyValueOfstringstring>
<d5p1:KeyValueOfstringstring>
<d5p1:Key>sample string 3</d5p1:Key>
<d5p1:Value>sample string 4</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</descriptions>
</washing_process>
<washing_process>
<active>true</active>
<code>sample string 2</code>
<id>84185a44-0173-43ed-86e1-7426234499ef</id>
<site_id>615ef00b-f432-4b9a-972e-8a11163e25e7</site_id>
<descriptions xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>sample string 1</d5p1:Key>
<d5p1:Value>sample string 2</d5p1:Value>
</d5p1:KeyValueOfstringstring>
<d5p1:KeyValueOfstringstring>
<d5p1:Key>sample string 3</d5p1:Key>
<d5p1:Value>sample string 4</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</descriptions>
</washing_process>
</washing_processes>
</contract>
<contract>
<active>true</active>
<certificate_type_id>75a9d3bf-f1cd-4ffb-8f0a-1d680c6211c8</certificate_type_id>
<code>1</code>
<id>c3f91591-f921-47ac-a9df-10a00d54bafc</id>
<internal_reference>sample string 4</internal_reference>
<item_wash_max>1</item_wash_max>
<language_code>sample string 5</language_code>
<name>sample string 6</name>
<packaging_type_id>5617683a-19d1-4721-86be-3c3ec4d05cbc</packaging_type_id>
<packing_type_id>6b97da1b-b744-4631-b307-a734c9b1ad0d</packing_type_id>
<particles_control>true</particles_control>
<peremption_month>1</peremption_month>
<peremption_print_cleanroom>true</peremption_print_cleanroom>
<peremption_print_date>true</peremption_print_date>
<peremption_print_expedition>true</peremption_print_expedition>
<permanent_management>true</permanent_management>
<pool_id>e0cb9049-2146-4091-ad6f-3b57fb021ac4</pool_id>
<remark>sample string 14</remark>
<site_customer_id>d666ca40-d211-4b84-9e81-b405ec1d001a</site_customer_id>
<sorting_type_id>12fba30e-4c35-4a7c-a4c5-9dd8760487af</sorting_type_id>
<type>sample string 17</type>
<selected_nameplate_id>0653f73d-ed93-4b6f-add7-bd0910059340</selected_nameplate_id>
<selected_sticker_id>050e8180-2ce8-4251-9739-7143ab01eecc</selected_sticker_id>
<washing_processes>
<washing_process>
<active>true</active>
<code>sample string 2</code>
<id>84185a44-0173-43ed-86e1-7426234499ef</id>
<site_id>615ef00b-f432-4b9a-972e-8a11163e25e7</site_id>
<descriptions xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>sample string 1</d5p1:Key>
<d5p1:Value>sample string 2</d5p1:Value>
</d5p1:KeyValueOfstringstring>
<d5p1:KeyValueOfstringstring>
<d5p1:Key>sample string 3</d5p1:Key>
<d5p1:Value>sample string 4</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</descriptions>
</washing_process>
<washing_process>
<active>true</active>
<code>sample string 2</code>
<id>84185a44-0173-43ed-86e1-7426234499ef</id>
<site_id>615ef00b-f432-4b9a-972e-8a11163e25e7</site_id>
<descriptions xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>sample string 1</d5p1:Key>
<d5p1:Value>sample string 2</d5p1:Value>
</d5p1:KeyValueOfstringstring>
<d5p1:KeyValueOfstringstring>
<d5p1:Key>sample string 3</d5p1:Key>
<d5p1:Value>sample string 4</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</descriptions>
</washing_process>
</washing_processes>
</contract>
</ArrayOfcontract>