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": "37095cea-d955-4c30-9a16-f0bc63f8f235",
"ItemCategoryID": "e2da5697-b823-4e46-a83e-92fd44d44372",
"ItemClassificationID": "ceaa9911-cebf-4cf2-b73c-161e9390194b"
}
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>37095cea-d955-4c30-9a16-f0bc63f8f235</ClientID> <ItemCategoryID>e2da5697-b823-4e46-a83e-92fd44d44372</ItemCategoryID> <ItemClassificationID>ceaa9911-cebf-4cf2-b73c-161e9390194b</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": "74d1b7ee-6523-423b-83dc-767728191f2e",
"ItemID": "4de7591d-605a-451f-9f56-3855424bbe7c",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "c62d791f-afa8-4607-992a-1fcc4d1e8b74",
"ClientID": "d8758b9e-b10b-43f7-88c1-1de19b91b708",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "9db6890d-a9da-43ff-b044-56dce7b98610",
"ClientID": "e4ece76c-0497-4153-b6cf-231d2fd14092",
"Name": "sample string 3"
}
},
{
"ClientID": "74d1b7ee-6523-423b-83dc-767728191f2e",
"ItemID": "4de7591d-605a-451f-9f56-3855424bbe7c",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "c62d791f-afa8-4607-992a-1fcc4d1e8b74",
"ClientID": "d8758b9e-b10b-43f7-88c1-1de19b91b708",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "9db6890d-a9da-43ff-b044-56dce7b98610",
"ClientID": "e4ece76c-0497-4153-b6cf-231d2fd14092",
"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>74d1b7ee-6523-423b-83dc-767728191f2e</ClientID>
<ItemCategory>
<ClientID>d8758b9e-b10b-43f7-88c1-1de19b91b708</ClientID>
<ItemCategoryID>c62d791f-afa8-4607-992a-1fcc4d1e8b74</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>e4ece76c-0497-4153-b6cf-231d2fd14092</ClientID>
<ItemClassificationID>9db6890d-a9da-43ff-b044-56dce7b98610</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>4de7591d-605a-451f-9f56-3855424bbe7c</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
<Item>
<ClientID>74d1b7ee-6523-423b-83dc-767728191f2e</ClientID>
<ItemCategory>
<ClientID>d8758b9e-b10b-43f7-88c1-1de19b91b708</ClientID>
<ItemCategoryID>c62d791f-afa8-4607-992a-1fcc4d1e8b74</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>e4ece76c-0497-4153-b6cf-231d2fd14092</ClientID>
<ItemClassificationID>9db6890d-a9da-43ff-b044-56dce7b98610</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>4de7591d-605a-451f-9f56-3855424bbe7c</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
</ArrayOfItem>