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": "681e5339-f5cc-4450-bfac-c4d51719cc23",
"ItemCategoryID": "a88eeb6e-349a-4c6f-858b-dc8533590b06",
"ItemClassificationID": "d60df3ad-81a4-4e02-81ae-e7484e9635fa"
}
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>681e5339-f5cc-4450-bfac-c4d51719cc23</ClientID> <ItemCategoryID>a88eeb6e-349a-4c6f-858b-dc8533590b06</ItemCategoryID> <ItemClassificationID>d60df3ad-81a4-4e02-81ae-e7484e9635fa</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": "5f0d5d5e-290b-40f8-8305-28eab44ea824",
"ItemID": "f430702e-5fc5-4faa-99dd-dad883de8ff3",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "86adfa84-6ae8-49c9-b6e1-128ffb21a298",
"ClientID": "e56560bd-a306-462c-8c34-81c6965d4fb0",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "0e70887e-4c9d-4c4f-a1eb-800f7e457032",
"ClientID": "3f0bda2d-3d5e-472b-98f0-a3f4b8329ee4",
"Name": "sample string 3"
}
},
{
"ClientID": "5f0d5d5e-290b-40f8-8305-28eab44ea824",
"ItemID": "f430702e-5fc5-4faa-99dd-dad883de8ff3",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "86adfa84-6ae8-49c9-b6e1-128ffb21a298",
"ClientID": "e56560bd-a306-462c-8c34-81c6965d4fb0",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "0e70887e-4c9d-4c4f-a1eb-800f7e457032",
"ClientID": "3f0bda2d-3d5e-472b-98f0-a3f4b8329ee4",
"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>5f0d5d5e-290b-40f8-8305-28eab44ea824</ClientID>
<ItemCategory>
<ClientID>e56560bd-a306-462c-8c34-81c6965d4fb0</ClientID>
<ItemCategoryID>86adfa84-6ae8-49c9-b6e1-128ffb21a298</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>3f0bda2d-3d5e-472b-98f0-a3f4b8329ee4</ClientID>
<ItemClassificationID>0e70887e-4c9d-4c4f-a1eb-800f7e457032</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>f430702e-5fc5-4faa-99dd-dad883de8ff3</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
<Item>
<ClientID>5f0d5d5e-290b-40f8-8305-28eab44ea824</ClientID>
<ItemCategory>
<ClientID>e56560bd-a306-462c-8c34-81c6965d4fb0</ClientID>
<ItemCategoryID>86adfa84-6ae8-49c9-b6e1-128ffb21a298</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>3f0bda2d-3d5e-472b-98f0-a3f4b8329ee4</ClientID>
<ItemClassificationID>0e70887e-4c9d-4c4f-a1eb-800f7e457032</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>f430702e-5fc5-4faa-99dd-dad883de8ff3</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
</ArrayOfItem>