POST API/Basket/AddSoldProduct
Request Information
URI Parameters
None.
Body Parameters
Sold| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| saleID | integer |
None. |
|
| quantity | integer |
None. |
|
| size | string |
None. |
|
| productID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"saleID": 2,
"quantity": 3,
"size": "sample string 4",
"productID": 5
}
application/xml, text/xml
Sample:
<Sold xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <ID>1</ID> <productID>5</productID> <quantity>3</quantity> <saleID>2</saleID> <size>sample string 4</size> </Sold>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.