I’m trying to build an API request to mark an alert as read using it’s UserNotificationId which I can get, but I’m having issues with the syntax.
The end point I’m using is the following /odata/alerts/UiPath.Server.Configuration.OData.MarkAsRead, and I pass the UserNotificationId in the body as per the following syntax
{
“ids”:[
"UserNotificationId ",
]
}
The error you’re encountering might be due to issues with the request payload you’re sending to mark an alert as read using the UiPath Orchestrator API. The JSON payload you’ve provided seems to have an issue with the “ids” array. Ensure that you’re passing the UserNotificationId correctly and without extra spaces.
Thank you for your response, but I’m still having the same issue, I’m getting this response
{
“message”: “markAsReadParameters must not be null”,
“errorCode”: 0,
“resourceIds”: null
}