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": "dd8d6508-6a97-4309-b5f0-a44162ef84d8",
"ItemCategoryID": "2787ca94-8479-41c9-b2e4-7ed7d63b7592",
"ItemClassificationID": "e44b7754-fcee-42c8-883e-2d546878cd67"
}
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>dd8d6508-6a97-4309-b5f0-a44162ef84d8</ClientID> <ItemCategoryID>2787ca94-8479-41c9-b2e4-7ed7d63b7592</ItemCategoryID> <ItemClassificationID>e44b7754-fcee-42c8-883e-2d546878cd67</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": "cceda60f-2089-477e-9bf1-f7107e1c5ade",
"ItemID": "2f2697c6-601f-4ff3-a897-d00072ac2e6c",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "19888ddc-0ff4-4110-a399-3d882d977ef4",
"ClientID": "5cfd7779-b0ab-466f-b4ef-b5c48ceeba8a",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "fbef4a97-634d-4e45-8da9-3e7a462660ef",
"ClientID": "dbf98d34-76dc-429a-98a8-8bb63423278b",
"Name": "sample string 3"
}
},
{
"ClientID": "cceda60f-2089-477e-9bf1-f7107e1c5ade",
"ItemID": "2f2697c6-601f-4ff3-a897-d00072ac2e6c",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "19888ddc-0ff4-4110-a399-3d882d977ef4",
"ClientID": "5cfd7779-b0ab-466f-b4ef-b5c48ceeba8a",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "fbef4a97-634d-4e45-8da9-3e7a462660ef",
"ClientID": "dbf98d34-76dc-429a-98a8-8bb63423278b",
"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>cceda60f-2089-477e-9bf1-f7107e1c5ade</ClientID>
<ItemCategory>
<ClientID>5cfd7779-b0ab-466f-b4ef-b5c48ceeba8a</ClientID>
<ItemCategoryID>19888ddc-0ff4-4110-a399-3d882d977ef4</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>dbf98d34-76dc-429a-98a8-8bb63423278b</ClientID>
<ItemClassificationID>fbef4a97-634d-4e45-8da9-3e7a462660ef</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>2f2697c6-601f-4ff3-a897-d00072ac2e6c</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
<Item>
<ClientID>cceda60f-2089-477e-9bf1-f7107e1c5ade</ClientID>
<ItemCategory>
<ClientID>5cfd7779-b0ab-466f-b4ef-b5c48ceeba8a</ClientID>
<ItemCategoryID>19888ddc-0ff4-4110-a399-3d882d977ef4</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>dbf98d34-76dc-429a-98a8-8bb63423278b</ClientID>
<ItemClassificationID>fbef4a97-634d-4e45-8da9-3e7a462660ef</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>2f2697c6-601f-4ff3-a897-d00072ac2e6c</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
</ArrayOfItem>