POST API/Product/AllocateSize
Request Information
URI Parameters
None.
Body Parameters
AllocateSize| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| quantity | integer |
None. |
|
| sizeID | integer |
None. |
|
| productID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"quantity": 2,
"sizeID": 3,
"productID": 4
}
application/xml, text/xml
Sample:
<AllocateSize xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <id>1</id> <productID>4</productID> <quantity>2</quantity> <sizeID>3</sizeID> </AllocateSize>
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.