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": "0447ddce-228a-4c65-8aa5-3137d1602e8c",
"selected_sticker_id": "80f619ee-edc2-4c18-affe-919048a16f3a",
"washing_processes": [
{
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"active": true,
"code": "sample string 2",
"id": "dc15e0e2-1318-455a-b20e-ac3eb700a628",
"site_id": "4c8029e0-317b-4e34-b567-5f8eec81a531"
},
{
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"active": true,
"code": "sample string 2",
"id": "dc15e0e2-1318-455a-b20e-ac3eb700a628",
"site_id": "4c8029e0-317b-4e34-b567-5f8eec81a531"
}
],
"active": true,
"certificate_type_id": "3a920e87-d8a9-4a08-8749-31148798bc5d",
"code": 1,
"delay_between_scans": 1,
"id": "e5ccaac6-710e-4930-b91d-4a2ae9bafd23",
"internal_reference": "sample string 4",
"item_wash_max": 1,
"language_code": "sample string 5",
"name": "sample string 6",
"packaging_type_id": "34490794-c1f3-4f57-a9d8-8fc40301f395",
"packing_type_id": "be244293-7b3c-4b94-bb2a-d751a25dc1b3",
"particles_control": true,
"peremption_month": 1,
"peremption_print_cleanroom": true,
"peremption_print_date": true,
"peremption_print_expedition": true,
"permanent_management": true,
"pool_id": "d51f4ca9-f2cc-4ae6-aad0-4544c928be7f",
"remark": "sample string 14",
"site_customer_id": "1543dc8f-99e0-4a28-a39d-14bfc0dec11d",
"sorting_type_id": "c76b8121-9fc3-4697-856c-189de858bc66",
"type": "sample string 17"
},
{
"selected_nameplate_id": "0447ddce-228a-4c65-8aa5-3137d1602e8c",
"selected_sticker_id": "80f619ee-edc2-4c18-affe-919048a16f3a",
"washing_processes": [
{
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"active": true,
"code": "sample string 2",
"id": "dc15e0e2-1318-455a-b20e-ac3eb700a628",
"site_id": "4c8029e0-317b-4e34-b567-5f8eec81a531"
},
{
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"active": true,
"code": "sample string 2",
"id": "dc15e0e2-1318-455a-b20e-ac3eb700a628",
"site_id": "4c8029e0-317b-4e34-b567-5f8eec81a531"
}
],
"active": true,
"certificate_type_id": "3a920e87-d8a9-4a08-8749-31148798bc5d",
"code": 1,
"delay_between_scans": 1,
"id": "e5ccaac6-710e-4930-b91d-4a2ae9bafd23",
"internal_reference": "sample string 4",
"item_wash_max": 1,
"language_code": "sample string 5",
"name": "sample string 6",
"packaging_type_id": "34490794-c1f3-4f57-a9d8-8fc40301f395",
"packing_type_id": "be244293-7b3c-4b94-bb2a-d751a25dc1b3",
"particles_control": true,
"peremption_month": 1,
"peremption_print_cleanroom": true,
"peremption_print_date": true,
"peremption_print_expedition": true,
"permanent_management": true,
"pool_id": "d51f4ca9-f2cc-4ae6-aad0-4544c928be7f",
"remark": "sample string 14",
"site_customer_id": "1543dc8f-99e0-4a28-a39d-14bfc0dec11d",
"sorting_type_id": "c76b8121-9fc3-4697-856c-189de858bc66",
"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>3a920e87-d8a9-4a08-8749-31148798bc5d</certificate_type_id>
<code>1</code>
<delay_between_scans>1</delay_between_scans>
<id>e5ccaac6-710e-4930-b91d-4a2ae9bafd23</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>34490794-c1f3-4f57-a9d8-8fc40301f395</packaging_type_id>
<packing_type_id>be244293-7b3c-4b94-bb2a-d751a25dc1b3</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>d51f4ca9-f2cc-4ae6-aad0-4544c928be7f</pool_id>
<remark>sample string 14</remark>
<site_customer_id>1543dc8f-99e0-4a28-a39d-14bfc0dec11d</site_customer_id>
<sorting_type_id>c76b8121-9fc3-4697-856c-189de858bc66</sorting_type_id>
<type>sample string 17</type>
<selected_nameplate_id>0447ddce-228a-4c65-8aa5-3137d1602e8c</selected_nameplate_id>
<selected_sticker_id>80f619ee-edc2-4c18-affe-919048a16f3a</selected_sticker_id>
<washing_processes>
<washing_process>
<active>true</active>
<code>sample string 2</code>
<id>dc15e0e2-1318-455a-b20e-ac3eb700a628</id>
<site_id>4c8029e0-317b-4e34-b567-5f8eec81a531</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>dc15e0e2-1318-455a-b20e-ac3eb700a628</id>
<site_id>4c8029e0-317b-4e34-b567-5f8eec81a531</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>3a920e87-d8a9-4a08-8749-31148798bc5d</certificate_type_id>
<code>1</code>
<delay_between_scans>1</delay_between_scans>
<id>e5ccaac6-710e-4930-b91d-4a2ae9bafd23</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>34490794-c1f3-4f57-a9d8-8fc40301f395</packaging_type_id>
<packing_type_id>be244293-7b3c-4b94-bb2a-d751a25dc1b3</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>d51f4ca9-f2cc-4ae6-aad0-4544c928be7f</pool_id>
<remark>sample string 14</remark>
<site_customer_id>1543dc8f-99e0-4a28-a39d-14bfc0dec11d</site_customer_id>
<sorting_type_id>c76b8121-9fc3-4697-856c-189de858bc66</sorting_type_id>
<type>sample string 17</type>
<selected_nameplate_id>0447ddce-228a-4c65-8aa5-3137d1602e8c</selected_nameplate_id>
<selected_sticker_id>80f619ee-edc2-4c18-affe-919048a16f3a</selected_sticker_id>
<washing_processes>
<washing_process>
<active>true</active>
<code>sample string 2</code>
<id>dc15e0e2-1318-455a-b20e-ac3eb700a628</id>
<site_id>4c8029e0-317b-4e34-b567-5f8eec81a531</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>dc15e0e2-1318-455a-b20e-ac3eb700a628</id>
<site_id>4c8029e0-317b-4e34-b567-5f8eec81a531</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>