Find the API result reference codes

Where to find the API result reference table, such as where Job states are represented by numerical values in the State column of dbo.jobs?

Issue Description:
Many API results, such as Job states, are represented by numerical values, as in the State column of dbo.jobs.

Resolution:
To find the Job status code (or other enumerated types and values), use the below URL after replacing the {OrchURL} with the Orchestrator URL:
https://{OrchURL}/odata/$metadata.

For Automation Cloud, https://cloud.uipath.com/odata/$metadata and variants including the organization and tenant provide the same result.

For example, if the Orchestrator URL is https://uipath.orchestrator.com, the link should be https://uipath.orchestrator.com/odata/$metadata.

1.png