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": "d1173bad-63ab-4a75-ab69-d8ca0cc1ec20",
"ItemCategoryID": "dcc93f6d-0c65-42ea-80a5-d450d3ee7c34",
"ItemClassificationID": "c9644bd7-d636-44b3-9f93-44109d60c7fa"
}
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>d1173bad-63ab-4a75-ab69-d8ca0cc1ec20</ClientID> <ItemCategoryID>dcc93f6d-0c65-42ea-80a5-d450d3ee7c34</ItemCategoryID> <ItemClassificationID>c9644bd7-d636-44b3-9f93-44109d60c7fa</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": "5fa07b25-90d7-4afd-89a5-d42bf8039dd7",
"ItemID": "d4242f51-34fe-4c8c-ac39-82c7817ce2df",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "be74f873-7e78-4156-acc2-cd8d39bab4ed",
"ClientID": "14c860d3-bdd7-4442-8c19-58c158527cf0",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "2487685b-05a3-401c-9e4a-d2250ee19a78",
"ClientID": "45e148cf-0c66-4f2d-8d54-51e03bf5036c",
"Name": "sample string 3"
}
},
{
"ClientID": "5fa07b25-90d7-4afd-89a5-d42bf8039dd7",
"ItemID": "d4242f51-34fe-4c8c-ac39-82c7817ce2df",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "be74f873-7e78-4156-acc2-cd8d39bab4ed",
"ClientID": "14c860d3-bdd7-4442-8c19-58c158527cf0",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "2487685b-05a3-401c-9e4a-d2250ee19a78",
"ClientID": "45e148cf-0c66-4f2d-8d54-51e03bf5036c",
"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>5fa07b25-90d7-4afd-89a5-d42bf8039dd7</ClientID>
<ItemCategory>
<ClientID>14c860d3-bdd7-4442-8c19-58c158527cf0</ClientID>
<ItemCategoryID>be74f873-7e78-4156-acc2-cd8d39bab4ed</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>45e148cf-0c66-4f2d-8d54-51e03bf5036c</ClientID>
<ItemClassificationID>2487685b-05a3-401c-9e4a-d2250ee19a78</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>d4242f51-34fe-4c8c-ac39-82c7817ce2df</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
<Item>
<ClientID>5fa07b25-90d7-4afd-89a5-d42bf8039dd7</ClientID>
<ItemCategory>
<ClientID>14c860d3-bdd7-4442-8c19-58c158527cf0</ClientID>
<ItemCategoryID>be74f873-7e78-4156-acc2-cd8d39bab4ed</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>45e148cf-0c66-4f2d-8d54-51e03bf5036c</ClientID>
<ItemClassificationID>2487685b-05a3-401c-9e4a-d2250ee19a78</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>d4242f51-34fe-4c8c-ac39-82c7817ce2df</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
</ArrayOfItem>