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": "f15dd427-2dae-4474-a75e-633f362e8d0c",
"ItemCategoryID": "bd8c2e3c-e494-44b9-b23d-6eb8bc8b846f",
"ItemClassificationID": "86399eeb-36f6-4b3b-8b2a-58a2491355f3"
}
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>f15dd427-2dae-4474-a75e-633f362e8d0c</ClientID> <ItemCategoryID>bd8c2e3c-e494-44b9-b23d-6eb8bc8b846f</ItemCategoryID> <ItemClassificationID>86399eeb-36f6-4b3b-8b2a-58a2491355f3</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": "b8cda6cf-70c8-4126-bab6-a3b7be9f0a1c",
"ItemID": "0ef00623-8954-4e07-9c26-8816235ef611",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "8f488f7a-fb9d-4e1d-9137-f2b7981f367b",
"ClientID": "b3c45b10-e2db-4afd-be8c-ede88a679d0e",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "4d9cb001-6e7b-40e9-8dcd-a9a2cae2b586",
"ClientID": "b66f3192-a23e-4d1d-98e9-614131f9552d",
"Name": "sample string 3"
}
},
{
"ClientID": "b8cda6cf-70c8-4126-bab6-a3b7be9f0a1c",
"ItemID": "0ef00623-8954-4e07-9c26-8816235ef611",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "8f488f7a-fb9d-4e1d-9137-f2b7981f367b",
"ClientID": "b3c45b10-e2db-4afd-be8c-ede88a679d0e",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "4d9cb001-6e7b-40e9-8dcd-a9a2cae2b586",
"ClientID": "b66f3192-a23e-4d1d-98e9-614131f9552d",
"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>b8cda6cf-70c8-4126-bab6-a3b7be9f0a1c</ClientID>
<ItemCategory>
<ClientID>b3c45b10-e2db-4afd-be8c-ede88a679d0e</ClientID>
<ItemCategoryID>8f488f7a-fb9d-4e1d-9137-f2b7981f367b</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>b66f3192-a23e-4d1d-98e9-614131f9552d</ClientID>
<ItemClassificationID>4d9cb001-6e7b-40e9-8dcd-a9a2cae2b586</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>0ef00623-8954-4e07-9c26-8816235ef611</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
<Item>
<ClientID>b8cda6cf-70c8-4126-bab6-a3b7be9f0a1c</ClientID>
<ItemCategory>
<ClientID>b3c45b10-e2db-4afd-be8c-ede88a679d0e</ClientID>
<ItemCategoryID>8f488f7a-fb9d-4e1d-9137-f2b7981f367b</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>b66f3192-a23e-4d1d-98e9-614131f9552d</ClientID>
<ItemClassificationID>4d9cb001-6e7b-40e9-8dcd-a9a2cae2b586</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>0ef00623-8954-4e07-9c26-8816235ef611</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
</ArrayOfItem>