Overview
You can retrieve a list of prioritys or the details of a single priority from the PRIORITY_MASTER table.
You are also able to pass the same information retrieved as a way to create new priority records or update existing priority information. You will be required to adhere to existing logic from our base system (including validation or making sure required fields are filled in) and if an error occurs, the error returned will include information about how to rectify this issue. Any field available in DirectLine for this table can be made available to this endpoint. Please contact your account manager to discuss your specific requirements.
The list of fields returned is a subset of all fields returned. To get a list of all fields returned you can use the link: {{baseUrl}}/{{client_name}}/{{database}}/priority/@LABELS.
Fields are truncated to 1000 characters by default.
Detailed information of the fields returned including field types can be obtained using the link: {{baseUrl}}/{{client_name}}/{{database}}/priority/@SCHEMA
You can filter the returned results by available criteria as well. An example would be to use a link such as: {{baseUrl}}/{{client_name}}/{{database}}/priority?ALLFIELDS=1 where the data returned will include all the fields visible. To get a full list of filterable fields you can use the link: {{baseUrl}}/{{client_name}}/{{database}}/priority/@CRITERIA
Additional filtering can be done by using filter modifiers on the value passed.
These modifiers include:
[] for containing
!! for not equal
>> for greater than
<< for less than
<> for between.
Use each of these by adding them to the front of any value such as: TYPE=[]PM to select results where the TYPE contains PM.
You can send muliple values using comma(,) as delimiter Version 1.06
Between is useful for dates where you would use DATE=<>2020-01-01,2020-12-31 for results between 2020-01-01 and 2020-12-31. Between is inclusive so the results will include records when the date is 2020-01-01 and 2020-12-31. Your system’s date format may be different than the examples here as it is a setting in DirectLine. The @SCHEMA example (above) will show the date format being used for any date validated field for the endpoint being viewed.

