PUT api/ReceiveDepartment/screen

Request Information

URI Parameters

None.

Body Parameters

m_receive_department
NameDescriptionTypeAdditional information
receives

Collection of m_receive_plan_department

None.

op_id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "receives": [
    {
      "plan_no": "sample string 1",
      "model_no": "sample string 2",
      "model_color": "sample string 3",
      "part_name": "sample string 4",
      "num_of_times": 64
    },
    {
      "plan_no": "sample string 1",
      "model_no": "sample string 2",
      "model_color": "sample string 3",
      "part_name": "sample string 4",
      "num_of_times": 64
    }
  ],
  "op_id": 1
}

application/xml, text/xml

Sample:
<m_receive_department xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ProductionLine.ReceiveDepartment">
  <op_id>1</op_id>
  <receives>
    <m_receive_plan_department>
      <model_color>sample string 3</model_color>
      <model_no>sample string 2</model_no>
      <num_of_times>64</num_of_times>
      <part_name>sample string 4</part_name>
      <plan_no>sample string 1</plan_no>
    </m_receive_plan_department>
    <m_receive_plan_department>
      <model_color>sample string 3</model_color>
      <model_no>sample string 2</model_no>
      <num_of_times>64</num_of_times>
      <part_name>sample string 4</part_name>
      <plan_no>sample string 1</plan_no>
    </m_receive_plan_department>
  </receives>
</m_receive_department>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.