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": "525eb100-fb64-483a-b236-f35f00b44fa0",
"ItemCategoryID": "116c21b3-3ea4-43b4-920e-a017c090fa8b",
"ItemClassificationID": "7a5ee425-e910-48dd-9813-b5967c7790a3"
}
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>525eb100-fb64-483a-b236-f35f00b44fa0</ClientID> <ItemCategoryID>116c21b3-3ea4-43b4-920e-a017c090fa8b</ItemCategoryID> <ItemClassificationID>7a5ee425-e910-48dd-9813-b5967c7790a3</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": "b52a9270-164e-4d79-b0d3-a9e48db6b086",
"ItemID": "8c6c038b-d53a-4894-b299-f1caa3b372ce",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "f3d02d84-7c96-4a2b-8a42-02fa0c8ca80d",
"ClientID": "8b8abbe2-3e5f-4862-a6b6-7607eac5219b",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "f08c27ac-86f7-4cb8-a75c-7b2e7f128544",
"ClientID": "39633998-91f9-405d-aa1c-2e3639e5ea19",
"Name": "sample string 3"
}
},
{
"ClientID": "b52a9270-164e-4d79-b0d3-a9e48db6b086",
"ItemID": "8c6c038b-d53a-4894-b299-f1caa3b372ce",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "f3d02d84-7c96-4a2b-8a42-02fa0c8ca80d",
"ClientID": "8b8abbe2-3e5f-4862-a6b6-7607eac5219b",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "f08c27ac-86f7-4cb8-a75c-7b2e7f128544",
"ClientID": "39633998-91f9-405d-aa1c-2e3639e5ea19",
"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>b52a9270-164e-4d79-b0d3-a9e48db6b086</ClientID>
<ItemCategory>
<ClientID>8b8abbe2-3e5f-4862-a6b6-7607eac5219b</ClientID>
<ItemCategoryID>f3d02d84-7c96-4a2b-8a42-02fa0c8ca80d</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>39633998-91f9-405d-aa1c-2e3639e5ea19</ClientID>
<ItemClassificationID>f08c27ac-86f7-4cb8-a75c-7b2e7f128544</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>8c6c038b-d53a-4894-b299-f1caa3b372ce</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
<Item>
<ClientID>b52a9270-164e-4d79-b0d3-a9e48db6b086</ClientID>
<ItemCategory>
<ClientID>8b8abbe2-3e5f-4862-a6b6-7607eac5219b</ClientID>
<ItemCategoryID>f3d02d84-7c96-4a2b-8a42-02fa0c8ca80d</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>39633998-91f9-405d-aa1c-2e3639e5ea19</ClientID>
<ItemClassificationID>f08c27ac-86f7-4cb8-a75c-7b2e7f128544</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>8c6c038b-d53a-4894-b299-f1caa3b372ce</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
</ArrayOfItem>