Just in case someone else still has the same problem, it’s possible to add items to a Queue by using the endpoint POST /odata/Queues/UiPathODataSvc.AddQueueItem.
The body of the request looks like the following:
{
"itemData": {
"Name": "Invoices",
"SpecificContent": {
"Amount": 1234,
"CompanyName": "ABC"
}
}
}
It’s possible to add more fields, like Priority and RiskSlaDate, but they might not be available in older Orchestrator versions.
More details about this endpoint can be found at Orchestrator’s Swagger page, which can be accessed according to the instructions at API References.
Related post in case of Automation Cloud: How to add QueueItem using Cloud Orchestrator API