POST api/shipwarehouses

Request Information

URI Parameters

None.

Body Parameters

ShipWarehouseObject
NameDescriptionTypeAdditional information
Ship

string

None.

Product

string

None.

Hold

integer

None.

Total

integer

None.

Dispatched

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Ship": "sample string 1",
  "Product": "sample string 2",
  "Hold": 3,
  "Total": 4,
  "Dispatched": 5
}

application/xml, text/xml

Sample:
<ShipWarehouseObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WSFloorScaleSGP.Models">
  <Dispatched>5</Dispatched>
  <Hold>3</Hold>
  <Product>sample string 2</Product>
  <Ship>sample string 1</Ship>
  <Total>4</Total>
</ShipWarehouseObject>

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 'ShipWarehouseObject'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.