POST Api/Item
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": "db0ff572-7f06-4a14-86a9-456a97320b5a",
"ItemCategoryID": "2ce75c9a-83b3-4e07-b5a4-6d215d052f61",
"ItemClassificationID": "eb0d3847-60d3-45a1-b113-3e969f7a6d5f"
}
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>db0ff572-7f06-4a14-86a9-456a97320b5a</ClientID> <ItemCategoryID>2ce75c9a-83b3-4e07-b5a4-6d215d052f61</ItemCategoryID> <ItemClassificationID>eb0d3847-60d3-45a1-b113-3e969f7a6d5f</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": "06961382-1da2-4cbc-948d-b8ed71869440",
"ItemID": "6a6987f1-957f-4abe-bc88-967efa9d3ebc",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "358655e5-893e-4522-af7a-c5c7c29cc505",
"ClientID": "22ed327e-439a-49f8-82cf-468359a1bf6c",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "898bcdd4-6ac9-4a44-a645-5036281686f3",
"ClientID": "4c8a0906-3cf1-4d99-8980-4a21930414c9",
"Name": "sample string 3"
}
},
{
"ClientID": "06961382-1da2-4cbc-948d-b8ed71869440",
"ItemID": "6a6987f1-957f-4abe-bc88-967efa9d3ebc",
"Name": "sample string 3",
"Price": 4.1,
"ItemCategory": {
"ItemCategoryID": "358655e5-893e-4522-af7a-c5c7c29cc505",
"ClientID": "22ed327e-439a-49f8-82cf-468359a1bf6c",
"Name": "sample string 3"
},
"ItemClassification": {
"ItemClassificationID": "898bcdd4-6ac9-4a44-a645-5036281686f3",
"ClientID": "4c8a0906-3cf1-4d99-8980-4a21930414c9",
"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>06961382-1da2-4cbc-948d-b8ed71869440</ClientID>
<ItemCategory>
<ClientID>22ed327e-439a-49f8-82cf-468359a1bf6c</ClientID>
<ItemCategoryID>358655e5-893e-4522-af7a-c5c7c29cc505</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>4c8a0906-3cf1-4d99-8980-4a21930414c9</ClientID>
<ItemClassificationID>898bcdd4-6ac9-4a44-a645-5036281686f3</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>6a6987f1-957f-4abe-bc88-967efa9d3ebc</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
<Item>
<ClientID>06961382-1da2-4cbc-948d-b8ed71869440</ClientID>
<ItemCategory>
<ClientID>22ed327e-439a-49f8-82cf-468359a1bf6c</ClientID>
<ItemCategoryID>358655e5-893e-4522-af7a-c5c7c29cc505</ItemCategoryID>
<Name>sample string 3</Name>
</ItemCategory>
<ItemClassification>
<ClientID>4c8a0906-3cf1-4d99-8980-4a21930414c9</ClientID>
<ItemClassificationID>898bcdd4-6ac9-4a44-a645-5036281686f3</ItemClassificationID>
<Name>sample string 3</Name>
</ItemClassification>
<ItemID>6a6987f1-957f-4abe-bc88-967efa9d3ebc</ItemID>
<Name>sample string 3</Name>
<Price>4.1</Price>
</Item>
</ArrayOfItem>