Hello,
I am trying to do this now, but i keep getting response code 400:
{
"message": "itemReviewStatusParameters must not be null",
"errorCode": 0,
"traceId": "###############"
}
Thank you for your help.
Hello,
I am trying to do this now, but i keep getting response code 400:
{
"message": "itemReviewStatusParameters must not be null",
"errorCode": 0,
"traceId": "###############"
}
Thank you for your help.
Show us what you’re submitting. We can’t help if we don’t know details. Although the error message seems pretty clear.
As per error one of the required parameter is empty or not provided…check the same…did you try swagger first?
Cheers
Hello Paul,
Thank you for your response. Sorry I forgot to wrote my submitted request.
It seems that moderator created a new ticket for me (thank you for that). I actually was replying to this thread:
As it did not work, I then sent message to the post.
Here is how I did using Swagger (please be informed that some information are covered due to privacy):
curl -X ‘POST’
‘xxxxxxx/odata/QueueItems/UiPathODataSvc.SetItemReviewStatus?%24expand=2’
-H ‘accept: application/json’
-H ‘X-UiPath-OrganizationUnitId: xxxx’
-H ‘authorization: Bearer xxxxx’
-H ‘Content-Type: application/json;odata.metadata=minimal;odata.streaming=true’
-d ‘{
“status”: “Retried”,
“queueItems”: [
{
“RowVersion”: “byte[8] { 0, 0, 0, 0, 0, 51, 70, 135 }”,
“Id”: 12345
}
]
}’
Hi Anil,
It seems that moderator created a new ticket for me (thank you for that). I actually was replying to this thread:
As it did not work, I then sent message to the post.
Please look into my response to Paul. I used Swagger and trying to follow the schema in the above post.
Take this off the end of the endpoint. I don’t know if it’s causing the issue, but you shouldn’t need it.
Also, your RowVersion doesn’t look like what the example in the post you referenced:
"RowVersion": "AAAAAAAARm0=",
Thank you Paul,
Using your suggestion, the request is now returning 200 status and the queue is retried as “New”. Thank you for your help!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.