POST api/PlanningDepartment/Summary-upper

Request Information

URI Parameters

None.

Body Parameters

mPostSummaryUpper
NameDescriptionTypeAdditional information
color

string

None.

remark

string

None.

plan

Collection of m_post_summary_upper

None.

Request Formats

application/json, text/json

Sample:
{
  "color": "sample string 1",
  "remark": "sample string 2",
  "plan": [
    {
      "plan_id": 1,
      "amount": 2
    },
    {
      "plan_id": 1,
      "amount": 2
    }
  ]
}

application/xml, text/xml

Sample:
<mPostSummaryUpper xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ProductionLine.Planning_Department.Release_Upper_Plan">
  <color>sample string 1</color>
  <plan>
    <m_post_summary_upper>
      <amount>2</amount>
      <plan_id>1</plan_id>
    </m_post_summary_upper>
    <m_post_summary_upper>
      <amount>2</amount>
      <plan_id>1</plan_id>
    </m_post_summary_upper>
  </plan>
  <remark>sample string 2</remark>
</mPostSummaryUpper>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.