POST api/production_line/cutting/dashboard/op_stroke/{time}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
time

date

Required

Body Parameters

Collection of md_cutting_temp_stroke
NameDescriptionTypeAdditional information
op_id

integer

Required

task_id

Collection of integer

None.

stroke

integer

None.

amount

integer

None.

layer_amount

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "op_id": 1,
    "task_id": [
      1,
      2
    ],
    "stroke": 1,
    "amount": 1,
    "layer_amount": 1
  },
  {
    "op_id": 1,
    "task_id": [
      1,
      2
    ],
    "stroke": 1,
    "amount": 1,
    "layer_amount": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfmd_cutting_temp_stroke xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ProductionLine.Cutting">
  <md_cutting_temp_stroke>
    <amount>1</amount>
    <layer_amount>1</layer_amount>
    <op_id>1</op_id>
    <stroke>1</stroke>
    <task_id xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </task_id>
  </md_cutting_temp_stroke>
  <md_cutting_temp_stroke>
    <amount>1</amount>
    <layer_amount>1</layer_amount>
    <op_id>1</op_id>
    <stroke>1</stroke>
    <task_id xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </task_id>
  </md_cutting_temp_stroke>
</ArrayOfmd_cutting_temp_stroke>

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.