GET api/salesorder/GetSalesOrdersBySearchStringAsync?searchString={searchString}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
searchString

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SalesOrder
NameDescriptionTypeAdditional information
SalesOrderId

integer

None.

SalesOrderReference

string

None.

SalesOrderBarcode

string

None.

CustomerName

string

None.

CustomerAddress

string

None.

CustomerEmail

string

None.

CustomerMobileNumber

string

None.

CustomerLanguageCode

string

None.

Remark

string

None.

ResellerId

integer

None.

VoucherCode

string

None.

Status

string

None.

Lines

Collection of SalesOrderLine

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "salesOrderId": 1,
    "salesOrderReference": "sample string 2",
    "salesOrderBarcode": "sample string 3",
    "customerName": "sample string 4",
    "customerAddress": "sample string 5",
    "customerEmail": "sample string 6",
    "customerMobileNumber": "sample string 7",
    "customerLanguageCode": "sample string 8",
    "remark": "sample string 9",
    "resellerId": 1,
    "voucherCode": "sample string 10",
    "status": "sample string 11",
    "lines": [
      {
        "productId": 1,
        "ticketCategoryId": 2,
        "timeslotId": 1,
        "qty": 3,
        "unitPrice": 1.0,
        "packageId": 1,
        "packageGroupId": "sample string 4",
        "attribute": "sample string 5",
        "barcodes": [
          "sample string 1",
          "sample string 2"
        ],
        "ticketInfos": [
          {
            "ticketBarcode": "sample string 1",
            "message": "sample string 2"
          },
          {
            "ticketBarcode": "sample string 1",
            "message": "sample string 2"
          }
        ],
        "startDate": "2025-10-02T20:46:32.9989192+02:00",
        "details": {
          "mealIds": [
            1,
            2
          ]
        },
        "openingTimes": [
          {
            "fromTime": "sample string 1",
            "toTime": "sample string 2"
          },
          {
            "fromTime": "sample string 1",
            "toTime": "sample string 2"
          }
        ]
      },
      {
        "productId": 1,
        "ticketCategoryId": 2,
        "timeslotId": 1,
        "qty": 3,
        "unitPrice": 1.0,
        "packageId": 1,
        "packageGroupId": "sample string 4",
        "attribute": "sample string 5",
        "barcodes": [
          "sample string 1",
          "sample string 2"
        ],
        "ticketInfos": [
          {
            "ticketBarcode": "sample string 1",
            "message": "sample string 2"
          },
          {
            "ticketBarcode": "sample string 1",
            "message": "sample string 2"
          }
        ],
        "startDate": "2025-10-02T20:46:32.9989192+02:00",
        "details": {
          "mealIds": [
            1,
            2
          ]
        },
        "openingTimes": [
          {
            "fromTime": "sample string 1",
            "toTime": "sample string 2"
          },
          {
            "fromTime": "sample string 1",
            "toTime": "sample string 2"
          }
        ]
      }
    ]
  },
  {
    "salesOrderId": 1,
    "salesOrderReference": "sample string 2",
    "salesOrderBarcode": "sample string 3",
    "customerName": "sample string 4",
    "customerAddress": "sample string 5",
    "customerEmail": "sample string 6",
    "customerMobileNumber": "sample string 7",
    "customerLanguageCode": "sample string 8",
    "remark": "sample string 9",
    "resellerId": 1,
    "voucherCode": "sample string 10",
    "status": "sample string 11",
    "lines": [
      {
        "productId": 1,
        "ticketCategoryId": 2,
        "timeslotId": 1,
        "qty": 3,
        "unitPrice": 1.0,
        "packageId": 1,
        "packageGroupId": "sample string 4",
        "attribute": "sample string 5",
        "barcodes": [
          "sample string 1",
          "sample string 2"
        ],
        "ticketInfos": [
          {
            "ticketBarcode": "sample string 1",
            "message": "sample string 2"
          },
          {
            "ticketBarcode": "sample string 1",
            "message": "sample string 2"
          }
        ],
        "startDate": "2025-10-02T20:46:32.9989192+02:00",
        "details": {
          "mealIds": [
            1,
            2
          ]
        },
        "openingTimes": [
          {
            "fromTime": "sample string 1",
            "toTime": "sample string 2"
          },
          {
            "fromTime": "sample string 1",
            "toTime": "sample string 2"
          }
        ]
      },
      {
        "productId": 1,
        "ticketCategoryId": 2,
        "timeslotId": 1,
        "qty": 3,
        "unitPrice": 1.0,
        "packageId": 1,
        "packageGroupId": "sample string 4",
        "attribute": "sample string 5",
        "barcodes": [
          "sample string 1",
          "sample string 2"
        ],
        "ticketInfos": [
          {
            "ticketBarcode": "sample string 1",
            "message": "sample string 2"
          },
          {
            "ticketBarcode": "sample string 1",
            "message": "sample string 2"
          }
        ],
        "startDate": "2025-10-02T20:46:32.9989192+02:00",
        "details": {
          "mealIds": [
            1,
            2
          ]
        },
        "openingTimes": [
          {
            "fromTime": "sample string 1",
            "toTime": "sample string 2"
          },
          {
            "fromTime": "sample string 1",
            "toTime": "sample string 2"
          }
        ]
      }
    ]
  }
]