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": "43a82dea-1121-4d46-928a-6b44dd50c6f9",
"ItemCategoryID": "6aed0c9a-1ad1-4911-9de6-b44aad6312f7",
"ItemClassificationID": "05e36daa-caa5-4481-a182-4378e0606a37"
}
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>43a82dea-1121-4d46-928a-6b44dd50c6f9</ClientID> <ItemCategoryID>6aed0c9a-1ad1-4911-9de6-b44aad6312f7</ItemCategoryID> <ItemClassificationID>05e36daa-caa5-4481-a182-4378e0606a37</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": "98bca133-eb99-4fd0-a972-1eed3e06cef2",
"ItemID": "c1a2d34a-9e08-4697-8c5c-62830e48c474",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "1e17073d-ca7b-4114-a517-1915083f9a0b",
"ClientID": "c39e34c0-fbe8-4503-9f2a-c01448c83973",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "8161e16d-88b4-49eb-b0bb-d591ebeba113",
"ClientID": "03be33dc-de01-4679-9768-3ec0452c2f76",
"Name": "sample string 3"
}
},
{
"ClientID": "98bca133-eb99-4fd0-a972-1eed3e06cef2",
"ItemID": "c1a2d34a-9e08-4697-8c5c-62830e48c474",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "1e17073d-ca7b-4114-a517-1915083f9a0b",
"ClientID": "c39e34c0-fbe8-4503-9f2a-c01448c83973",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "8161e16d-88b4-49eb-b0bb-d591ebeba113",
"ClientID": "03be33dc-de01-4679-9768-3ec0452c2f76",
"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>98bca133-eb99-4fd0-a972-1eed3e06cef2</ClientID>
<ItemCategory>
<ClientID>c39e34c0-fbe8-4503-9f2a-c01448c83973</ClientID>
<ItemCategoryID>1e17073d-ca7b-4114-a517-1915083f9a0b</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>03be33dc-de01-4679-9768-3ec0452c2f76</ClientID>
<ItemClassificationID>8161e16d-88b4-49eb-b0bb-d591ebeba113</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>c1a2d34a-9e08-4697-8c5c-62830e48c474</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
<Item>
<ClientID>98bca133-eb99-4fd0-a972-1eed3e06cef2</ClientID>
<ItemCategory>
<ClientID>c39e34c0-fbe8-4503-9f2a-c01448c83973</ClientID>
<ItemCategoryID>1e17073d-ca7b-4114-a517-1915083f9a0b</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>03be33dc-de01-4679-9768-3ec0452c2f76</ClientID>
<ItemClassificationID>8161e16d-88b4-49eb-b0bb-d591ebeba113</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>c1a2d34a-9e08-4697-8c5c-62830e48c474</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
</ArrayOfItem>