Get Allowed Search Fields

GET {{terminal-service-api}}/allowed-query/fields/terminal

These are the allowed values to use for filtering and setting orderBy when calling /terminal

eg

{
  ...
  "orderBy": "terminal.name", // here
  "groups": [
    {
      "filterGroupCondition": "AND",
      "filterSearchCondition": "AND",
      "filters": [
        {
          "filterOption": "eq",
          "field": "terminalBranchLocation.deleted", // here
          "value": "false",
          "dataType": "bool"
        }
      ]
    }
  ]


HEADERS

KeyDatatypeRequiredDescription
Business-Idstring
Api-Keystring