PUT api/ReceiveDepartment/sewing/modal

Request Information

URI Parameters

None.

Body Parameters

Collection of m_receive_plan_department_sw
NameDescriptionTypeAdditional information
plan_no

string

None.

model_no

string

None.

model_color

string

None.

size

integer

None.

num_of_times

integer

None.

tran_date

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "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:05:50.6689876+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:05:50.6689876+07:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfm_receive_plan_department_sw xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ProductionLine.ReceiveDepartment">
  <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:05:50.6689876+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:05:50.6689876+07:00</tran_date>
  </m_receive_plan_department_sw>
</ArrayOfm_receive_plan_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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.