POST api/Orders/SaveFullOrder

Request Information

URI Parameters

None.

Body Parameters

SendOrdDTO
NameDescriptionTypeAdditional information
OrderHeader

tblOrd

None.

OrderItems

Collection of OrderItemDTO

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderHeader": {
    "Id": 1,
    "SupId": 2,
    "idSup": 3,
    "oDate": "2026-03-14T09:44:52.2668135-05:00",
    "oDt2": "2026-03-14T09:44:52.2668135-05:00",
    "Num": 6,
    "AreaId": 7,
    "tblArea": {
      "id": 1,
      "aName": "sample string 2",
      "Cost": 3.1,
      "Note": "sample string 4",
      "OrdNo": 5
    },
    "CustId": 8,
    "tblCust": {
      "id": 1,
      "uDate": "2026-03-14T09:44:52.2668135-05:00",
      "SupId": 2,
      "idSup": 3,
      "cName": "sample string 4",
      "AreaId": 5,
      "tblArea": {
        "id": 1,
        "aName": "sample string 2",
        "Cost": 3.1,
        "Note": "sample string 4",
        "OrdNo": 5
      },
      "Addr": "sample string 6",
      "Phone": "sample string 7",
      "coLat": 8.1,
      "coLong": 9.1,
      "OrdNo": 10,
      "aCode": "sample string 11",
      "RndNo": 1,
      "fToken": "sample string 12",
      "tblOrds": []
    },
    "EmpId": 1,
    "tblEmp": {
      "id": 1,
      "SupId": 2,
      "idSup": 3,
      "eName": "sample string 4",
      "Addr": "sample string 5",
      "Phone": "sample string 6",
      "VecId": 7,
      "OrdNo": 8,
      "RndNo": 1,
      "fToken": "sample string 9"
    },
    "tblSup": {
      "id": 1,
      "sCode": "sample string 2",
      "sName": "sample string 3",
      "AreaId": 4,
      "Addr": "sample string 5",
      "OpnTm": "00:00:00.1234567",
      "ClsTm": "00:00:00.1234567",
      "Phone1": "sample string 8",
      "Phone2": "sample string 9",
      "CatId1": 10,
      "CatId2": 11,
      "TaxRt": 12.1,
      "coLat": 13.1,
      "coLong": 14.1,
      "Pword": "sample string 15",
      "OrdNo": 16,
      "OrdNo2": 17,
      "Sts": 18,
      "DWay0": true,
      "DWay1": true,
      "DWay2": true,
      "Promo": "sample string 22",
      "ImgUrl": "sample string 23",
      "tblArea": {
        "id": 1,
        "aName": "sample string 2",
        "Cost": 3.1,
        "Note": "sample string 4",
        "OrdNo": 5
      },
      "Cat1": {
        "id": 1,
        "cName": "sample string 2",
        "OrdNo": 3,
        "ImgUrl": "sample string 4"
      },
      "Cat2": {
        "id": 1,
        "cName": "sample string 2",
        "OrdNo": 3,
        "ImgUrl": "sample string 4"
      }
    },
    "Addr": "sample string 9",
    "adLat": 10.1,
    "adLong": 11.1,
    "Tot": 12.1,
    "Fee": 13.1,
    "Src": "sample string 14",
    "Sts": 15,
    "DWay": 16,
    "cNote": "sample string 17",
    "sNote": "sample string 18",
    "CpDis": 19.1,
    "CpId": 20,
    "tblCoup": {
      "id": 1,
      "sCode": "sample string 2",
      "sName": "sample string 3",
      "AreaId": 4,
      "Addr": "sample string 5",
      "OpnTm": "00:00:00.1234567",
      "ClsTm": "00:00:00.1234567",
      "Phone1": "sample string 8",
      "Phone2": "sample string 9",
      "CatId1": 10,
      "CatId2": 11,
      "TaxRt": 12.1,
      "coLat": 13.1,
      "coLong": 14.1,
      "Pword": "sample string 15",
      "OrdNo": 16,
      "OrdNo2": 17,
      "Sts": 18,
      "DWay0": true,
      "DWay1": true,
      "DWay2": true,
      "Promo": "sample string 22",
      "ImgUrl": "sample string 23",
      "tblArea": {
        "id": 1,
        "aName": "sample string 2",
        "Cost": 3.1,
        "Note": "sample string 4",
        "OrdNo": 5
      },
      "Cat1": {
        "id": 1,
        "cName": "sample string 2",
        "OrdNo": 3,
        "ImgUrl": "sample string 4"
      },
      "Cat2": {
        "id": 1,
        "cName": "sample string 2",
        "OrdNo": 3,
        "ImgUrl": "sample string 4"
      }
    },
    "EditLmt": 21,
    "EvDesc": "sample string 22",
    "EvVal": 23.1,
    "Tax": 24.1,
    "Net": 25.1,
    "cpDisFee": 26.1,
    "cpDisTot": 27.1,
    "Del": true,
    "HisNum": 29,
    "aNote": "sample string 30",
    "UsrDate": "2026-03-14T09:44:52.2668135-05:00",
    "tblOItms": [
      {
        "id": 1,
        "OrdId": 2,
        "MatId": 3,
        "tblMat": {
          "id": 1,
          "SupId": 2,
          "idSup": 3,
          "GrpId": 4,
          "mName": "sample string 5",
          "Prc": 6.1,
          "OrdNo": 7,
          "Note": "sample string 8",
          "ImgUrl": "sample string 9",
          "tblSup": {
            "id": 1,
            "sCode": "sample string 2",
            "sName": "sample string 3",
            "AreaId": 4,
            "Addr": "sample string 5",
            "OpnTm": "00:00:00.1234567",
            "ClsTm": "00:00:00.1234567",
            "Phone1": "sample string 8",
            "Phone2": "sample string 9",
            "CatId1": 10,
            "CatId2": 11,
            "TaxRt": 12.1,
            "coLat": 13.1,
            "coLong": 14.1,
            "Pword": "sample string 15",
            "OrdNo": 16,
            "OrdNo2": 17,
            "Sts": 18,
            "DWay0": true,
            "DWay1": true,
            "DWay2": true,
            "Promo": "sample string 22",
            "ImgUrl": "sample string 23",
            "tblArea": {
              "id": 1,
              "aName": "sample string 2",
              "Cost": 3.1,
              "Note": "sample string 4",
              "OrdNo": 5
            },
            "Cat1": {
              "id": 1,
              "cName": "sample string 2",
              "OrdNo": 3,
              "ImgUrl": "sample string 4"
            },
            "Cat2": {
              "id": 1,
              "cName": "sample string 2",
              "OrdNo": 3,
              "ImgUrl": "sample string 4"
            }
          },
          "tblGrp": {
            "id": 1,
            "SupId": 2,
            "idSup": 3,
            "gName": "sample string 4",
            "OrdNo": 5,
            "ImgUrl": "sample string 6",
            "tblSup": {
              "id": 1,
              "sCode": "sample string 2",
              "sName": "sample string 3",
              "AreaId": 4,
              "Addr": "sample string 5",
              "OpnTm": "00:00:00.1234567",
              "ClsTm": "00:00:00.1234567",
              "Phone1": "sample string 8",
              "Phone2": "sample string 9",
              "CatId1": 10,
              "CatId2": 11,
              "TaxRt": 12.1,
              "coLat": 13.1,
              "coLong": 14.1,
              "Pword": "sample string 15",
              "OrdNo": 16,
              "OrdNo2": 17,
              "Sts": 18,
              "DWay0": true,
              "DWay1": true,
              "DWay2": true,
              "Promo": "sample string 22",
              "ImgUrl": "sample string 23",
              "tblArea": {
                "id": 1,
                "aName": "sample string 2",
                "Cost": 3.1,
                "Note": "sample string 4",
                "OrdNo": 5
              },
              "Cat1": {
                "id": 1,
                "cName": "sample string 2",
                "OrdNo": 3,
                "ImgUrl": "sample string 4"
              },
              "Cat2": {
                "id": 1,
                "cName": "sample string 2",
                "OrdNo": 3,
                "ImgUrl": "sample string 4"
              }
            }
          }
        },
        "Qty": 4.1,
        "Prc": 5.1,
        "Tot": 6.1,
        "Note": "sample string 7"
      },
      {
        "id": 1,
        "OrdId": 2,
        "MatId": 3,
        "tblMat": {
          "id": 1,
          "SupId": 2,
          "idSup": 3,
          "GrpId": 4,
          "mName": "sample string 5",
          "Prc": 6.1,
          "OrdNo": 7,
          "Note": "sample string 8",
          "ImgUrl": "sample string 9",
          "tblSup": {
            "id": 1,
            "sCode": "sample string 2",
            "sName": "sample string 3",
            "AreaId": 4,
            "Addr": "sample string 5",
            "OpnTm": "00:00:00.1234567",
            "ClsTm": "00:00:00.1234567",
            "Phone1": "sample string 8",
            "Phone2": "sample string 9",
            "CatId1": 10,
            "CatId2": 11,
            "TaxRt": 12.1,
            "coLat": 13.1,
            "coLong": 14.1,
            "Pword": "sample string 15",
            "OrdNo": 16,
            "OrdNo2": 17,
            "Sts": 18,
            "DWay0": true,
            "DWay1": true,
            "DWay2": true,
            "Promo": "sample string 22",
            "ImgUrl": "sample string 23",
            "tblArea": {
              "id": 1,
              "aName": "sample string 2",
              "Cost": 3.1,
              "Note": "sample string 4",
              "OrdNo": 5
            },
            "Cat1": {
              "id": 1,
              "cName": "sample string 2",
              "OrdNo": 3,
              "ImgUrl": "sample string 4"
            },
            "Cat2": {
              "id": 1,
              "cName": "sample string 2",
              "OrdNo": 3,
              "ImgUrl": "sample string 4"
            }
          },
          "tblGrp": {
            "id": 1,
            "SupId": 2,
            "idSup": 3,
            "gName": "sample string 4",
            "OrdNo": 5,
            "ImgUrl": "sample string 6",
            "tblSup": {
              "id": 1,
              "sCode": "sample string 2",
              "sName": "sample string 3",
              "AreaId": 4,
              "Addr": "sample string 5",
              "OpnTm": "00:00:00.1234567",
              "ClsTm": "00:00:00.1234567",
              "Phone1": "sample string 8",
              "Phone2": "sample string 9",
              "CatId1": 10,
              "CatId2": 11,
              "TaxRt": 12.1,
              "coLat": 13.1,
              "coLong": 14.1,
              "Pword": "sample string 15",
              "OrdNo": 16,
              "OrdNo2": 17,
              "Sts": 18,
              "DWay0": true,
              "DWay1": true,
              "DWay2": true,
              "Promo": "sample string 22",
              "ImgUrl": "sample string 23",
              "tblArea": {
                "id": 1,
                "aName": "sample string 2",
                "Cost": 3.1,
                "Note": "sample string 4",
                "OrdNo": 5
              },
              "Cat1": {
                "id": 1,
                "cName": "sample string 2",
                "OrdNo": 3,
                "ImgUrl": "sample string 4"
              },
              "Cat2": {
                "id": 1,
                "cName": "sample string 2",
                "OrdNo": 3,
                "ImgUrl": "sample string 4"
              }
            }
          }
        },
        "Qty": 4.1,
        "Prc": 5.1,
        "Tot": 6.1,
        "Note": "sample string 7"
      }
    ]
  },
  "OrderItems": [
    {
      "Id": 1,
      "MatId": 2,
      "OrdId": 3,
      "mName": "sample string 4",
      "Qty": 5.1,
      "Prc": 6.1,
      "Tot": 7.1,
      "Note": "sample string 8",
      "SelectedOptions": [
        {
          "Id": 1,
          "oName": "sample string 2",
          "Prc": 3.1
        },
        {
          "Id": 1,
          "oName": "sample string 2",
          "Prc": 3.1
        }
      ]
    },
    {
      "Id": 1,
      "MatId": 2,
      "OrdId": 3,
      "mName": "sample string 4",
      "Qty": 5.1,
      "Prc": 6.1,
      "Tot": 7.1,
      "Note": "sample string 8",
      "SelectedOptions": [
        {
          "Id": 1,
          "oName": "sample string 2",
          "Prc": 3.1
        },
        {
          "Id": 1,
          "oName": "sample string 2",
          "Prc": 3.1
        }
      ]
    }
  ]
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.