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": "98233b77-a064-4139-a694-ef575f5d119d", "ItemCategoryID": "c98cdde7-b83c-489c-a5a3-37d08f6d30f8", "ItemClassificationID": "810755b7-f7bf-4e36-92db-56dbfbe83a7f" }
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>98233b77-a064-4139-a694-ef575f5d119d</ClientID> <ItemCategoryID>c98cdde7-b83c-489c-a5a3-37d08f6d30f8</ItemCategoryID> <ItemClassificationID>810755b7-f7bf-4e36-92db-56dbfbe83a7f</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": "b3e6d1c1-f4c2-4864-9219-f8632a4e5c24", "ItemID": "523c0447-4672-47e2-ad51-de5524a660fa", "Name": "sample string 3", "Price": 4.1, "ItemCategory": { "ItemCategoryID": "e3054674-cc0f-4b49-a760-6f39f50c5b6e", "ClientID": "ca591f91-3b08-4065-9484-8453098424c2", "Name": "sample string 3" }, "ItemClassification": { "ItemClassificationID": "63fdbe73-4060-4d64-8833-c53575450884", "ClientID": "57e85d9c-a727-407f-a273-1aa6ae401287", "Name": "sample string 3" } }, { "ClientID": "b3e6d1c1-f4c2-4864-9219-f8632a4e5c24", "ItemID": "523c0447-4672-47e2-ad51-de5524a660fa", "Name": "sample string 3", "Price": 4.1, "ItemCategory": { "ItemCategoryID": "e3054674-cc0f-4b49-a760-6f39f50c5b6e", "ClientID": "ca591f91-3b08-4065-9484-8453098424c2", "Name": "sample string 3" }, "ItemClassification": { "ItemClassificationID": "63fdbe73-4060-4d64-8833-c53575450884", "ClientID": "57e85d9c-a727-407f-a273-1aa6ae401287", "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>b3e6d1c1-f4c2-4864-9219-f8632a4e5c24</ClientID> <ItemCategory> <ClientID>ca591f91-3b08-4065-9484-8453098424c2</ClientID> <ItemCategoryID>e3054674-cc0f-4b49-a760-6f39f50c5b6e</ItemCategoryID> <Name>sample string 3</Name> </ItemCategory> <ItemClassification> <ClientID>57e85d9c-a727-407f-a273-1aa6ae401287</ClientID> <ItemClassificationID>63fdbe73-4060-4d64-8833-c53575450884</ItemClassificationID> <Name>sample string 3</Name> </ItemClassification> <ItemID>523c0447-4672-47e2-ad51-de5524a660fa</ItemID> <Name>sample string 3</Name> <Price>4.1</Price> </Item> <Item> <ClientID>b3e6d1c1-f4c2-4864-9219-f8632a4e5c24</ClientID> <ItemCategory> <ClientID>ca591f91-3b08-4065-9484-8453098424c2</ClientID> <ItemCategoryID>e3054674-cc0f-4b49-a760-6f39f50c5b6e</ItemCategoryID> <Name>sample string 3</Name> </ItemCategory> <ItemClassification> <ClientID>57e85d9c-a727-407f-a273-1aa6ae401287</ClientID> <ItemClassificationID>63fdbe73-4060-4d64-8833-c53575450884</ItemClassificationID> <Name>sample string 3</Name> </ItemClassification> <ItemID>523c0447-4672-47e2-ad51-de5524a660fa</ItemID> <Name>sample string 3</Name> <Price>4.1</Price> </Item> </ArrayOfItem>