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": "450f1041-080e-497a-9925-f33e70fcaab8",
"site_id": "1767c4f4-2239-449c-99df-6fe37a463bf3"
},
{
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"active": true,
"code": "sample string 2",
"id": "450f1041-080e-497a-9925-f33e70fcaab8",
"site_id": "1767c4f4-2239-449c-99df-6fe37a463bf3"
}
],
"selected_sticker_id": "94eb8cce-9808-4609-94f7-c87d4f6892ce",
"selected_nameplate_id": "6dde78df-cf6d-4787-81a4-cd70cf1ab38f",
"active": true,
"certificate_type_id": "5195b2b1-a8ec-4877-97c5-a619451321fe",
"code": 1,
"id": "b2d57734-3a65-4a0c-ba7a-0533221fbc0b",
"internal_reference": "sample string 4",
"item_wash_max": 1,
"language_code": "sample string 5",
"name": "sample string 6",
"packaging_type_id": "c0bbd76e-5cae-4b34-a253-66beeee66b03",
"packing_type_id": "d5dc362e-5ac1-439a-9575-946bb214f3a0",
"particles_control": true,
"peremption_month": 1,
"peremption_print_cleanroom": true,
"peremption_print_date": true,
"peremption_print_expedition": true,
"permanent_management": true,
"pool_id": "c805b63b-35c6-4a79-baab-9775f3a73538",
"remark": "sample string 14",
"site_customer_id": "473297cc-acba-4526-99f9-d8e3c9ae8adc",
"sorting_type_id": "384bc40d-3dda-46f8-a38d-e0057c7e1adc",
"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": "450f1041-080e-497a-9925-f33e70fcaab8",
"site_id": "1767c4f4-2239-449c-99df-6fe37a463bf3"
},
{
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"active": true,
"code": "sample string 2",
"id": "450f1041-080e-497a-9925-f33e70fcaab8",
"site_id": "1767c4f4-2239-449c-99df-6fe37a463bf3"
}
],
"selected_sticker_id": "94eb8cce-9808-4609-94f7-c87d4f6892ce",
"selected_nameplate_id": "6dde78df-cf6d-4787-81a4-cd70cf1ab38f",
"active": true,
"certificate_type_id": "5195b2b1-a8ec-4877-97c5-a619451321fe",
"code": 1,
"id": "b2d57734-3a65-4a0c-ba7a-0533221fbc0b",
"internal_reference": "sample string 4",
"item_wash_max": 1,
"language_code": "sample string 5",
"name": "sample string 6",
"packaging_type_id": "c0bbd76e-5cae-4b34-a253-66beeee66b03",
"packing_type_id": "d5dc362e-5ac1-439a-9575-946bb214f3a0",
"particles_control": true,
"peremption_month": 1,
"peremption_print_cleanroom": true,
"peremption_print_date": true,
"peremption_print_expedition": true,
"permanent_management": true,
"pool_id": "c805b63b-35c6-4a79-baab-9775f3a73538",
"remark": "sample string 14",
"site_customer_id": "473297cc-acba-4526-99f9-d8e3c9ae8adc",
"sorting_type_id": "384bc40d-3dda-46f8-a38d-e0057c7e1adc",
"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>5195b2b1-a8ec-4877-97c5-a619451321fe</certificate_type_id>
<code>1</code>
<id>b2d57734-3a65-4a0c-ba7a-0533221fbc0b</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>c0bbd76e-5cae-4b34-a253-66beeee66b03</packaging_type_id>
<packing_type_id>d5dc362e-5ac1-439a-9575-946bb214f3a0</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>c805b63b-35c6-4a79-baab-9775f3a73538</pool_id>
<remark>sample string 14</remark>
<site_customer_id>473297cc-acba-4526-99f9-d8e3c9ae8adc</site_customer_id>
<sorting_type_id>384bc40d-3dda-46f8-a38d-e0057c7e1adc</sorting_type_id>
<type>sample string 17</type>
<selected_nameplate_id>6dde78df-cf6d-4787-81a4-cd70cf1ab38f</selected_nameplate_id>
<selected_sticker_id>94eb8cce-9808-4609-94f7-c87d4f6892ce</selected_sticker_id>
<washing_processes>
<washing_process>
<active>true</active>
<code>sample string 2</code>
<id>450f1041-080e-497a-9925-f33e70fcaab8</id>
<site_id>1767c4f4-2239-449c-99df-6fe37a463bf3</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>450f1041-080e-497a-9925-f33e70fcaab8</id>
<site_id>1767c4f4-2239-449c-99df-6fe37a463bf3</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>5195b2b1-a8ec-4877-97c5-a619451321fe</certificate_type_id>
<code>1</code>
<id>b2d57734-3a65-4a0c-ba7a-0533221fbc0b</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>c0bbd76e-5cae-4b34-a253-66beeee66b03</packaging_type_id>
<packing_type_id>d5dc362e-5ac1-439a-9575-946bb214f3a0</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>c805b63b-35c6-4a79-baab-9775f3a73538</pool_id>
<remark>sample string 14</remark>
<site_customer_id>473297cc-acba-4526-99f9-d8e3c9ae8adc</site_customer_id>
<sorting_type_id>384bc40d-3dda-46f8-a38d-e0057c7e1adc</sorting_type_id>
<type>sample string 17</type>
<selected_nameplate_id>6dde78df-cf6d-4787-81a4-cd70cf1ab38f</selected_nameplate_id>
<selected_sticker_id>94eb8cce-9808-4609-94f7-c87d4f6892ce</selected_sticker_id>
<washing_processes>
<washing_process>
<active>true</active>
<code>sample string 2</code>
<id>450f1041-080e-497a-9925-f33e70fcaab8</id>
<site_id>1767c4f4-2239-449c-99df-6fe37a463bf3</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>450f1041-080e-497a-9925-f33e70fcaab8</id>
<site_id>1767c4f4-2239-449c-99df-6fe37a463bf3</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>