Operation Get Orders By Criteria

Method: HTTP POST method

Endpoint: http://<host_address>:<port_address>/v1/ordersByCriteria

Parameter content type: application/json

The tenantID is mandatory parameter here. The default value is TIBCO.
Note: In this request, you can choose any option between "Criteria" and "others". If you give "criteria", then "others" are ignored.

Example of ordersByCriteria:

ordersRequest:
 {
  "sortCriteria": {
    "sortFields": [
      {
        "field": "ORDER_ID",
        "sortBy": "ASC",
        "sortSequence": 0
      }
    ]
  },
  "orderId": "string",
  "orderRef": "string",
  "customerID": "string",
  "subscriberID": "string",
  "dateRange": {
    "endDate": "2020-09-17T18:56:56.546Z",
    "startDate": "2020-09-17T18:56:56.546Z"
  },
  "status": "string",
  "headerUdfs": [
    {
      "extension": {
        "any": [
          "string"
        ]
      },
      "name": "string",
      "value": "string"
    }
  ],
  "orderLineUdfs": [
    {
      "extension": {
        "any": [
          "string"
        ]
      },
      "name": "string",
      "value": "string"
    }
  ],
  "pagination": {
    "endRecord": 0,
    "startRecord": 0,
    "totalRecords": 0
  },
  "count": 0,
  "orderSummary": true,
  "criteria": "string",
  "parameters": {
    "params": [
      {
        "key": "string",
        "value": "string"
      }
    ]
  },
  "externalBusinessTransactionID": "string"
}
tenantID: TIBCO