Add Queue Item
POST {{cloudUrl}}/{{cloudOrg}}/{{cloudTenant}}/odata/Queues/UiPathODataSvc.AddQueueItem
Configuration
Property | Description | Type | Source |
---|
Queue | The name of the queue to which to submit the queue item. | Dynamic List | Get Queue Definitions API. The Name is displayed to the user and is also passed in the subsequent call. |
Priority | The priority to apply to the queue item. | Static List | Low, Normal, High. |
DeferDate | The earliest date and time at which the item is available for processing. If empty the item can be processed as soon as possible. | DateTime | |
DueDate | The latest date and time at which the item should be processed. If empty the item can be processed at any given time. | DateTime | |
RiskSlaDate | The RiskSla date at time which is considered as risk zone for the item to be processed. | DateTime | |
Reference | A string reference for the queue item. | Text | |
SpecificContent | Data that will be passed in to the job. | JSON Object | |
Request Params
Key | Datatype | Required | Description |
---|
$expand | null | | Indicates the related entities to be represented inline. The maximum depth is 2. |
$select | null | | Limits the properties returned in the result. |
Request Body
{"itemData"=>{"DeferDate"=>"2021-03-11T14:19:56.4407392Z", "DueDate"=>"2021-03-11T15:19:56.4407392Z", "Priority"=>"Normal", "Name"=>"UnattendedQueue", "SpecificContent"=>{"Name@odata.type"=>"#String", "Name"=>"Testymonika2000", "Age"=>43, "Status"=>false}, "Reference"=>"Petstore"}}
Key | Datatype | Required | Description |
---|
X-UIPATH-OrganizationUnitId | string | | Folder/OrganizationUnit Id |
Content-Type | string | | |
RESPONSES
status: Created
{"@odata.context":"https://cloud.uipath.com/org/tenant/orchestrator_/odata/$metadata#QueueItems/$entity","QueueDefinitionId":28211,"OutputData":null,"AnalyticsData":null,"Status":"New","ReviewStatus":"None","ReviewerUserId":null,"Key":"883749b2-70cd-4beb-b0a7-4fd260d26635","Reference":"Petstore","ProcessingExceptionType":null,"DueDate":"2021-03-11T15:19:56.4407392Z","RiskSlaDate":null,"Priority":"Normal","DeferDate":"2021-03-11T14:19:56.4407392Z","StartProcessing":null,"EndProcessing":null,"SecondsInPreviousAttempts":0,"AncestorId":null,"RetryNumber":0,"SpecificData":"{\"DynamicProperties\":{\"Name\":\"Testymonika2000\"}}","CreationTime":"2021-03-31T12:55:21.7835527Z","Progress":null,"RowVersion":"AAAAAAbEaR8=","OrganizationUnitId":515128,"OrganizationUnitFullyQualifiedName":null,"Id":45403309,"ProcessingException":null,"SpecificContent":{"Name":"Testymonika2000"},"Output":null,"Analytics":null}