GET api/contractItemapi/contractItem/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
ContractItemViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| item_descriptions | Dictionary of string [key] and string [value] |
None. |
|
| item_code | string |
None. |
|
| selected_sticker_id | globally unique identifier |
None. |
|
| selected_nameplate_id | globally unique identifier |
None. |
|
| active | boolean |
Required |
|
| contract_id | globally unique identifier |
Required |
|
| id | globally unique identifier |
None. |
|
| physical_item_id | globally unique identifier |
None. |
|
| service_item_id | globally unique identifier |
None. |
|
| item_wash_max | integer |
None. |
|
| quantity | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"item_descriptions": {
"sample string 1": "sample string 2",
"sample string 3": "sample string 4"
},
"item_code": "sample string 1",
"selected_sticker_id": "5696c36f-ccf5-4903-8c5f-81740777e50d",
"selected_nameplate_id": "b25dd5a5-c790-497e-adc0-3baf1b2109de",
"active": true,
"contract_id": "ec64d541-cdd2-4a36-a74a-631205e509a1",
"id": "05dcc7eb-3a45-441d-9c9d-8a4ef44220d7",
"physical_item_id": "5014f0e1-e4fe-4760-b91d-0d093d9575d4",
"service_item_id": "4571c8a5-64f0-44f9-96f5-48b98e766662",
"item_wash_max": 1,
"quantity": 1
}
application/xml, text/xml
Sample:
<contract_item xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
<active>true</active>
<contract_id>ec64d541-cdd2-4a36-a74a-631205e509a1</contract_id>
<id>05dcc7eb-3a45-441d-9c9d-8a4ef44220d7</id>
<item_wash_max>1</item_wash_max>
<physical_item_id>5014f0e1-e4fe-4760-b91d-0d093d9575d4</physical_item_id>
<quantity>1</quantity>
<service_item_id>4571c8a5-64f0-44f9-96f5-48b98e766662</service_item_id>
<item_code>sample string 1</item_code>
<item_descriptions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 1</d2p1:Key>
<d2p1:Value>sample string 2</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key>sample string 3</d2p1:Key>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</item_descriptions>
<selected_nameplate_id>b25dd5a5-c790-497e-adc0-3baf1b2109de</selected_nameplate_id>
<selected_sticker_id>5696c36f-ccf5-4903-8c5f-81740777e50d</selected_sticker_id>
</contract_item>