GET api/itemapi/item/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

ItemViewModel
NameDescriptionTypeAdditional information
descriptions

Dictionary of string [key] and string [value]

None.

active

boolean

None.

code

string

Required

String length: inclusive between 0 and 30

color_id

globally unique identifier

None.

customer_id

globally unique identifier

Required

grouping_quantity

integer

None.

id

globally unique identifier

None.

item_service_id

globally unique identifier

None.

item_garment_type_id

globally unique identifier

None.

item_segment_id

globally unique identifier

None.

item_type_id

globally unique identifier

None.

purchase_price

decimal number

None.

sale_price

decimal number

None.

size_id

globally unique identifier

None.

supplier_code

string

String length: inclusive between 0 and 30

supplier_description

string

String length: inclusive between 0 and 100

unit

string

String length: inclusive between 0 and 10

weight

integer

None.

root_code

string

String length: inclusive between 0 and 30

Response Formats

application/json, text/json

Sample:
{
  "descriptions": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "active": true,
  "code": "sample string 2",
  "color_id": "fbf92297-9708-4cc4-abf8-60b7eddd4722",
  "customer_id": "d37a25ba-beda-464f-9c11-93b6339a731b",
  "grouping_quantity": 1,
  "id": "41d05165-954a-4061-a74c-56673acb2d70",
  "item_service_id": "e3862de3-d9ad-44d8-8b0a-7367d15e0ea5",
  "item_garment_type_id": "ab9c2a94-e20e-455c-9041-5ca713b328d5",
  "item_segment_id": "6bbc3970-84d9-43d6-bf4d-24df42aae766",
  "item_type_id": "67d8710c-a2b2-4fe2-8b52-e004deb61212",
  "purchase_price": 1.0,
  "sale_price": 1.0,
  "size_id": "45e917cc-047c-4659-bc47-619954858365",
  "supplier_code": "sample string 6",
  "supplier_description": "sample string 7",
  "unit": "sample string 8",
  "weight": 1,
  "root_code": "sample string 9"
}

application/xml, text/xml

Sample:
<item xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
  <active>true</active>
  <code>sample string 2</code>
  <color_id>fbf92297-9708-4cc4-abf8-60b7eddd4722</color_id>
  <customer_id>d37a25ba-beda-464f-9c11-93b6339a731b</customer_id>
  <grouping_quantity>1</grouping_quantity>
  <id>41d05165-954a-4061-a74c-56673acb2d70</id>
  <item_garment_type_id>ab9c2a94-e20e-455c-9041-5ca713b328d5</item_garment_type_id>
  <item_segment_id>6bbc3970-84d9-43d6-bf4d-24df42aae766</item_segment_id>
  <item_service_id>e3862de3-d9ad-44d8-8b0a-7367d15e0ea5</item_service_id>
  <item_type_id>67d8710c-a2b2-4fe2-8b52-e004deb61212</item_type_id>
  <purchase_price>1</purchase_price>
  <root_code>sample string 9</root_code>
  <sale_price>1</sale_price>
  <size_id>45e917cc-047c-4659-bc47-619954858365</size_id>
  <supplier_code>sample string 6</supplier_code>
  <supplier_description>sample string 7</supplier_description>
  <unit>sample string 8</unit>
  <weight>1</weight>
  <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>
  </descriptions>
</item>