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": "f9d5cd6c-1635-4223-8899-a917f8656c1e", "ItemCategoryID": "54ff6df7-e070-464e-8dce-e2dfda508449", "ItemClassificationID": "7577fc67-621f-4f71-a70c-d01688fe8d06" }
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>f9d5cd6c-1635-4223-8899-a917f8656c1e</ClientID> <ItemCategoryID>54ff6df7-e070-464e-8dce-e2dfda508449</ItemCategoryID> <ItemClassificationID>7577fc67-621f-4f71-a70c-d01688fe8d06</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": "914f2fda-dda7-4709-adb5-c9ee5d7561af", "ItemID": "81dc588b-ff3d-4663-bff3-c4c8744595e4", "Name": "sample string 3", "Price": 4.1, "ItemCategory": { "ItemCategoryID": "d3de3203-a03e-484f-b4bc-3166f2498848", "ClientID": "7ed8e0f7-e40f-43d9-8a0f-a5502120e7d1", "Name": "sample string 3" }, "ItemClassification": { "ItemClassificationID": "6b6b9e94-4f0e-4ed1-a33a-aac67441f076", "ClientID": "8415eba8-dad2-4d00-8765-e95eabc1fbbf", "Name": "sample string 3" } }, { "ClientID": "914f2fda-dda7-4709-adb5-c9ee5d7561af", "ItemID": "81dc588b-ff3d-4663-bff3-c4c8744595e4", "Name": "sample string 3", "Price": 4.1, "ItemCategory": { "ItemCategoryID": "d3de3203-a03e-484f-b4bc-3166f2498848", "ClientID": "7ed8e0f7-e40f-43d9-8a0f-a5502120e7d1", "Name": "sample string 3" }, "ItemClassification": { "ItemClassificationID": "6b6b9e94-4f0e-4ed1-a33a-aac67441f076", "ClientID": "8415eba8-dad2-4d00-8765-e95eabc1fbbf", "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>914f2fda-dda7-4709-adb5-c9ee5d7561af</ClientID> <ItemCategory> <ClientID>7ed8e0f7-e40f-43d9-8a0f-a5502120e7d1</ClientID> <ItemCategoryID>d3de3203-a03e-484f-b4bc-3166f2498848</ItemCategoryID> <Name>sample string 3</Name> </ItemCategory> <ItemClassification> <ClientID>8415eba8-dad2-4d00-8765-e95eabc1fbbf</ClientID> <ItemClassificationID>6b6b9e94-4f0e-4ed1-a33a-aac67441f076</ItemClassificationID> <Name>sample string 3</Name> </ItemClassification> <ItemID>81dc588b-ff3d-4663-bff3-c4c8744595e4</ItemID> <Name>sample string 3</Name> <Price>4.1</Price> </Item> <Item> <ClientID>914f2fda-dda7-4709-adb5-c9ee5d7561af</ClientID> <ItemCategory> <ClientID>7ed8e0f7-e40f-43d9-8a0f-a5502120e7d1</ClientID> <ItemCategoryID>d3de3203-a03e-484f-b4bc-3166f2498848</ItemCategoryID> <Name>sample string 3</Name> </ItemCategory> <ItemClassification> <ClientID>8415eba8-dad2-4d00-8765-e95eabc1fbbf</ClientID> <ItemClassificationID>6b6b9e94-4f0e-4ed1-a33a-aac67441f076</ItemClassificationID> <Name>sample string 3</Name> </ItemClassification> <ItemID>81dc588b-ff3d-4663-bff3-c4c8744595e4</ItemID> <Name>sample string 3</Name> <Price>4.1</Price> </Item> </ArrayOfItem>