Greetings:
Looking for some guidance on the /api/v2/audits/query API.
From the API explorer, it seems it should only need
{
"serviceName": "Datatables",
"interval": "2024-06-13T00:00:00/2024-06-14T00:00:00",
"sort": [
{
"name": "Timestamp",
"sortOrder": "descending"
}
],
"filters": [
{
"property": "Action",
"value": "Update",
}
]
}
Yet , to attempt to POST this,
- I get
Invoke-RestMethod : {"message":"IllegalQueryException [When supplying an action you must also supply
entityType]","code":"bad.request","status":400,"contextId":"c8641515-bf17-4321-bd07-963a1e0765ad","details":[],"errors":[]}
Where should the entityType be included (e.g. Row) to get a nice report on what Rows were updated for datatables for a time period? Had previously "Use[d] /api/v2/audits/query/servicemapping endpoint for a list of valid values" to determine Datatables was a service.
Thanks
-Pete