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": "d96ff2e2-8928-4e43-8550-932eb56e3b24",
"ItemCategoryID": "7f82e57f-3ea2-4bd3-af78-97a80e616591",
"ItemClassificationID": "e91e1917-d4dd-4c1f-b456-7f880f422e52"
}
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>d96ff2e2-8928-4e43-8550-932eb56e3b24</ClientID> <ItemCategoryID>7f82e57f-3ea2-4bd3-af78-97a80e616591</ItemCategoryID> <ItemClassificationID>e91e1917-d4dd-4c1f-b456-7f880f422e52</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": "fd4cf510-6eed-456d-b1d3-2d89e6f18714",
"ItemID": "1ca288ea-1bf9-415d-a617-f1f28e8626e1",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "f77eca61-64a5-4ab5-bb50-2bde06bc2c7e",
"ClientID": "2c7f630c-1f33-4899-8af4-fa9abceb30f4",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "4cec66bc-ded1-45af-9544-c7a3b1091478",
"ClientID": "05c29426-cded-48c4-85fb-abea22b9d162",
"Name": "sample string 3"
}
},
{
"ClientID": "fd4cf510-6eed-456d-b1d3-2d89e6f18714",
"ItemID": "1ca288ea-1bf9-415d-a617-f1f28e8626e1",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "f77eca61-64a5-4ab5-bb50-2bde06bc2c7e",
"ClientID": "2c7f630c-1f33-4899-8af4-fa9abceb30f4",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "4cec66bc-ded1-45af-9544-c7a3b1091478",
"ClientID": "05c29426-cded-48c4-85fb-abea22b9d162",
"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>fd4cf510-6eed-456d-b1d3-2d89e6f18714</ClientID>
<ItemCategory>
<ClientID>2c7f630c-1f33-4899-8af4-fa9abceb30f4</ClientID>
<ItemCategoryID>f77eca61-64a5-4ab5-bb50-2bde06bc2c7e</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>05c29426-cded-48c4-85fb-abea22b9d162</ClientID>
<ItemClassificationID>4cec66bc-ded1-45af-9544-c7a3b1091478</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>1ca288ea-1bf9-415d-a617-f1f28e8626e1</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
<Item>
<ClientID>fd4cf510-6eed-456d-b1d3-2d89e6f18714</ClientID>
<ItemCategory>
<ClientID>2c7f630c-1f33-4899-8af4-fa9abceb30f4</ClientID>
<ItemCategoryID>f77eca61-64a5-4ab5-bb50-2bde06bc2c7e</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>05c29426-cded-48c4-85fb-abea22b9d162</ClientID>
<ItemClassificationID>4cec66bc-ded1-45af-9544-c7a3b1091478</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>1ca288ea-1bf9-415d-a617-f1f28e8626e1</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
</ArrayOfItem>