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": "b55d0543-bf23-4a2f-9efc-64219461685d",
"ItemCategoryID": "6bc5450c-9fe1-481a-91c9-b3c103f669ed",
"ItemClassificationID": "617f8b23-6eeb-4563-a596-93c6542b6be2"
}
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>b55d0543-bf23-4a2f-9efc-64219461685d</ClientID> <ItemCategoryID>6bc5450c-9fe1-481a-91c9-b3c103f669ed</ItemCategoryID> <ItemClassificationID>617f8b23-6eeb-4563-a596-93c6542b6be2</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": "3c0b9bb2-4d20-4975-b10a-000f3f9762a1",
"ItemID": "f367c79e-af10-444d-9259-5051d70935a8",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "25537dd5-af09-43f6-9778-6d6a25616fbe",
"ClientID": "8c52855d-c95c-413e-98cf-413aa414067f",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "638f89bf-5268-499e-9737-e7b03e185f9e",
"ClientID": "bdd53098-1148-43b1-90ea-3710513d005c",
"Name": "sample string 3"
}
},
{
"ClientID": "3c0b9bb2-4d20-4975-b10a-000f3f9762a1",
"ItemID": "f367c79e-af10-444d-9259-5051d70935a8",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "25537dd5-af09-43f6-9778-6d6a25616fbe",
"ClientID": "8c52855d-c95c-413e-98cf-413aa414067f",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "638f89bf-5268-499e-9737-e7b03e185f9e",
"ClientID": "bdd53098-1148-43b1-90ea-3710513d005c",
"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>3c0b9bb2-4d20-4975-b10a-000f3f9762a1</ClientID>
<ItemCategory>
<ClientID>8c52855d-c95c-413e-98cf-413aa414067f</ClientID>
<ItemCategoryID>25537dd5-af09-43f6-9778-6d6a25616fbe</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>bdd53098-1148-43b1-90ea-3710513d005c</ClientID>
<ItemClassificationID>638f89bf-5268-499e-9737-e7b03e185f9e</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>f367c79e-af10-444d-9259-5051d70935a8</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
<Item>
<ClientID>3c0b9bb2-4d20-4975-b10a-000f3f9762a1</ClientID>
<ItemCategory>
<ClientID>8c52855d-c95c-413e-98cf-413aa414067f</ClientID>
<ItemCategoryID>25537dd5-af09-43f6-9778-6d6a25616fbe</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>bdd53098-1148-43b1-90ea-3710513d005c</ClientID>
<ItemClassificationID>638f89bf-5268-499e-9737-e7b03e185f9e</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>f367c79e-af10-444d-9259-5051d70935a8</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
</ArrayOfItem>