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": "c91e5537-6587-45f1-92ee-8620fe9acca7",
"ItemCategoryID": "a651659e-2a73-4e7e-ab62-515b78594fc9",
"ItemClassificationID": "39af1bcc-e27b-4cc7-8efa-d21fadc8be3a"
}
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>c91e5537-6587-45f1-92ee-8620fe9acca7</ClientID> <ItemCategoryID>a651659e-2a73-4e7e-ab62-515b78594fc9</ItemCategoryID> <ItemClassificationID>39af1bcc-e27b-4cc7-8efa-d21fadc8be3a</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": "68145608-bf05-4ae7-a2ea-318e5cdd8dd9",
"ItemID": "087524fc-3d64-43ab-95d9-f1c9e9316b63",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "de84dbe6-0ee9-4264-9758-66cca0b6c95f",
"ClientID": "bcb4c51f-7de4-415c-a917-92bb30658451",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "2a18af32-83fc-4454-8aeb-2acc886d6c0a",
"ClientID": "a010fc32-a62c-4bd4-b79a-071a52624931",
"Name": "sample string 3"
}
},
{
"ClientID": "68145608-bf05-4ae7-a2ea-318e5cdd8dd9",
"ItemID": "087524fc-3d64-43ab-95d9-f1c9e9316b63",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "de84dbe6-0ee9-4264-9758-66cca0b6c95f",
"ClientID": "bcb4c51f-7de4-415c-a917-92bb30658451",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "2a18af32-83fc-4454-8aeb-2acc886d6c0a",
"ClientID": "a010fc32-a62c-4bd4-b79a-071a52624931",
"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>68145608-bf05-4ae7-a2ea-318e5cdd8dd9</ClientID>
<ItemCategory>
<ClientID>bcb4c51f-7de4-415c-a917-92bb30658451</ClientID>
<ItemCategoryID>de84dbe6-0ee9-4264-9758-66cca0b6c95f</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>a010fc32-a62c-4bd4-b79a-071a52624931</ClientID>
<ItemClassificationID>2a18af32-83fc-4454-8aeb-2acc886d6c0a</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>087524fc-3d64-43ab-95d9-f1c9e9316b63</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
<Item>
<ClientID>68145608-bf05-4ae7-a2ea-318e5cdd8dd9</ClientID>
<ItemCategory>
<ClientID>bcb4c51f-7de4-415c-a917-92bb30658451</ClientID>
<ItemCategoryID>de84dbe6-0ee9-4264-9758-66cca0b6c95f</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>a010fc32-a62c-4bd4-b79a-071a52624931</ClientID>
<ItemClassificationID>2a18af32-83fc-4454-8aeb-2acc886d6c0a</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>087524fc-3d64-43ab-95d9-f1c9e9316b63</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
</ArrayOfItem>