PUT api/cap/set/{year}/{month}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| year | integer |
Required |
|
| month | integer |
Required |
Body Parameters
md_cap_set_u| Name | Description | Type | Additional 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:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.