PUT api/ReceiveDepartment/sewing

Request Information

URI Parameters

None.

Body Parameters

m_receive_department_sw
NameDescriptionTypeAdditional information
receives

Collection of m_receive_plan_department_sw

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",
      "size": 4,
      "num_of_times": 5,
      "tran_date": "2026-04-07T18:10:39.6746992+07:00"
    },
    {
      "plan_no": "sample string 1",
      "model_no": "sample string 2",
      "model_color": "sample string 3",
      "size": 4,
      "num_of_times": 5,
      "tran_date": "2026-04-07T18:10:39.6746992+07:00"
    }
  ],
  "op_id": 1
}

application/xml, text/xml

Sample:
<m_receive_department_sw 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_sw>
      <model_color>sample string 3</model_color>
      <model_no>sample string 2</model_no>
      <num_of_times>5</num_of_times>
      <plan_no>sample string 1</plan_no>
      <size>4</size>
      <tran_date>2026-04-07T18:10:39.6746992+07:00</tran_date>
    </m_receive_plan_department_sw>
    <m_receive_plan_department_sw>
      <model_color>sample string 3</model_color>
      <model_no>sample string 2</model_no>
      <num_of_times>5</num_of_times>
      <plan_no>sample string 1</plan_no>
      <size>4</size>
      <tran_date>2026-04-07T18:10:39.6746992+07:00</tran_date>
    </m_receive_plan_department_sw>
  </receives>
</m_receive_department_sw>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.