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": "b4c831f5-3670-4b4b-a3f0-a528fd2035d8",
"ItemCategoryID": "8d745e9c-60cf-42f9-a2ed-98de7fb46eea",
"ItemClassificationID": "e9302bf2-f7b1-4fb7-ab1b-cc27d84fc279"
}
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>b4c831f5-3670-4b4b-a3f0-a528fd2035d8</ClientID> <ItemCategoryID>8d745e9c-60cf-42f9-a2ed-98de7fb46eea</ItemCategoryID> <ItemClassificationID>e9302bf2-f7b1-4fb7-ab1b-cc27d84fc279</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": "f7cd58dd-450c-4a60-8644-bf8cceebc6dd",
"ItemID": "59d12f09-a5f7-4d6e-beda-2bd2fb28cce8",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "30de6ec8-8617-49ca-ab0b-d011f21b5558",
"ClientID": "07b9b33f-6fb1-4356-8616-783c3c643f08",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "127bbd47-4fc8-4c48-a888-4cbed437fbe9",
"ClientID": "ad45055d-e664-4823-ac3a-84da20c856f0",
"Name": "sample string 3"
}
},
{
"ClientID": "f7cd58dd-450c-4a60-8644-bf8cceebc6dd",
"ItemID": "59d12f09-a5f7-4d6e-beda-2bd2fb28cce8",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "30de6ec8-8617-49ca-ab0b-d011f21b5558",
"ClientID": "07b9b33f-6fb1-4356-8616-783c3c643f08",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "127bbd47-4fc8-4c48-a888-4cbed437fbe9",
"ClientID": "ad45055d-e664-4823-ac3a-84da20c856f0",
"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>f7cd58dd-450c-4a60-8644-bf8cceebc6dd</ClientID>
<ItemCategory>
<ClientID>07b9b33f-6fb1-4356-8616-783c3c643f08</ClientID>
<ItemCategoryID>30de6ec8-8617-49ca-ab0b-d011f21b5558</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>ad45055d-e664-4823-ac3a-84da20c856f0</ClientID>
<ItemClassificationID>127bbd47-4fc8-4c48-a888-4cbed437fbe9</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>59d12f09-a5f7-4d6e-beda-2bd2fb28cce8</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
<Item>
<ClientID>f7cd58dd-450c-4a60-8644-bf8cceebc6dd</ClientID>
<ItemCategory>
<ClientID>07b9b33f-6fb1-4356-8616-783c3c643f08</ClientID>
<ItemCategoryID>30de6ec8-8617-49ca-ab0b-d011f21b5558</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>ad45055d-e664-4823-ac3a-84da20c856f0</ClientID>
<ItemClassificationID>127bbd47-4fc8-4c48-a888-4cbed437fbe9</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>59d12f09-a5f7-4d6e-beda-2bd2fb28cce8</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
</ArrayOfItem>