The following describes MTAPI-SRQL language: the MTOA Service Request Query Language used to perform filtering of Service Requests
via the “POST “POST /api/v1/servicerequests/query” endpoint.
The MTAPI-SRQL language allowsService Request to be filtered using a set of filter type. The current supported types are:
...
Code Block | ||
---|---|---|
| ||
{
"ServiceRequests": [
...
{
"StatusHistory": [
{
"ServiceHistoryEntryId": 12054,
"Status": "Submitted",
"EnglishDisplayName": "Submitted",
"FrenchDisplayName": "Soumise",
"Date": "2021-08-18T18:34:41",
"ServiceCategoryCode": "ON",
"ServiceStandardId": 0
},
{
"ServiceHistoryEntryId": 12051,
"Status": "InProgress",
"EnglishDisplayName": "In-Progress",
"FrenchDisplayName": "En cours",
"Date": "2021-08-19T18:34:33",
"ServiceCategoryCode": "OFF",
"ServiceStandardId": 0
}
],
"DateUpdatedUtc": "2021-08-18T22:34:41",
} |
Query a list of Service Request Assignees by specifying user Ids (the Assignees) in a comma delimited list
Code Block | ||
---|---|---|
| ||
{
"Assignees": "11577,11578",
"IncludeRegulatedEntities": true,
"Page": 1,
"PageSize": 25
} |
Query a list of Services by specifying the Service Ids in a comma delimited list
...