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": "efe5f40f-f0b1-4ca8-a499-4fccf7945a21",
"ItemCategoryID": "b4abd45e-80cb-44f2-828c-02ca4f2694f6",
"ItemClassificationID": "537878fb-f58c-4d0b-9866-e1a53d50721a"
}
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>efe5f40f-f0b1-4ca8-a499-4fccf7945a21</ClientID> <ItemCategoryID>b4abd45e-80cb-44f2-828c-02ca4f2694f6</ItemCategoryID> <ItemClassificationID>537878fb-f58c-4d0b-9866-e1a53d50721a</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": "fa7d4859-09eb-479c-91cf-e6437168e065",
"ItemID": "f3b32a95-2915-49f3-9765-97b121fd7353",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "ffc68a53-0de8-41d5-8310-98fc21bfc8c7",
"ClientID": "f0f2bd54-4c7b-41a1-84d3-30eb01ffcabe",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "b41e5d3f-ac05-439d-8e89-6edf6d1bd340",
"ClientID": "004e8e8c-5f01-4bb5-8487-599369fdff22",
"Name": "sample string 3"
}
},
{
"ClientID": "fa7d4859-09eb-479c-91cf-e6437168e065",
"ItemID": "f3b32a95-2915-49f3-9765-97b121fd7353",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "ffc68a53-0de8-41d5-8310-98fc21bfc8c7",
"ClientID": "f0f2bd54-4c7b-41a1-84d3-30eb01ffcabe",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "b41e5d3f-ac05-439d-8e89-6edf6d1bd340",
"ClientID": "004e8e8c-5f01-4bb5-8487-599369fdff22",
"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>fa7d4859-09eb-479c-91cf-e6437168e065</ClientID>
<ItemCategory>
<ClientID>f0f2bd54-4c7b-41a1-84d3-30eb01ffcabe</ClientID>
<ItemCategoryID>ffc68a53-0de8-41d5-8310-98fc21bfc8c7</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>004e8e8c-5f01-4bb5-8487-599369fdff22</ClientID>
<ItemClassificationID>b41e5d3f-ac05-439d-8e89-6edf6d1bd340</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>f3b32a95-2915-49f3-9765-97b121fd7353</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
<Item>
<ClientID>fa7d4859-09eb-479c-91cf-e6437168e065</ClientID>
<ItemCategory>
<ClientID>f0f2bd54-4c7b-41a1-84d3-30eb01ffcabe</ClientID>
<ItemCategoryID>ffc68a53-0de8-41d5-8310-98fc21bfc8c7</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>004e8e8c-5f01-4bb5-8487-599369fdff22</ClientID>
<ItemClassificationID>b41e5d3f-ac05-439d-8e89-6edf6d1bd340</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>f3b32a95-2915-49f3-9765-97b121fd7353</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
</ArrayOfItem>