POST Api/Item/GetItem
Request Information
URI Parameters
None.
Body Parameters
ItemParameter| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientID | globally unique identifier |
None. |
|
| ItemCategoryID | globally unique identifier |
None. |
|
| ItemClassificationID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClientID": "1175cbd8-5b7f-496c-92db-b7967c3e4460",
"ItemCategoryID": "7136dafb-ef0f-4de9-9753-ef8de606f75b",
"ItemClassificationID": "d9844a0a-783a-42e4-9f6b-9aad0f85ccb2"
}
application/xml, text/xml
Sample:
<ItemParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity.Tasks"> <ClientID>1175cbd8-5b7f-496c-92db-b7967c3e4460</ClientID> <ItemCategoryID>7136dafb-ef0f-4de9-9753-ef8de606f75b</ItemCategoryID> <ItemClassificationID>d9844a0a-783a-42e4-9f6b-9aad0f85ccb2</ItemClassificationID> </ItemParameter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of Item| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientID | globally unique identifier |
None. |
|
| ItemID | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Price | decimal number |
None. |
|
| ItemCategory | ItemCategory |
None. |
|
| ItemClassification | ItemClassification |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ClientID": "dbd5a706-b090-491e-8ff3-dd1d2a51243d",
"ItemID": "642e783f-2baa-4aa3-a75f-a63b4d8396e7",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "6e5080fb-ce57-4f1f-990e-d1d4f03f4303",
"ClientID": "7ba942f5-bc35-4ddf-a029-fb2623412de0",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "eed305ce-ffa3-4ee8-b5cf-5f754e5c25da",
"ClientID": "af37f822-6748-4691-afb5-a8b4befe5281",
"Name": "sample string 3"
}
},
{
"ClientID": "dbd5a706-b090-491e-8ff3-dd1d2a51243d",
"ItemID": "642e783f-2baa-4aa3-a75f-a63b4d8396e7",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "6e5080fb-ce57-4f1f-990e-d1d4f03f4303",
"ClientID": "7ba942f5-bc35-4ddf-a029-fb2623412de0",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "eed305ce-ffa3-4ee8-b5cf-5f754e5c25da",
"ClientID": "af37f822-6748-4691-afb5-a8b4befe5281",
"Name": "sample string 3"
}
}
]
application/xml, text/xml
Sample:
<ArrayOfItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity.Tasks">
<Item>
<ClientID>dbd5a706-b090-491e-8ff3-dd1d2a51243d</ClientID>
<ItemCategory>
<ClientID>7ba942f5-bc35-4ddf-a029-fb2623412de0</ClientID>
<ItemCategoryID>6e5080fb-ce57-4f1f-990e-d1d4f03f4303</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>af37f822-6748-4691-afb5-a8b4befe5281</ClientID>
<ItemClassificationID>eed305ce-ffa3-4ee8-b5cf-5f754e5c25da</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>642e783f-2baa-4aa3-a75f-a63b4d8396e7</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
<Item>
<ClientID>dbd5a706-b090-491e-8ff3-dd1d2a51243d</ClientID>
<ItemCategory>
<ClientID>7ba942f5-bc35-4ddf-a029-fb2623412de0</ClientID>
<ItemCategoryID>6e5080fb-ce57-4f1f-990e-d1d4f03f4303</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>af37f822-6748-4691-afb5-a8b4befe5281</ClientID>
<ItemClassificationID>eed305ce-ffa3-4ee8-b5cf-5f754e5c25da</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>642e783f-2baa-4aa3-a75f-a63b4d8396e7</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
</ArrayOfItem>