POST api/Order/SaveOrder

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
OrdModel
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "CompanyId": 1,
  "Year": 2,
  "OrderId": 3,
  "OrderTypeId": 4,
  "OrderDate": "sample string 5",
  "PartyId": 6,
  "PartyName": "sample string 7",
  "Note": "sample string 8",
  "RollMeter": 9,
  "UserId": 10,
  "Items": [
    {
      "ItemId": 1,
      "ItemName": "sample string 2",
      "FinishId": 3,
      "FinishName": "sample string 4",
      "JariId": 5,
      "JariName": "sample string 6",
      "LessTypeId": 7,
      "LessTypeName": "sample string 8",
      "OrdDetailId": 9,
      "RollMeter": 10,
      "Colors": [
        {
          "ColorId": 1,
          "ColorName": "sample string 2",
          "Qty": 3,
          "RollMeter": 4,
          "ColorDetailId": 5,
          "ColorId_1": 6,
          "ColorId_2": 7,
          "ColorId_3": 8,
          "ColorName_1": "sample string 9",
          "ColorName_2": "sample string 10",
          "ColorName_3": "sample string 11"
        },
        {
          "ColorId": 1,
          "ColorName": "sample string 2",
          "Qty": 3,
          "RollMeter": 4,
          "ColorDetailId": 5,
          "ColorId_1": 6,
          "ColorId_2": 7,
          "ColorId_3": 8,
          "ColorName_1": "sample string 9",
          "ColorName_2": "sample string 10",
          "ColorName_3": "sample string 11"
        },
        {
          "ColorId": 1,
          "ColorName": "sample string 2",
          "Qty": 3,
          "RollMeter": 4,
          "ColorDetailId": 5,
          "ColorId_1": 6,
          "ColorId_2": 7,
          "ColorId_3": 8,
          "ColorName_1": "sample string 9",
          "ColorName_2": "sample string 10",
          "ColorName_3": "sample string 11"
        }
      ],
      "Images": [
        {
          "Image_Name": "sample string 1",
          "Image_Path": "sample string 2"
        },
        {
          "Image_Name": "sample string 1",
          "Image_Path": "sample string 2"
        },
        {
          "Image_Name": "sample string 1",
          "Image_Path": "sample string 2"
        }
      ]
    },
    {
      "ItemId": 1,
      "ItemName": "sample string 2",
      "FinishId": 3,
      "FinishName": "sample string 4",
      "JariId": 5,
      "JariName": "sample string 6",
      "LessTypeId": 7,
      "LessTypeName": "sample string 8",
      "OrdDetailId": 9,
      "RollMeter": 10,
      "Colors": [
        {
          "ColorId": 1,
          "ColorName": "sample string 2",
          "Qty": 3,
          "RollMeter": 4,
          "ColorDetailId": 5,
          "ColorId_1": 6,
          "ColorId_2": 7,
          "ColorId_3": 8,
          "ColorName_1": "sample string 9",
          "ColorName_2": "sample string 10",
          "ColorName_3": "sample string 11"
        },
        {
          "ColorId": 1,
          "ColorName": "sample string 2",
          "Qty": 3,
          "RollMeter": 4,
          "ColorDetailId": 5,
          "ColorId_1": 6,
          "ColorId_2": 7,
          "ColorId_3": 8,
          "ColorName_1": "sample string 9",
          "ColorName_2": "sample string 10",
          "ColorName_3": "sample string 11"
        },
        {
          "ColorId": 1,
          "ColorName": "sample string 2",
          "Qty": 3,
          "RollMeter": 4,
          "ColorDetailId": 5,
          "ColorId_1": 6,
          "ColorId_2": 7,
          "ColorId_3": 8,
          "ColorName_1": "sample string 9",
          "ColorName_2": "sample string 10",
          "ColorName_3": "sample string 11"
        }
      ],
      "Images": [
        {
          "Image_Name": "sample string 1",
          "Image_Path": "sample string 2"
        },
        {
          "Image_Name": "sample string 1",
          "Image_Path": "sample string 2"
        },
        {
          "Image_Name": "sample string 1",
          "Image_Path": "sample string 2"
        }
      ]
    },
    {
      "ItemId": 1,
      "ItemName": "sample string 2",
      "FinishId": 3,
      "FinishName": "sample string 4",
      "JariId": 5,
      "JariName": "sample string 6",
      "LessTypeId": 7,
      "LessTypeName": "sample string 8",
      "OrdDetailId": 9,
      "RollMeter": 10,
      "Colors": [
        {
          "ColorId": 1,
          "ColorName": "sample string 2",
          "Qty": 3,
          "RollMeter": 4,
          "ColorDetailId": 5,
          "ColorId_1": 6,
          "ColorId_2": 7,
          "ColorId_3": 8,
          "ColorName_1": "sample string 9",
          "ColorName_2": "sample string 10",
          "ColorName_3": "sample string 11"
        },
        {
          "ColorId": 1,
          "ColorName": "sample string 2",
          "Qty": 3,
          "RollMeter": 4,
          "ColorDetailId": 5,
          "ColorId_1": 6,
          "ColorId_2": 7,
          "ColorId_3": 8,
          "ColorName_1": "sample string 9",
          "ColorName_2": "sample string 10",
          "ColorName_3": "sample string 11"
        },
        {
          "ColorId": 1,
          "ColorName": "sample string 2",
          "Qty": 3,
          "RollMeter": 4,
          "ColorDetailId": 5,
          "ColorId_1": 6,
          "ColorId_2": 7,
          "ColorId_3": 8,
          "ColorName_1": "sample string 9",
          "ColorName_2": "sample string 10",
          "ColorName_3": "sample string 11"
        }
      ],
      "Images": [
        {
          "Image_Name": "sample string 1",
          "Image_Path": "sample string 2"
        },
        {
          "Image_Name": "sample string 1",
          "Image_Path": "sample string 2"
        },
        {
          "Image_Name": "sample string 1",
          "Image_Path": "sample string 2"
        }
      ]
    }
  ]
}

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

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{}