POST api/packing/add/cutting/edge/confirm

Confirm Add Cutting Edge

Request Information

URI Parameters

None.

Body Parameters

m_confirmAddCuttingEdge
NameDescriptionTypeAdditional information
plan_no

string

None.

op_id

integer

None.

workTypes

Collection of m_confirmAddCuttingEdge_workTypes

None.

Request Formats

application/json, text/json

Sample:
{
  "plan_no": "sample string 1",
  "op_id": 2,
  "workTypes": [
    {
      "work_type_id": 64,
      "work_type_name": "sample string 2",
      "plan_no": "sample string 3",
      "workType_total_amount": 4,
      "models": [
        {
          "model_no": "sample string 1",
          "colors": [
            {
              "bom_id": 1,
              "model_color": "sample string 2",
              "color_total_amount": 3,
              "sizes": [
                {
                  "size": 1,
                  "amount": 2
                },
                {
                  "size": 1,
                  "amount": 2
                }
              ]
            },
            {
              "bom_id": 1,
              "model_color": "sample string 2",
              "color_total_amount": 3,
              "sizes": [
                {
                  "size": 1,
                  "amount": 2
                },
                {
                  "size": 1,
                  "amount": 2
                }
              ]
            }
          ]
        },
        {
          "model_no": "sample string 1",
          "colors": [
            {
              "bom_id": 1,
              "model_color": "sample string 2",
              "color_total_amount": 3,
              "sizes": [
                {
                  "size": 1,
                  "amount": 2
                },
                {
                  "size": 1,
                  "amount": 2
                }
              ]
            },
            {
              "bom_id": 1,
              "model_color": "sample string 2",
              "color_total_amount": 3,
              "sizes": [
                {
                  "size": 1,
                  "amount": 2
                },
                {
                  "size": 1,
                  "amount": 2
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "work_type_id": 64,
      "work_type_name": "sample string 2",
      "plan_no": "sample string 3",
      "workType_total_amount": 4,
      "models": [
        {
          "model_no": "sample string 1",
          "colors": [
            {
              "bom_id": 1,
              "model_color": "sample string 2",
              "color_total_amount": 3,
              "sizes": [
                {
                  "size": 1,
                  "amount": 2
                },
                {
                  "size": 1,
                  "amount": 2
                }
              ]
            },
            {
              "bom_id": 1,
              "model_color": "sample string 2",
              "color_total_amount": 3,
              "sizes": [
                {
                  "size": 1,
                  "amount": 2
                },
                {
                  "size": 1,
                  "amount": 2
                }
              ]
            }
          ]
        },
        {
          "model_no": "sample string 1",
          "colors": [
            {
              "bom_id": 1,
              "model_color": "sample string 2",
              "color_total_amount": 3,
              "sizes": [
                {
                  "size": 1,
                  "amount": 2
                },
                {
                  "size": 1,
                  "amount": 2
                }
              ]
            },
            {
              "bom_id": 1,
              "model_color": "sample string 2",
              "color_total_amount": 3,
              "sizes": [
                {
                  "size": 1,
                  "amount": 2
                },
                {
                  "size": 1,
                  "amount": 2
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<m_confirmAddCuttingEdge xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.ProductionLine.Packing">
  <op_id>2</op_id>
  <plan_no>sample string 1</plan_no>
  <workTypes>
    <m_confirmAddCuttingEdge_workTypes>
      <models>
        <m_confirmAddCuttingEdge_models>
          <colors>
            <m_confirmAddCuttingEdge_colors>
              <bom_id>1</bom_id>
              <color_total_amount>3</color_total_amount>
              <model_color>sample string 2</model_color>
              <sizes>
                <m_confirmAddCuttingEdge_sizes>
                  <amount>2</amount>
                  <size>1</size>
                </m_confirmAddCuttingEdge_sizes>
                <m_confirmAddCuttingEdge_sizes>
                  <amount>2</amount>
                  <size>1</size>
                </m_confirmAddCuttingEdge_sizes>
              </sizes>
            </m_confirmAddCuttingEdge_colors>
            <m_confirmAddCuttingEdge_colors>
              <bom_id>1</bom_id>
              <color_total_amount>3</color_total_amount>
              <model_color>sample string 2</model_color>
              <sizes>
                <m_confirmAddCuttingEdge_sizes>
                  <amount>2</amount>
                  <size>1</size>
                </m_confirmAddCuttingEdge_sizes>
                <m_confirmAddCuttingEdge_sizes>
                  <amount>2</amount>
                  <size>1</size>
                </m_confirmAddCuttingEdge_sizes>
              </sizes>
            </m_confirmAddCuttingEdge_colors>
          </colors>
          <model_no>sample string 1</model_no>
        </m_confirmAddCuttingEdge_models>
        <m_confirmAddCuttingEdge_models>
          <colors>
            <m_confirmAddCuttingEdge_colors>
              <bom_id>1</bom_id>
              <color_total_amount>3</color_total_amount>
              <model_color>sample string 2</model_color>
              <sizes>
                <m_confirmAddCuttingEdge_sizes>
                  <amount>2</amount>
                  <size>1</size>
                </m_confirmAddCuttingEdge_sizes>
                <m_confirmAddCuttingEdge_sizes>
                  <amount>2</amount>
                  <size>1</size>
                </m_confirmAddCuttingEdge_sizes>
              </sizes>
            </m_confirmAddCuttingEdge_colors>
            <m_confirmAddCuttingEdge_colors>
              <bom_id>1</bom_id>
              <color_total_amount>3</color_total_amount>
              <model_color>sample string 2</model_color>
              <sizes>
                <m_confirmAddCuttingEdge_sizes>
                  <amount>2</amount>
                  <size>1</size>
                </m_confirmAddCuttingEdge_sizes>
                <m_confirmAddCuttingEdge_sizes>
                  <amount>2</amount>
                  <size>1</size>
                </m_confirmAddCuttingEdge_sizes>
              </sizes>
            </m_confirmAddCuttingEdge_colors>
          </colors>
          <model_no>sample string 1</model_no>
        </m_confirmAddCuttingEdge_models>
      </models>
      <plan_no>sample string 3</plan_no>
      <workType_total_amount>4</workType_total_amount>
      <work_type_id>64</work_type_id>
      <work_type_name>sample string 2</work_type_name>
    </m_confirmAddCuttingEdge_workTypes>
    <m_confirmAddCuttingEdge_workTypes>
      <models>
        <m_confirmAddCuttingEdge_models>
          <colors>
            <m_confirmAddCuttingEdge_colors>
              <bom_id>1</bom_id>
              <color_total_amount>3</color_total_amount>
              <model_color>sample string 2</model_color>
              <sizes>
                <m_confirmAddCuttingEdge_sizes>
                  <amount>2</amount>
                  <size>1</size>
                </m_confirmAddCuttingEdge_sizes>
                <m_confirmAddCuttingEdge_sizes>
                  <amount>2</amount>
                  <size>1</size>
                </m_confirmAddCuttingEdge_sizes>
              </sizes>
            </m_confirmAddCuttingEdge_colors>
            <m_confirmAddCuttingEdge_colors>
              <bom_id>1</bom_id>
              <color_total_amount>3</color_total_amount>
              <model_color>sample string 2</model_color>
              <sizes>
                <m_confirmAddCuttingEdge_sizes>
                  <amount>2</amount>
                  <size>1</size>
                </m_confirmAddCuttingEdge_sizes>
                <m_confirmAddCuttingEdge_sizes>
                  <amount>2</amount>
                  <size>1</size>
                </m_confirmAddCuttingEdge_sizes>
              </sizes>
            </m_confirmAddCuttingEdge_colors>
          </colors>
          <model_no>sample string 1</model_no>
        </m_confirmAddCuttingEdge_models>
        <m_confirmAddCuttingEdge_models>
          <colors>
            <m_confirmAddCuttingEdge_colors>
              <bom_id>1</bom_id>
              <color_total_amount>3</color_total_amount>
              <model_color>sample string 2</model_color>
              <sizes>
                <m_confirmAddCuttingEdge_sizes>
                  <amount>2</amount>
                  <size>1</size>
                </m_confirmAddCuttingEdge_sizes>
                <m_confirmAddCuttingEdge_sizes>
                  <amount>2</amount>
                  <size>1</size>
                </m_confirmAddCuttingEdge_sizes>
              </sizes>
            </m_confirmAddCuttingEdge_colors>
            <m_confirmAddCuttingEdge_colors>
              <bom_id>1</bom_id>
              <color_total_amount>3</color_total_amount>
              <model_color>sample string 2</model_color>
              <sizes>
                <m_confirmAddCuttingEdge_sizes>
                  <amount>2</amount>
                  <size>1</size>
                </m_confirmAddCuttingEdge_sizes>
                <m_confirmAddCuttingEdge_sizes>
                  <amount>2</amount>
                  <size>1</size>
                </m_confirmAddCuttingEdge_sizes>
              </sizes>
            </m_confirmAddCuttingEdge_colors>
          </colors>
          <model_no>sample string 1</model_no>
        </m_confirmAddCuttingEdge_models>
      </models>
      <plan_no>sample string 3</plan_no>
      <workType_total_amount>4</workType_total_amount>
      <work_type_id>64</work_type_id>
      <work_type_name>sample string 2</work_type_name>
    </m_confirmAddCuttingEdge_workTypes>
  </workTypes>
</m_confirmAddCuttingEdge>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.