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": "9ffb6282-83fa-4869-b61d-f701f2fcb21a",
"ItemCategoryID": "7d97a341-9ae3-4ce2-8b18-ef49803f5a38",
"ItemClassificationID": "883b0023-e153-4c58-a4ad-6656e0399ff1"
}
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>9ffb6282-83fa-4869-b61d-f701f2fcb21a</ClientID> <ItemCategoryID>7d97a341-9ae3-4ce2-8b18-ef49803f5a38</ItemCategoryID> <ItemClassificationID>883b0023-e153-4c58-a4ad-6656e0399ff1</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": "ccdfc905-56e2-4f15-85d2-c073e55c295a",
"ItemID": "0e645142-1c3d-4cb5-9f76-cbce5b7a9a38",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "a1255bea-bcfc-4a8e-8022-225a1355c8cd",
"ClientID": "c442a334-6e16-4e11-a139-7e26d45c11aa",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "f960f8ea-7900-4ec8-bdd4-203c30112bc1",
"ClientID": "2653d803-bb57-43e3-83ec-a4b1b1b90ee1",
"Name": "sample string 3"
}
},
{
"ClientID": "ccdfc905-56e2-4f15-85d2-c073e55c295a",
"ItemID": "0e645142-1c3d-4cb5-9f76-cbce5b7a9a38",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "a1255bea-bcfc-4a8e-8022-225a1355c8cd",
"ClientID": "c442a334-6e16-4e11-a139-7e26d45c11aa",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "f960f8ea-7900-4ec8-bdd4-203c30112bc1",
"ClientID": "2653d803-bb57-43e3-83ec-a4b1b1b90ee1",
"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>ccdfc905-56e2-4f15-85d2-c073e55c295a</ClientID>
<ItemCategory>
<ClientID>c442a334-6e16-4e11-a139-7e26d45c11aa</ClientID>
<ItemCategoryID>a1255bea-bcfc-4a8e-8022-225a1355c8cd</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>2653d803-bb57-43e3-83ec-a4b1b1b90ee1</ClientID>
<ItemClassificationID>f960f8ea-7900-4ec8-bdd4-203c30112bc1</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>0e645142-1c3d-4cb5-9f76-cbce5b7a9a38</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
<Item>
<ClientID>ccdfc905-56e2-4f15-85d2-c073e55c295a</ClientID>
<ItemCategory>
<ClientID>c442a334-6e16-4e11-a139-7e26d45c11aa</ClientID>
<ItemCategoryID>a1255bea-bcfc-4a8e-8022-225a1355c8cd</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>2653d803-bb57-43e3-83ec-a4b1b1b90ee1</ClientID>
<ItemClassificationID>f960f8ea-7900-4ec8-bdd4-203c30112bc1</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>0e645142-1c3d-4cb5-9f76-cbce5b7a9a38</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
</ArrayOfItem>