Add data items in orchestrator queue using rest api

URL -UiPath

Header
X-UiPath-OrganizationUnitId: FOLDER_ID
Content-Type: application/json
X-UiPath-QueueName: QueueName

Body
{
“itemData”: {
“Priority”: “High”,
“SpecificContent”: {
“testdata@odata.type”: “#String”,
“testdata”: “Testymonika2003”
}
}
}
I am trying this code but it is giving ‘queueItemParameters must not be null’ when i’m passing queue name in Body it is working but not in header.
Can anyone please help me on this

we would recommend

  • prototype it within swagger
    include also:
"DeferDate":null,
"DueDate": null",
Progress.
.....

till it is working