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": "e3d33104-9878-4748-af98-b3b9f9aff58c",
"selected_sticker_id": "20e6de1b-4384-48c0-a4ea-5e1aa146c8f1",
"washing_processes": [
{
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"active": true,
"code": "sample string 2",
"id": "f118f0e6-64eb-4c42-a5d4-fd28e455e63d",
"site_id": "464ce208-43bf-4db4-acdf-3f6fa7111637"
},
{
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"active": true,
"code": "sample string 2",
"id": "f118f0e6-64eb-4c42-a5d4-fd28e455e63d",
"site_id": "464ce208-43bf-4db4-acdf-3f6fa7111637"
}
],
"active": true,
"certificate_type_id": "36f09d08-7df4-4605-9ffd-9d20230ab8fd",
"code": 1,
"delay_between_scans": 1,
"id": "1b6d99d8-3d76-4cb4-a72b-2d6680296b01",
"internal_reference": "sample string 4",
"item_wash_max": 1,
"language_code": "sample string 5",
"name": "sample string 6",
"packaging_type_id": "ae0de7b5-af9b-484c-8594-515eb60d0b7e",
"packing_type_id": "f5e3705b-fb50-4f12-a264-beb3bd27d56b",
"particles_control": true,
"peremption_month": 1,
"peremption_print_cleanroom": true,
"peremption_print_date": true,
"peremption_print_expedition": true,
"permanent_management": true,
"pool_id": "d0968d49-69fa-45d2-a4a8-d62ad2038815",
"remark": "sample string 14",
"site_customer_id": "62514778-8d3e-423b-98d3-bfed0b7908c1",
"sorting_type_id": "a2aaa76c-0610-4069-b142-dd01ec7e7e7a",
"type": "sample string 17"
},
{
"selected_nameplate_id": "e3d33104-9878-4748-af98-b3b9f9aff58c",
"selected_sticker_id": "20e6de1b-4384-48c0-a4ea-5e1aa146c8f1",
"washing_processes": [
{
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"active": true,
"code": "sample string 2",
"id": "f118f0e6-64eb-4c42-a5d4-fd28e455e63d",
"site_id": "464ce208-43bf-4db4-acdf-3f6fa7111637"
},
{
"descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"active": true,
"code": "sample string 2",
"id": "f118f0e6-64eb-4c42-a5d4-fd28e455e63d",
"site_id": "464ce208-43bf-4db4-acdf-3f6fa7111637"
}
],
"active": true,
"certificate_type_id": "36f09d08-7df4-4605-9ffd-9d20230ab8fd",
"code": 1,
"delay_between_scans": 1,
"id": "1b6d99d8-3d76-4cb4-a72b-2d6680296b01",
"internal_reference": "sample string 4",
"item_wash_max": 1,
"language_code": "sample string 5",
"name": "sample string 6",
"packaging_type_id": "ae0de7b5-af9b-484c-8594-515eb60d0b7e",
"packing_type_id": "f5e3705b-fb50-4f12-a264-beb3bd27d56b",
"particles_control": true,
"peremption_month": 1,
"peremption_print_cleanroom": true,
"peremption_print_date": true,
"peremption_print_expedition": true,
"permanent_management": true,
"pool_id": "d0968d49-69fa-45d2-a4a8-d62ad2038815",
"remark": "sample string 14",
"site_customer_id": "62514778-8d3e-423b-98d3-bfed0b7908c1",
"sorting_type_id": "a2aaa76c-0610-4069-b142-dd01ec7e7e7a",
"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>36f09d08-7df4-4605-9ffd-9d20230ab8fd</certificate_type_id>
<code>1</code>
<delay_between_scans>1</delay_between_scans>
<id>1b6d99d8-3d76-4cb4-a72b-2d6680296b01</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>ae0de7b5-af9b-484c-8594-515eb60d0b7e</packaging_type_id>
<packing_type_id>f5e3705b-fb50-4f12-a264-beb3bd27d56b</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>d0968d49-69fa-45d2-a4a8-d62ad2038815</pool_id>
<remark>sample string 14</remark>
<site_customer_id>62514778-8d3e-423b-98d3-bfed0b7908c1</site_customer_id>
<sorting_type_id>a2aaa76c-0610-4069-b142-dd01ec7e7e7a</sorting_type_id>
<type>sample string 17</type>
<selected_nameplate_id>e3d33104-9878-4748-af98-b3b9f9aff58c</selected_nameplate_id>
<selected_sticker_id>20e6de1b-4384-48c0-a4ea-5e1aa146c8f1</selected_sticker_id>
<washing_processes>
<washing_process>
<active>true</active>
<code>sample string 2</code>
<id>f118f0e6-64eb-4c42-a5d4-fd28e455e63d</id>
<site_id>464ce208-43bf-4db4-acdf-3f6fa7111637</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>f118f0e6-64eb-4c42-a5d4-fd28e455e63d</id>
<site_id>464ce208-43bf-4db4-acdf-3f6fa7111637</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>36f09d08-7df4-4605-9ffd-9d20230ab8fd</certificate_type_id>
<code>1</code>
<delay_between_scans>1</delay_between_scans>
<id>1b6d99d8-3d76-4cb4-a72b-2d6680296b01</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>ae0de7b5-af9b-484c-8594-515eb60d0b7e</packaging_type_id>
<packing_type_id>f5e3705b-fb50-4f12-a264-beb3bd27d56b</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>d0968d49-69fa-45d2-a4a8-d62ad2038815</pool_id>
<remark>sample string 14</remark>
<site_customer_id>62514778-8d3e-423b-98d3-bfed0b7908c1</site_customer_id>
<sorting_type_id>a2aaa76c-0610-4069-b142-dd01ec7e7e7a</sorting_type_id>
<type>sample string 17</type>
<selected_nameplate_id>e3d33104-9878-4748-af98-b3b9f9aff58c</selected_nameplate_id>
<selected_sticker_id>20e6de1b-4384-48c0-a4ea-5e1aa146c8f1</selected_sticker_id>
<washing_processes>
<washing_process>
<active>true</active>
<code>sample string 2</code>
<id>f118f0e6-64eb-4c42-a5d4-fd28e455e63d</id>
<site_id>464ce208-43bf-4db4-acdf-3f6fa7111637</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>f118f0e6-64eb-4c42-a5d4-fd28e455e63d</id>
<site_id>464ce208-43bf-4db4-acdf-3f6fa7111637</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>