Orchestrator HTTP Request for ORG Units

Has anyone used orchestrator Http Request, how do we pass X-UIPATH-OrganizationUnitId in the json payload?
Thanks

Please check the below link -

https://docs.uipath.com/orchestrator/reference#building-api-requests

Please refer to the section building API requests

Regards,
Karthik Byggari

Thanks Karthik, I know we need add X-UIPATH-OrganizationUnitId in header, but not sure how to achieve this using orchestrator http request activity.
Thanks

Hi Rocki,
Were you able to pass X-UIPATH-OrganizationUnitId in the json payload of the Httprequest?

1 Like

Yeah, you are going to have to use the HTTP Request activity so that you can pass the Org unit in the header. It’s a pain because you are also going to have to make a call to get the authentication token first. That means you will need the robots credentials. If only UiPath could provide the option to over-ride the Orchestrator HTTP Request activity to provide the org unit in the header. Using the robots context is just cleaner.

Chris

In the Orchestrator HTTP Request activity there is input Misc argument “Folder Path”. You could use it instead.