POST api/production/preparation/detail/{plan_id}/{date}

Get Amount ของ Operator

Request Information

URI Parameters

NameDescriptionTypeAdditional information
plan_id

integer

Required

date

string

Required

Body Parameters

Collection of m_pp_ops
NameDescriptionTypeAdditional information
task_id

integer

None.

op_id

integer

None.

op_name

string

None.

qry

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "task_id": 1,
    "op_id": 1,
    "op_name": "sample string 2",
    "qry": 3
  },
  {
    "task_id": 1,
    "op_id": 1,
    "op_name": "sample string 2",
    "qry": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfm_pp_ops xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ProductionLine.Preparation">
  <m_pp_ops>
    <op_id>1</op_id>
    <op_name>sample string 2</op_name>
    <qry>3</qry>
    <task_id>1</task_id>
  </m_pp_ops>
  <m_pp_ops>
    <op_id>1</op_id>
    <op_name>sample string 2</op_name>
    <qry>3</qry>
    <task_id>1</task_id>
  </m_pp_ops>
</ArrayOfm_pp_ops>

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.