GET api/contractItemapi/contractItem/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

ContractItemViewModel
NameDescriptionTypeAdditional 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": "17d1638d-6e12-40e1-881c-269a2de9c9d4",
  "selected_nameplate_id": "1d5442e7-8d93-4d79-9d66-43062965b0b7",
  "active": true,
  "contract_id": "faf29dc3-f667-4d65-b39b-ee0b8ed5ad3f",
  "id": "c2654bc2-c637-48f2-80f7-c988d108aa4c",
  "physical_item_id": "a741a592-3c9b-47ea-9a85-c2c9b17ddf4f",
  "service_item_id": "a5aec6f2-db01-4595-a5d6-10262277315d",
  "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>faf29dc3-f667-4d65-b39b-ee0b8ed5ad3f</contract_id>
  <id>c2654bc2-c637-48f2-80f7-c988d108aa4c</id>
  <item_wash_max>1</item_wash_max>
  <physical_item_id>a741a592-3c9b-47ea-9a85-c2c9b17ddf4f</physical_item_id>
  <quantity>1</quantity>
  <service_item_id>a5aec6f2-db01-4595-a5d6-10262277315d</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>1d5442e7-8d93-4d79-9d66-43062965b0b7</selected_nameplate_id>
  <selected_sticker_id>17d1638d-6e12-40e1-881c-269a2de9c9d4</selected_sticker_id>
</contract_item>