POST api/Integration/OrderSave

Request Information

URI Parameters

None.

Body Parameters

OrderSaveModel
NameDescriptionTypeAdditional information
Orders

Collection of OrderParametersModel

None.

Request Formats

application/json, text/json

Sample:
{
  "orders": [
    {
      "orderNumber": "sample string 1",
      "zedQCompanyId": 2,
      "vendorCode": "sample string 3",
      "orderDate": "sample string 4",
      "deliveryDate": "sample string 5",
      "brand": "sample string 6",
      "planLineName": "sample string 7",
      "styles": [
        {
          "orderId": "sample string 1",
          "styleNo": "sample string 2",
          "styleDesc": "sample string 3",
          "brand": "sample string 4",
          "categoryName": "sample string 5",
          "colours": [
            {
              "colour": "sample string 1"
            },
            {
              "colour": "sample string 1"
            }
          ],
          "sizes": [
            {
              "size": "sample string 1",
              "sequenceNo": "sample string 2"
            },
            {
              "size": "sample string 1",
              "sequenceNo": "sample string 2"
            }
          ],
          "defects": [
            {
              "defect": "sample string 1"
            },
            {
              "defect": "sample string 1"
            }
          ],
          "processes": [
            {
              "process": "sample string 1",
              "isFinalStitching": "sample string 2",
              "isFinalFinishing": "sample string 3"
            },
            {
              "process": "sample string 1",
              "isFinalStitching": "sample string 2",
              "isFinalFinishing": "sample string 3"
            }
          ],
          "orderDetails": [
            {
              "colour": "sample string 1",
              "size": "sample string 2",
              "qty": 3,
              "deliveryDate": "sample string 4"
            },
            {
              "colour": "sample string 1",
              "size": "sample string 2",
              "qty": 3,
              "deliveryDate": "sample string 4"
            }
          ]
        },
        {
          "orderId": "sample string 1",
          "styleNo": "sample string 2",
          "styleDesc": "sample string 3",
          "brand": "sample string 4",
          "categoryName": "sample string 5",
          "colours": [
            {
              "colour": "sample string 1"
            },
            {
              "colour": "sample string 1"
            }
          ],
          "sizes": [
            {
              "size": "sample string 1",
              "sequenceNo": "sample string 2"
            },
            {
              "size": "sample string 1",
              "sequenceNo": "sample string 2"
            }
          ],
          "defects": [
            {
              "defect": "sample string 1"
            },
            {
              "defect": "sample string 1"
            }
          ],
          "processes": [
            {
              "process": "sample string 1",
              "isFinalStitching": "sample string 2",
              "isFinalFinishing": "sample string 3"
            },
            {
              "process": "sample string 1",
              "isFinalStitching": "sample string 2",
              "isFinalFinishing": "sample string 3"
            }
          ],
          "orderDetails": [
            {
              "colour": "sample string 1",
              "size": "sample string 2",
              "qty": 3,
              "deliveryDate": "sample string 4"
            },
            {
              "colour": "sample string 1",
              "size": "sample string 2",
              "qty": 3,
              "deliveryDate": "sample string 4"
            }
          ]
        }
      ]
    },
    {
      "orderNumber": "sample string 1",
      "zedQCompanyId": 2,
      "vendorCode": "sample string 3",
      "orderDate": "sample string 4",
      "deliveryDate": "sample string 5",
      "brand": "sample string 6",
      "planLineName": "sample string 7",
      "styles": [
        {
          "orderId": "sample string 1",
          "styleNo": "sample string 2",
          "styleDesc": "sample string 3",
          "brand": "sample string 4",
          "categoryName": "sample string 5",
          "colours": [
            {
              "colour": "sample string 1"
            },
            {
              "colour": "sample string 1"
            }
          ],
          "sizes": [
            {
              "size": "sample string 1",
              "sequenceNo": "sample string 2"
            },
            {
              "size": "sample string 1",
              "sequenceNo": "sample string 2"
            }
          ],
          "defects": [
            {
              "defect": "sample string 1"
            },
            {
              "defect": "sample string 1"
            }
          ],
          "processes": [
            {
              "process": "sample string 1",
              "isFinalStitching": "sample string 2",
              "isFinalFinishing": "sample string 3"
            },
            {
              "process": "sample string 1",
              "isFinalStitching": "sample string 2",
              "isFinalFinishing": "sample string 3"
            }
          ],
          "orderDetails": [
            {
              "colour": "sample string 1",
              "size": "sample string 2",
              "qty": 3,
              "deliveryDate": "sample string 4"
            },
            {
              "colour": "sample string 1",
              "size": "sample string 2",
              "qty": 3,
              "deliveryDate": "sample string 4"
            }
          ]
        },
        {
          "orderId": "sample string 1",
          "styleNo": "sample string 2",
          "styleDesc": "sample string 3",
          "brand": "sample string 4",
          "categoryName": "sample string 5",
          "colours": [
            {
              "colour": "sample string 1"
            },
            {
              "colour": "sample string 1"
            }
          ],
          "sizes": [
            {
              "size": "sample string 1",
              "sequenceNo": "sample string 2"
            },
            {
              "size": "sample string 1",
              "sequenceNo": "sample string 2"
            }
          ],
          "defects": [
            {
              "defect": "sample string 1"
            },
            {
              "defect": "sample string 1"
            }
          ],
          "processes": [
            {
              "process": "sample string 1",
              "isFinalStitching": "sample string 2",
              "isFinalFinishing": "sample string 3"
            },
            {
              "process": "sample string 1",
              "isFinalStitching": "sample string 2",
              "isFinalFinishing": "sample string 3"
            }
          ],
          "orderDetails": [
            {
              "colour": "sample string 1",
              "size": "sample string 2",
              "qty": 3,
              "deliveryDate": "sample string 4"
            },
            {
              "colour": "sample string 1",
              "size": "sample string 2",
              "qty": 3,
              "deliveryDate": "sample string 4"
            }
          ]
        }
      ]
    }
  ]
}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.