POST api/Stored
Request Information
URI Parameters
None.
Body Parameters
Collection of ItemDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| price | decimal number |
None. |
|
| quantity | decimal number |
None. |
|
| Total | decimal number |
None. |
|
| string |
None. |
||
| appsname | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"id": 1,
"price": 2.1,
"quantity": 3.1,
"Total": 4.1,
"email": "sample string 5",
"appsname": "sample string 6"
},
{
"id": 1,
"price": 2.1,
"quantity": 3.1,
"Total": 4.1,
"email": "sample string 5",
"appsname": "sample string 6"
}
]
application/xml, text/xml
Sample:
<ArrayOfItemDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WEBAPIDEMO">
<ItemDetails>
<Total>4.1</Total>
<appsname>sample string 6</appsname>
<email>sample string 5</email>
<id>1</id>
<price>2.1</price>
<quantity>3.1</quantity>
</ItemDetails>
<ItemDetails>
<Total>4.1</Total>
<appsname>sample string 6</appsname>
<email>sample string 5</email>
<id>1</id>
<price>2.1</price>
<quantity>3.1</quantity>
</ItemDetails>
</ArrayOfItemDetails>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |