PUT api/cap/set/{year}/{month}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
year

integer

Required

month

integer

Required

Body Parameters

md_cap_set_u
NameDescriptionTypeAdditional information
total_order_cap

integer

None.

total_stock_cap

integer

None.

total_repair_cap

integer

None.

spare

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "total_order_cap": 1,
  "total_stock_cap": 2,
  "total_repair_cap": 3,
  "spare": 4
}

application/xml, text/xml

Sample:
<md_cap_set_u xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.Cap">
  <spare>4</spare>
  <total_order_cap>1</total_order_cap>
  <total_repair_cap>3</total_repair_cap>
  <total_stock_cap>2</total_stock_cap>
</md_cap_set_u>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.