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": "698b7e28-266d-4a17-9cf6-eb50ec42e6be",
"ItemCategoryID": "c6e69fc5-26b5-4d72-b5cd-95510295feed",
"ItemClassificationID": "40996c02-196e-45d4-984a-47a139ef0bcf"
}
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>698b7e28-266d-4a17-9cf6-eb50ec42e6be</ClientID> <ItemCategoryID>c6e69fc5-26b5-4d72-b5cd-95510295feed</ItemCategoryID> <ItemClassificationID>40996c02-196e-45d4-984a-47a139ef0bcf</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": "9f74ad5a-720d-4f64-8c3f-e9bdd9765f84",
"ItemID": "6ac0297c-f3d7-400f-9f13-1c313cb2173b",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "41268879-bcb9-48b2-927b-a361455f2503",
"ClientID": "36c4b5bc-2850-4fcc-bc1e-6153c15ea783",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "df772dfa-be27-407e-8715-b4f325582be1",
"ClientID": "f2f20d2b-80e0-42b0-8c5c-1133f60eb583",
"Name": "sample string 3"
}
},
{
"ClientID": "9f74ad5a-720d-4f64-8c3f-e9bdd9765f84",
"ItemID": "6ac0297c-f3d7-400f-9f13-1c313cb2173b",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "41268879-bcb9-48b2-927b-a361455f2503",
"ClientID": "36c4b5bc-2850-4fcc-bc1e-6153c15ea783",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "df772dfa-be27-407e-8715-b4f325582be1",
"ClientID": "f2f20d2b-80e0-42b0-8c5c-1133f60eb583",
"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>9f74ad5a-720d-4f64-8c3f-e9bdd9765f84</ClientID>
<ItemCategory>
<ClientID>36c4b5bc-2850-4fcc-bc1e-6153c15ea783</ClientID>
<ItemCategoryID>41268879-bcb9-48b2-927b-a361455f2503</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>f2f20d2b-80e0-42b0-8c5c-1133f60eb583</ClientID>
<ItemClassificationID>df772dfa-be27-407e-8715-b4f325582be1</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>6ac0297c-f3d7-400f-9f13-1c313cb2173b</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
<Item>
<ClientID>9f74ad5a-720d-4f64-8c3f-e9bdd9765f84</ClientID>
<ItemCategory>
<ClientID>36c4b5bc-2850-4fcc-bc1e-6153c15ea783</ClientID>
<ItemCategoryID>41268879-bcb9-48b2-927b-a361455f2503</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>f2f20d2b-80e0-42b0-8c5c-1133f60eb583</ClientID>
<ItemClassificationID>df772dfa-be27-407e-8715-b4f325582be1</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>6ac0297c-f3d7-400f-9f13-1c313cb2173b</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
</ArrayOfItem>