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": "2a41dffc-2d32-4f9d-8a59-55fbf34bee64",
"selected_nameplate_id": "4cbf620e-d1bf-4754-9c0b-f603687449b9",
"active": true,
"contract_id": "28aff167-206c-4b7b-a5a6-59fb8d6da565",
"id": "4bcc3268-8868-41f6-8240-333e628e6f4e",
"physical_item_id": "37fc448f-a057-41d7-9413-f787cbb74ad3",
"service_item_id": "38f6b546-78cb-4301-882b-f60d8acab5c9",
"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>28aff167-206c-4b7b-a5a6-59fb8d6da565</contract_id>
<id>4bcc3268-8868-41f6-8240-333e628e6f4e</id>
<item_wash_max>1</item_wash_max>
<physical_item_id>37fc448f-a057-41d7-9413-f787cbb74ad3</physical_item_id>
<quantity>1</quantity>
<service_item_id>38f6b546-78cb-4301-882b-f60d8acab5c9</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>4cbf620e-d1bf-4754-9c0b-f603687449b9</selected_nameplate_id>
<selected_sticker_id>2a41dffc-2d32-4f9d-8a59-55fbf34bee64</selected_sticker_id>
</contract_item>