POST api/PU/DashboardRequestUpper/CreateRequestUpper

Request Information

URI Parameters

None.

Body Parameters

v_RequestUpper
NameDescriptionTypeAdditional information
requestUpper

m_RequestUpper

None.

models

Collection of m_UpperModel

None.

Request Formats

application/json, text/json

Sample:
{
  "requestUpper": {
    "statusDate": "2026-04-07T18:04:12.5107588+07:00",
    "toDate": "2026-04-07T18:04:12.5107588+07:00",
    "type": "sample string 3",
    "op_id": 1,
    "op_name": "sample string 4",
    "requestType": [
      "sample string 1",
      "sample string 2"
    ]
  },
  "models": [
    {
      "model": "sample string 1",
      "sex": "sample string 2",
      "color": "sample string 3",
      "size": [
        {
          "size": 1,
          "amount": 2,
          "amountUpper": 3
        },
        {
          "size": 1,
          "amount": 2,
          "amountUpper": 3
        }
      ]
    },
    {
      "model": "sample string 1",
      "sex": "sample string 2",
      "color": "sample string 3",
      "size": [
        {
          "size": 1,
          "amount": 2,
          "amountUpper": 3
        },
        {
          "size": 1,
          "amount": 2,
          "amountUpper": 3
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<v_RequestUpper xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ProductionLine.PU.Dashboard">
  <models>
    <m_UpperModel>
      <color>sample string 3</color>
      <model>sample string 1</model>
      <sex>sample string 2</sex>
      <size>
        <m_UpperModelSize>
          <amount>2</amount>
          <amountUpper>3</amountUpper>
          <size>1</size>
        </m_UpperModelSize>
        <m_UpperModelSize>
          <amount>2</amount>
          <amountUpper>3</amountUpper>
          <size>1</size>
        </m_UpperModelSize>
      </size>
    </m_UpperModel>
    <m_UpperModel>
      <color>sample string 3</color>
      <model>sample string 1</model>
      <sex>sample string 2</sex>
      <size>
        <m_UpperModelSize>
          <amount>2</amount>
          <amountUpper>3</amountUpper>
          <size>1</size>
        </m_UpperModelSize>
        <m_UpperModelSize>
          <amount>2</amount>
          <amountUpper>3</amountUpper>
          <size>1</size>
        </m_UpperModelSize>
      </size>
    </m_UpperModel>
  </models>
  <requestUpper>
    <op_id>1</op_id>
    <op_name>sample string 4</op_name>
    <requestType xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </requestType>
    <statusDate>2026-04-07T18:04:12.5107588+07:00</statusDate>
    <toDate>2026-04-07T18:04:12.5107588+07:00</toDate>
    <type>sample string 3</type>
  </requestUpper>
</v_RequestUpper>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.