POST api/StoreFG/PostConfirmAddFG/{chk}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
chk

boolean

Required

Body Parameters

m_PostConfirmAddFG
NameDescriptionTypeAdditional information
addFGId

integer

Required

op_id

integer

Required

models

Collection of m_PostConfirmAddFG_model

None.

Request Formats

application/json, text/json

Sample:
{
  "addFGId": 1,
  "op_id": 1,
  "models": [
    {
      "model_no": "sample string 1",
      "color": "sample string 2",
      "work_type_name": "sample string 3",
      "sizes": [
        {
          "addFGModelId": 1,
          "size": 1,
          "quantity": 1,
          "receive": 1,
          "packing": "sample string 1",
          "locationStoreId": 1,
          "locationStoreName": "sample string 2"
        },
        {
          "addFGModelId": 1,
          "size": 1,
          "quantity": 1,
          "receive": 1,
          "packing": "sample string 1",
          "locationStoreId": 1,
          "locationStoreName": "sample string 2"
        }
      ]
    },
    {
      "model_no": "sample string 1",
      "color": "sample string 2",
      "work_type_name": "sample string 3",
      "sizes": [
        {
          "addFGModelId": 1,
          "size": 1,
          "quantity": 1,
          "receive": 1,
          "packing": "sample string 1",
          "locationStoreId": 1,
          "locationStoreName": "sample string 2"
        },
        {
          "addFGModelId": 1,
          "size": 1,
          "quantity": 1,
          "receive": 1,
          "packing": "sample string 1",
          "locationStoreId": 1,
          "locationStoreName": "sample string 2"
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<m_PostConfirmAddFG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MRP.Domain.Models.FG">
  <addFGId>1</addFGId>
  <models>
    <m_PostConfirmAddFG_model>
      <color>sample string 2</color>
      <model_no>sample string 1</model_no>
      <sizes>
        <m_PostConfirmAddFG_model_size>
          <addFGModelId>1</addFGModelId>
          <locationStoreId>1</locationStoreId>
          <locationStoreName>sample string 2</locationStoreName>
          <packing>sample string 1</packing>
          <quantity>1</quantity>
          <receive>1</receive>
          <size>1</size>
        </m_PostConfirmAddFG_model_size>
        <m_PostConfirmAddFG_model_size>
          <addFGModelId>1</addFGModelId>
          <locationStoreId>1</locationStoreId>
          <locationStoreName>sample string 2</locationStoreName>
          <packing>sample string 1</packing>
          <quantity>1</quantity>
          <receive>1</receive>
          <size>1</size>
        </m_PostConfirmAddFG_model_size>
      </sizes>
      <work_type_name>sample string 3</work_type_name>
    </m_PostConfirmAddFG_model>
    <m_PostConfirmAddFG_model>
      <color>sample string 2</color>
      <model_no>sample string 1</model_no>
      <sizes>
        <m_PostConfirmAddFG_model_size>
          <addFGModelId>1</addFGModelId>
          <locationStoreId>1</locationStoreId>
          <locationStoreName>sample string 2</locationStoreName>
          <packing>sample string 1</packing>
          <quantity>1</quantity>
          <receive>1</receive>
          <size>1</size>
        </m_PostConfirmAddFG_model_size>
        <m_PostConfirmAddFG_model_size>
          <addFGModelId>1</addFGModelId>
          <locationStoreId>1</locationStoreId>
          <locationStoreName>sample string 2</locationStoreName>
          <packing>sample string 1</packing>
          <quantity>1</quantity>
          <receive>1</receive>
          <size>1</size>
        </m_PostConfirmAddFG_model_size>
      </sizes>
      <work_type_name>sample string 3</work_type_name>
    </m_PostConfirmAddFG_model>
  </models>
  <op_id>1</op_id>
</m_PostConfirmAddFG>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.