PUT api/production/preparation/add-operator/{plan_id}/{date}

Add Operator

Request Information

URI Parameters

NameDescriptionTypeAdditional information
plan_id

integer

Required

date

string

Required

Body Parameters

Collection of m_pp_Add_Operator
NameDescriptionTypeAdditional information
task_id

integer

None.

op_id

integer

None.

staff_id

integer

Required

Request Formats

application/json, text/json

Sample:
[
  {
    "task_id": 1,
    "op_id": 1,
    "staff_id": 1
  },
  {
    "task_id": 1,
    "op_id": 1,
    "staff_id": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfm_pp_Add_Operator xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ProductionLine.Preparation">
  <m_pp_Add_Operator>
    <op_id>1</op_id>
    <staff_id>1</staff_id>
    <task_id>1</task_id>
  </m_pp_Add_Operator>
  <m_pp_Add_Operator>
    <op_id>1</op_id>
    <staff_id>1</staff_id>
    <task_id>1</task_id>
  </m_pp_Add_Operator>
</ArrayOfm_pp_Add_Operator>

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.