POST api/OnlineOrdering/GetUpsellData

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
dto
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "UserEmail": "sample string 1",
  "Password": "sample string 2",
  "WebOrder": {
    "$id": "2",
    "CompanyID": 1,
    "ExternalRef": 2,
    "ExternalBranchID": 3,
    "DTstamp": "2025-10-28T23:03:52.0926662+02:00",
    "ExternalCustomerID": 5,
    "FinalPrice": 6.0,
    "Notes": "sample string 7",
    "TypeID": 8,
    "PaymentTypeID": 9,
    "Paid": true,
    "PrintInvoice": true,
    "ExternalCustomerAddressID": 1,
    "StreetNo": "sample string 12",
    "ZipCode": 1,
    "City": "sample string 13",
    "AddressNotes": "sample string 14",
    "Floor": "sample string 15",
    "Title": "sample string 16",
    "Latitude": 1.0,
    "Longitude": 1.0,
    "SourceID": 17,
    "Coupons": [
      1,
      2,
      3
    ],
    "CouponCodes": [
      {
        "Key": 1,
        "Value": "sample string 2"
      },
      {
        "Key": 1,
        "Value": "sample string 2"
      },
      {
        "Key": 1,
        "Value": "sample string 2"
      }
    ],
    "WebOrderProducts": [
      {
        "$id": "3",
        "ProductSizeID": 1,
        "Quantity": 2,
        "BasePrice": 3.0,
        "VatRate": 4.0,
        "Notes": "sample string 5",
        "ProductID": 1,
        "ReadOnly": true,
        "WebOrderProductExtras": [
          {
            "$id": "4",
            "ExtraID": 1,
            "Quantity": 1,
            "Price": 2.0,
            "VatRate": 3.0
          },
          {
            "$ref": "4"
          },
          {
            "$ref": "4"
          }
        ]
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ],
    "Customer": {
      "$id": "5",
      "ID": 1,
      "Lastname": "sample string 2",
      "Firstname": "sample string 3",
      "StreetNo": "sample string 4",
      "ZipCode": 1,
      "City": "sample string 5",
      "Phone": "sample string 6",
      "AddressNotes": "sample string 7",
      "Mobile": "sample string 8",
      "Email": "sample string 9",
      "AFM": "sample string 10",
      "DOY": "sample string 11",
      "Profession": "sample string 12",
      "CardNumber": "sample string 13",
      "PrintInvoice": true,
      "Notes": "sample string 15",
      "Floor": "sample string 16",
      "ExternalRef": 17,
      "Addresses": [
        {
          "$id": "6",
          "ID": 1,
          "StreetNo": "sample string 2",
          "ZipCode": 1,
          "City": "sample string 3",
          "Phone": "sample string 4",
          "AddressNotes": "sample string 5",
          "Floor": "sample string 6",
          "ExternalRef": 7,
          "IsPrimary": true
        },
        {
          "$ref": "6"
        },
        {
          "$ref": "6"
        }
      ]
    },
    "DelayedTime": "2025-10-28T23:03:52.0926662+02:00"
  }
}

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