POST Api/Item/GetItem
Request Information
URI Parameters
None.
Body Parameters
ItemParameterName | 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": "2818c7a0-7dcb-4458-9d7b-3c782e987562", "ItemCategoryID": "1d83b46d-d514-4b86-ba03-2f52072370f1", "ItemClassificationID": "7cbfd0fb-8f32-47f8-9be0-7b5b4154ea1d" }
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>2818c7a0-7dcb-4458-9d7b-3c782e987562</ClientID> <ItemCategoryID>1d83b46d-d514-4b86-ba03-2f52072370f1</ItemCategoryID> <ItemClassificationID>7cbfd0fb-8f32-47f8-9be0-7b5b4154ea1d</ItemClassificationID> </ItemParameter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ItemName | 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": "227aee15-4eb6-4f6b-a66b-6058843e9dbb", "ItemID": "ad29ecf5-0861-42d2-8968-7ee66634b61b", "Name": "sample string 3", "Price": 4.1, "ItemCategory": { "ItemCategoryID": "1591dc3c-f066-4fa4-bb99-df92ad663d86", "ClientID": "1a301277-708a-4a85-9bf4-b1e6bf37a7eb", "Name": "sample string 3" }, "ItemClassification": { "ItemClassificationID": "c79e44e1-61f8-4afa-9f29-e94c54fa566c", "ClientID": "67c1232b-deb6-42b8-a308-9784407cad79", "Name": "sample string 3" } }, { "ClientID": "227aee15-4eb6-4f6b-a66b-6058843e9dbb", "ItemID": "ad29ecf5-0861-42d2-8968-7ee66634b61b", "Name": "sample string 3", "Price": 4.1, "ItemCategory": { "ItemCategoryID": "1591dc3c-f066-4fa4-bb99-df92ad663d86", "ClientID": "1a301277-708a-4a85-9bf4-b1e6bf37a7eb", "Name": "sample string 3" }, "ItemClassification": { "ItemClassificationID": "c79e44e1-61f8-4afa-9f29-e94c54fa566c", "ClientID": "67c1232b-deb6-42b8-a308-9784407cad79", "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>227aee15-4eb6-4f6b-a66b-6058843e9dbb</ClientID> <ItemCategory> <ClientID>1a301277-708a-4a85-9bf4-b1e6bf37a7eb</ClientID> <ItemCategoryID>1591dc3c-f066-4fa4-bb99-df92ad663d86</ItemCategoryID> <Name>sample string 3</Name> </ItemCategory> <ItemClassification> <ClientID>67c1232b-deb6-42b8-a308-9784407cad79</ClientID> <ItemClassificationID>c79e44e1-61f8-4afa-9f29-e94c54fa566c</ItemClassificationID> <Name>sample string 3</Name> </ItemClassification> <ItemID>ad29ecf5-0861-42d2-8968-7ee66634b61b</ItemID> <Name>sample string 3</Name> <Price>4.1</Price> </Item> <Item> <ClientID>227aee15-4eb6-4f6b-a66b-6058843e9dbb</ClientID> <ItemCategory> <ClientID>1a301277-708a-4a85-9bf4-b1e6bf37a7eb</ClientID> <ItemCategoryID>1591dc3c-f066-4fa4-bb99-df92ad663d86</ItemCategoryID> <Name>sample string 3</Name> </ItemCategory> <ItemClassification> <ClientID>67c1232b-deb6-42b8-a308-9784407cad79</ClientID> <ItemClassificationID>c79e44e1-61f8-4afa-9f29-e94c54fa566c</ItemClassificationID> <Name>sample string 3</Name> </ItemClassification> <ItemID>ad29ecf5-0861-42d2-8968-7ee66634b61b</ItemID> <Name>sample string 3</Name> <Price>4.1</Price> </Item> </ArrayOfItem>