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": "cfbc3210-16f8-47a7-a280-7af8dc1aa151", "ItemCategoryID": "26d27e4f-95b8-4b46-9f8f-3c7f76b3fb08", "ItemClassificationID": "068a45d9-4da7-4828-a4e6-764ae5bfd6bd" }
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>cfbc3210-16f8-47a7-a280-7af8dc1aa151</ClientID> <ItemCategoryID>26d27e4f-95b8-4b46-9f8f-3c7f76b3fb08</ItemCategoryID> <ItemClassificationID>068a45d9-4da7-4828-a4e6-764ae5bfd6bd</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": "c9372242-1409-4900-b113-660a96db7659", "ItemID": "45b2802b-cb54-4a72-a0fa-4c0e55b5d608", "Name": "sample string 3", "Price": 4.1, "ItemCategory": { "ItemCategoryID": "ca9618c1-6cb1-4cb1-a00f-0d7993c9a5c4", "ClientID": "f342cb68-c04e-4d9e-955c-93ec922f7f45", "Name": "sample string 3" }, "ItemClassification": { "ItemClassificationID": "b9aa9ec6-6a7f-45e5-a29e-956e1d55823f", "ClientID": "668d8d06-3853-438f-8391-1fe9931724f8", "Name": "sample string 3" } }, { "ClientID": "c9372242-1409-4900-b113-660a96db7659", "ItemID": "45b2802b-cb54-4a72-a0fa-4c0e55b5d608", "Name": "sample string 3", "Price": 4.1, "ItemCategory": { "ItemCategoryID": "ca9618c1-6cb1-4cb1-a00f-0d7993c9a5c4", "ClientID": "f342cb68-c04e-4d9e-955c-93ec922f7f45", "Name": "sample string 3" }, "ItemClassification": { "ItemClassificationID": "b9aa9ec6-6a7f-45e5-a29e-956e1d55823f", "ClientID": "668d8d06-3853-438f-8391-1fe9931724f8", "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>c9372242-1409-4900-b113-660a96db7659</ClientID> <ItemCategory> <ClientID>f342cb68-c04e-4d9e-955c-93ec922f7f45</ClientID> <ItemCategoryID>ca9618c1-6cb1-4cb1-a00f-0d7993c9a5c4</ItemCategoryID> <Name>sample string 3</Name> </ItemCategory> <ItemClassification> <ClientID>668d8d06-3853-438f-8391-1fe9931724f8</ClientID> <ItemClassificationID>b9aa9ec6-6a7f-45e5-a29e-956e1d55823f</ItemClassificationID> <Name>sample string 3</Name> </ItemClassification> <ItemID>45b2802b-cb54-4a72-a0fa-4c0e55b5d608</ItemID> <Name>sample string 3</Name> <Price>4.1</Price> </Item> <Item> <ClientID>c9372242-1409-4900-b113-660a96db7659</ClientID> <ItemCategory> <ClientID>f342cb68-c04e-4d9e-955c-93ec922f7f45</ClientID> <ItemCategoryID>ca9618c1-6cb1-4cb1-a00f-0d7993c9a5c4</ItemCategoryID> <Name>sample string 3</Name> </ItemCategory> <ItemClassification> <ClientID>668d8d06-3853-438f-8391-1fe9931724f8</ClientID> <ItemClassificationID>b9aa9ec6-6a7f-45e5-a29e-956e1d55823f</ItemClassificationID> <Name>sample string 3</Name> </ItemClassification> <ItemID>45b2802b-cb54-4a72-a0fa-4c0e55b5d608</ItemID> <Name>sample string 3</Name> <Price>4.1</Price> </Item> </ArrayOfItem>