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": "7d0bd41f-e7da-4b30-9b5d-0dc3ef59cbe7",
"ItemCategoryID": "ba204092-81db-46e9-a1bd-0eaffe2a068a",
"ItemClassificationID": "fa0d6ac6-6b49-4e57-be4e-887a89e59e41"
}
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>7d0bd41f-e7da-4b30-9b5d-0dc3ef59cbe7</ClientID> <ItemCategoryID>ba204092-81db-46e9-a1bd-0eaffe2a068a</ItemCategoryID> <ItemClassificationID>fa0d6ac6-6b49-4e57-be4e-887a89e59e41</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": "0f819bc7-d80b-4a0f-9256-027325a14a4d",
"ItemID": "19594847-9b8a-4a19-be27-8200f5acbb89",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "bba06c5b-d033-4283-b9f3-38564fcd71d6",
"ClientID": "5a4cf7f6-4c6e-45dd-a3c2-d73f8db55790",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "0c1258cc-f535-4450-9dd1-a974285a6214",
"ClientID": "cb24fafb-e332-4a17-8101-65d91a13e0be",
"Name": "sample string 3"
}
},
{
"ClientID": "0f819bc7-d80b-4a0f-9256-027325a14a4d",
"ItemID": "19594847-9b8a-4a19-be27-8200f5acbb89",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "bba06c5b-d033-4283-b9f3-38564fcd71d6",
"ClientID": "5a4cf7f6-4c6e-45dd-a3c2-d73f8db55790",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "0c1258cc-f535-4450-9dd1-a974285a6214",
"ClientID": "cb24fafb-e332-4a17-8101-65d91a13e0be",
"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>0f819bc7-d80b-4a0f-9256-027325a14a4d</ClientID>
<ItemCategory>
<ClientID>5a4cf7f6-4c6e-45dd-a3c2-d73f8db55790</ClientID>
<ItemCategoryID>bba06c5b-d033-4283-b9f3-38564fcd71d6</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>cb24fafb-e332-4a17-8101-65d91a13e0be</ClientID>
<ItemClassificationID>0c1258cc-f535-4450-9dd1-a974285a6214</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>19594847-9b8a-4a19-be27-8200f5acbb89</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
<Item>
<ClientID>0f819bc7-d80b-4a0f-9256-027325a14a4d</ClientID>
<ItemCategory>
<ClientID>5a4cf7f6-4c6e-45dd-a3c2-d73f8db55790</ClientID>
<ItemCategoryID>bba06c5b-d033-4283-b9f3-38564fcd71d6</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>cb24fafb-e332-4a17-8101-65d91a13e0be</ClientID>
<ItemClassificationID>0c1258cc-f535-4450-9dd1-a974285a6214</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>19594847-9b8a-4a19-be27-8200f5acbb89</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
</ArrayOfItem>