Using the Orchestrator API to get Robot ID in Postman, but not getting the value

Hello,
I am using the following API to get the Robot ID
{{Cloud url}}/odata/Robots

and the Headers are
Content-Type … application/json
X-UIPATH-TenantName … {tenantName}
X-UIPATH-OrganizationUnitId … {id}

I am getting the following output :
{
@odata.context”: “https://cloud.uipath.com/{OrgName}/{tenantName/orchestrator_/odata/$metadata#Robots”,
@odata.count”: 0,
“value”:
}

Can you please suggest something, I am using this for the very 1st time.

Thanks

The endpoint is not correct. You should use a GET request for

https://cloud.uipath.com/your_org_name/your_tenant_name/orchestrator_/odata/Robots/UiPath.Server.Configuration.OData.GetConfiguredRobots?$top=1000&$expand=User&$orderby=User/FullName%20asc

Headers:

x-uipath-organizationunitid: FOLDER_ID

@Gagan_Chaudhari ,

please find below post

@Gagan_Chaudhari ,

please read this solution

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.