POST api/PU/Dashboard/TransferPU

Request Information

URI Parameters

None.

Body Parameters

Collection of m_transfer_pu
NameDescriptionTypeAdditional information
task_id

integer

None.

total_amount

integer

None.

a_grade

integer

None.

b_grade

integer

None.

w_amount

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "task_id": 1,
    "total_amount": 2,
    "a_grade": 3,
    "b_grade": 4,
    "w_amount": 5
  },
  {
    "task_id": 1,
    "total_amount": 2,
    "a_grade": 3,
    "b_grade": 4,
    "w_amount": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfm_transfer_pu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ProductionLine.PU.Dashboard">
  <m_transfer_pu>
    <a_grade>3</a_grade>
    <b_grade>4</b_grade>
    <task_id>1</task_id>
    <total_amount>2</total_amount>
    <w_amount>5</w_amount>
  </m_transfer_pu>
  <m_transfer_pu>
    <a_grade>3</a_grade>
    <b_grade>4</b_grade>
    <task_id>1</task_id>
    <total_amount>2</total_amount>
    <w_amount>5</w_amount>
  </m_transfer_pu>
</ArrayOfm_transfer_pu>

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.