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": "eea96117-bf9b-4455-8bb7-a656e114a4ca",
"ItemCategoryID": "9fad51a3-b070-4e47-94c7-9fdf297389d6",
"ItemClassificationID": "3bc2ca16-de29-4b29-901a-e125daa3a3d4"
}
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>eea96117-bf9b-4455-8bb7-a656e114a4ca</ClientID> <ItemCategoryID>9fad51a3-b070-4e47-94c7-9fdf297389d6</ItemCategoryID> <ItemClassificationID>3bc2ca16-de29-4b29-901a-e125daa3a3d4</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": "aa1757fb-928a-4f56-8f12-b14f5fc7e0de",
"ItemID": "492f4b41-980c-47f8-bd44-518f84187656",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "934be7eb-f6c0-4f0f-aa07-8d132c667d1e",
"ClientID": "2f7bc0ea-37bf-4f8c-b9d8-77e3d5678275",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "258d379c-251f-40fa-8364-d42222218c5d",
"ClientID": "e1ecbc4f-0fd7-408f-8d71-3416557afeba",
"Name": "sample string 3"
}
},
{
"ClientID": "aa1757fb-928a-4f56-8f12-b14f5fc7e0de",
"ItemID": "492f4b41-980c-47f8-bd44-518f84187656",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "934be7eb-f6c0-4f0f-aa07-8d132c667d1e",
"ClientID": "2f7bc0ea-37bf-4f8c-b9d8-77e3d5678275",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "258d379c-251f-40fa-8364-d42222218c5d",
"ClientID": "e1ecbc4f-0fd7-408f-8d71-3416557afeba",
"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>aa1757fb-928a-4f56-8f12-b14f5fc7e0de</ClientID>
<ItemCategory>
<ClientID>2f7bc0ea-37bf-4f8c-b9d8-77e3d5678275</ClientID>
<ItemCategoryID>934be7eb-f6c0-4f0f-aa07-8d132c667d1e</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>e1ecbc4f-0fd7-408f-8d71-3416557afeba</ClientID>
<ItemClassificationID>258d379c-251f-40fa-8364-d42222218c5d</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>492f4b41-980c-47f8-bd44-518f84187656</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
<Item>
<ClientID>aa1757fb-928a-4f56-8f12-b14f5fc7e0de</ClientID>
<ItemCategory>
<ClientID>2f7bc0ea-37bf-4f8c-b9d8-77e3d5678275</ClientID>
<ItemCategoryID>934be7eb-f6c0-4f0f-aa07-8d132c667d1e</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>e1ecbc4f-0fd7-408f-8d71-3416557afeba</ClientID>
<ItemClassificationID>258d379c-251f-40fa-8364-d42222218c5d</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>492f4b41-980c-47f8-bd44-518f84187656</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
</ArrayOfItem>