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 |
|---|---|---|---|
| selected_nameplate_id | globally unique identifier |
None. |
|
| selected_sticker_id | globally unique identifier |
None. |
|
| washing_processes | Collection of WashingProcessViewModel |
None. |
|
| active | boolean |
Required |
|
| certificate_type_id | globally unique identifier |
Required |
|
| code | integer |
None. |
|
| delay_between_scans | 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:
[
{
"selected_nameplate_id": "b910d912-124e-44ac-818b-ca3ae493d173",
"selected_sticker_id": "d2d8732b-6d6e-44b7-aac8-c87ecac2441e",
"washing_processes": [
{
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"active": true,
"code": "sample string 2",
"id": "5104ef0a-7b89-408f-bb88-4205b9d00131",
"site_id": "185e3da5-6f0f-4c63-8651-35a2958fbf6e"
},
{
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"active": true,
"code": "sample string 2",
"id": "5104ef0a-7b89-408f-bb88-4205b9d00131",
"site_id": "185e3da5-6f0f-4c63-8651-35a2958fbf6e"
}
],
"active": true,
"certificate_type_id": "bb79a780-99d0-4d09-9532-347a4ea74e96",
"code": 1,
"delay_between_scans": 1,
"id": "0b16d2a5-b40d-4d98-b6c5-d836eca7701b",
"internal_reference": "sample string 4",
"item_wash_max": 1,
"language_code": "sample string 5",
"name": "sample string 6",
"packaging_type_id": "f7cebf0c-34da-4b6d-8f03-3c75b8918018",
"packing_type_id": "a40b9d00-3440-47ab-a0e2-680cb30e0b74",
"particles_control": true,
"peremption_month": 1,
"peremption_print_cleanroom": true,
"peremption_print_date": true,
"peremption_print_expedition": true,
"permanent_management": true,
"pool_id": "bac93065-26c9-4879-aa72-99fa6b6e3793",
"remark": "sample string 14",
"site_customer_id": "abfccdfd-befa-424b-b757-76ce90e7385b",
"sorting_type_id": "64d532b4-9503-4a53-add2-78883ef7f187",
"type": "sample string 17"
},
{
"selected_nameplate_id": "b910d912-124e-44ac-818b-ca3ae493d173",
"selected_sticker_id": "d2d8732b-6d6e-44b7-aac8-c87ecac2441e",
"washing_processes": [
{
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"active": true,
"code": "sample string 2",
"id": "5104ef0a-7b89-408f-bb88-4205b9d00131",
"site_id": "185e3da5-6f0f-4c63-8651-35a2958fbf6e"
},
{
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"active": true,
"code": "sample string 2",
"id": "5104ef0a-7b89-408f-bb88-4205b9d00131",
"site_id": "185e3da5-6f0f-4c63-8651-35a2958fbf6e"
}
],
"active": true,
"certificate_type_id": "bb79a780-99d0-4d09-9532-347a4ea74e96",
"code": 1,
"delay_between_scans": 1,
"id": "0b16d2a5-b40d-4d98-b6c5-d836eca7701b",
"internal_reference": "sample string 4",
"item_wash_max": 1,
"language_code": "sample string 5",
"name": "sample string 6",
"packaging_type_id": "f7cebf0c-34da-4b6d-8f03-3c75b8918018",
"packing_type_id": "a40b9d00-3440-47ab-a0e2-680cb30e0b74",
"particles_control": true,
"peremption_month": 1,
"peremption_print_cleanroom": true,
"peremption_print_date": true,
"peremption_print_expedition": true,
"permanent_management": true,
"pool_id": "bac93065-26c9-4879-aa72-99fa6b6e3793",
"remark": "sample string 14",
"site_customer_id": "abfccdfd-befa-424b-b757-76ce90e7385b",
"sorting_type_id": "64d532b4-9503-4a53-add2-78883ef7f187",
"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>bb79a780-99d0-4d09-9532-347a4ea74e96</certificate_type_id>
<code>1</code>
<delay_between_scans>1</delay_between_scans>
<id>0b16d2a5-b40d-4d98-b6c5-d836eca7701b</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>f7cebf0c-34da-4b6d-8f03-3c75b8918018</packaging_type_id>
<packing_type_id>a40b9d00-3440-47ab-a0e2-680cb30e0b74</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>bac93065-26c9-4879-aa72-99fa6b6e3793</pool_id>
<remark>sample string 14</remark>
<site_customer_id>abfccdfd-befa-424b-b757-76ce90e7385b</site_customer_id>
<sorting_type_id>64d532b4-9503-4a53-add2-78883ef7f187</sorting_type_id>
<type>sample string 17</type>
<selected_nameplate_id>b910d912-124e-44ac-818b-ca3ae493d173</selected_nameplate_id>
<selected_sticker_id>d2d8732b-6d6e-44b7-aac8-c87ecac2441e</selected_sticker_id>
<washing_processes>
<washing_process>
<active>true</active>
<code>sample string 2</code>
<id>5104ef0a-7b89-408f-bb88-4205b9d00131</id>
<site_id>185e3da5-6f0f-4c63-8651-35a2958fbf6e</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>5104ef0a-7b89-408f-bb88-4205b9d00131</id>
<site_id>185e3da5-6f0f-4c63-8651-35a2958fbf6e</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>bb79a780-99d0-4d09-9532-347a4ea74e96</certificate_type_id>
<code>1</code>
<delay_between_scans>1</delay_between_scans>
<id>0b16d2a5-b40d-4d98-b6c5-d836eca7701b</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>f7cebf0c-34da-4b6d-8f03-3c75b8918018</packaging_type_id>
<packing_type_id>a40b9d00-3440-47ab-a0e2-680cb30e0b74</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>bac93065-26c9-4879-aa72-99fa6b6e3793</pool_id>
<remark>sample string 14</remark>
<site_customer_id>abfccdfd-befa-424b-b757-76ce90e7385b</site_customer_id>
<sorting_type_id>64d532b4-9503-4a53-add2-78883ef7f187</sorting_type_id>
<type>sample string 17</type>
<selected_nameplate_id>b910d912-124e-44ac-818b-ca3ae493d173</selected_nameplate_id>
<selected_sticker_id>d2d8732b-6d6e-44b7-aac8-c87ecac2441e</selected_sticker_id>
<washing_processes>
<washing_process>
<active>true</active>
<code>sample string 2</code>
<id>5104ef0a-7b89-408f-bb88-4205b9d00131</id>
<site_id>185e3da5-6f0f-4c63-8651-35a2958fbf6e</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>5104ef0a-7b89-408f-bb88-4205b9d00131</id>
<site_id>185e3da5-6f0f-4c63-8651-35a2958fbf6e</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>