POST API/Product/AllocateSize

Request Information

URI Parameters

None.

Body Parameters

AllocateSize
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AllocateSize'.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

IHttpActionResult

None.

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.