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": "864ad335-8438-4532-aa31-1b016dfe7ac8",
"ItemCategoryID": "a59b46bb-1b92-42e9-bb0d-d8f0db4271e0",
"ItemClassificationID": "c6f79ba3-cd66-4322-a98d-549958c63286"
}
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>864ad335-8438-4532-aa31-1b016dfe7ac8</ClientID> <ItemCategoryID>a59b46bb-1b92-42e9-bb0d-d8f0db4271e0</ItemCategoryID> <ItemClassificationID>c6f79ba3-cd66-4322-a98d-549958c63286</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": "72869d39-5175-492f-a451-2b496805d8b4",
"ItemID": "a37f350c-7125-4b15-a771-1e0f79ceaae9",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "22e6e18a-79e6-4cd4-950d-7ea2005f7e97",
"ClientID": "eb8ce2cd-936b-4bc4-93b5-451f566b030f",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "f1642e68-bec6-4a8c-ba4d-d44255826bc4",
"ClientID": "16584947-32eb-44a2-8d52-a69bd4554ad0",
"Name": "sample string 3"
}
},
{
"ClientID": "72869d39-5175-492f-a451-2b496805d8b4",
"ItemID": "a37f350c-7125-4b15-a771-1e0f79ceaae9",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "22e6e18a-79e6-4cd4-950d-7ea2005f7e97",
"ClientID": "eb8ce2cd-936b-4bc4-93b5-451f566b030f",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "f1642e68-bec6-4a8c-ba4d-d44255826bc4",
"ClientID": "16584947-32eb-44a2-8d52-a69bd4554ad0",
"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>72869d39-5175-492f-a451-2b496805d8b4</ClientID>
<ItemCategory>
<ClientID>eb8ce2cd-936b-4bc4-93b5-451f566b030f</ClientID>
<ItemCategoryID>22e6e18a-79e6-4cd4-950d-7ea2005f7e97</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>16584947-32eb-44a2-8d52-a69bd4554ad0</ClientID>
<ItemClassificationID>f1642e68-bec6-4a8c-ba4d-d44255826bc4</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>a37f350c-7125-4b15-a771-1e0f79ceaae9</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
<Item>
<ClientID>72869d39-5175-492f-a451-2b496805d8b4</ClientID>
<ItemCategory>
<ClientID>eb8ce2cd-936b-4bc4-93b5-451f566b030f</ClientID>
<ItemCategoryID>22e6e18a-79e6-4cd4-950d-7ea2005f7e97</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>16584947-32eb-44a2-8d52-a69bd4554ad0</ClientID>
<ItemClassificationID>f1642e68-bec6-4a8c-ba4d-d44255826bc4</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>a37f350c-7125-4b15-a771-1e0f79ceaae9</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
</ArrayOfItem>