- Primeros pasos
- Definición de Swagger
- API de Orchestrator
- Solicitudes de alertas
- Solicitudes de activos
- Solicitudes de calendario
- Solicitudes de entornos
- Solicitudes de carpetas
- Solicitudes de tareas genéricas
- Solicitudes de trabajos
- Solicitudes de bibliotecas
- Solicitudes de licencia
- Solicitudes de paquetes
- Solicitudes de permisos
- Solicitudes de espacios de trabajo personales
- Solicitudes de procesos
- Procesar solicitudes de política de retención de datos
- Solicitudes de elementos en cola
- Solicitudes de política de retención de cola
- Solicitudes de robots
- Solicitudes de roles
- Solicitudes de horarios
- Solicitudes de configuración
- Solicitudes de cubos de almacenamiento
- Solicitudes de tareas
- Solicitudes de catálogos de tareas
- Solicitudes de formularios de tareas
- Solicitudes de tenants
- Solicitudes de transacciones
- Solicitudes de usuario
- Solicitudes de Webhooks
Solicitudes de paquetes
Obtener
https://cloud.uipath.com/{organizationName}/{tenantName}/orchestrator_/odata/Processes/UiPath.Server.Configuration.OData.GetProcessVersions(processId='QueueItemsProcessing')
{
"@odata.context": "https://cloud.uipath.com/{organizationName}/{tenantName}/orchestrator_/odata/$metadata#Processes",
"@odata.count": 2,
"value": [
{
"IsActive": true,
"SupportsMultipleEntryPoints": false,
"MainEntryPointPath": null,
"RequiresUserInteraction": true,
"TargetFramework": "Legacy",
"Title": null,
"Version": "1.0.6981.35861",
"Key": "QueueItemsProcessing:1.0.6981.35861",
"Description": "Process items from an Orchestrator queue.",
"Published": "2021-07-23T16:40:07.793Z",
"IsLatestVersion": false,
"OldVersion": null,
"ReleaseNotes": null,
"Authors": "petrina.calota",
"ProjectType": "Undefined",
"Tags": null,
"Id": "QueueItemsProcessing",
"Arguments": {
"Input": "[{\"name\":\"argument1\",\"type\":\"System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\"required\":false,\"hasDefault\":true},{\"name\":\"argument2\",\"type\":\"System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\"required\":false,\"hasDefault\":false},{\"name\":\"argument3\",\"type\":\"System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\"required\":false,\"hasDefault\":true}]",
"Output": null
}
}
]
}
{
"@odata.context": "https://cloud.uipath.com/{organizationName}/{tenantName}/orchestrator_/odata/$metadata#Processes",
"@odata.count": 2,
"value": [
{
"IsActive": true,
"SupportsMultipleEntryPoints": false,
"MainEntryPointPath": null,
"RequiresUserInteraction": true,
"TargetFramework": "Legacy",
"Title": null,
"Version": "1.0.6981.35861",
"Key": "QueueItemsProcessing:1.0.6981.35861",
"Description": "Process items from an Orchestrator queue.",
"Published": "2021-07-23T16:40:07.793Z",
"IsLatestVersion": false,
"OldVersion": null,
"ReleaseNotes": null,
"Authors": "petrina.calota",
"ProjectType": "Undefined",
"Tags": null,
"Id": "QueueItemsProcessing",
"Arguments": {
"Input": "[{\"name\":\"argument1\",\"type\":\"System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\"required\":false,\"hasDefault\":true},{\"name\":\"argument2\",\"type\":\"System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\"required\":false,\"hasDefault\":false},{\"name\":\"argument3\",\"type\":\"System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\"required\":false,\"hasDefault\":true}]",
"Output": null
}
}
]
}
La siguiente solicitud le permite descargar el paquete con el nombre "add_queue_items" y la versión 1.0.6654.27080.
Obtener
https://cloud.uipath.com/{organizationName}/{tenantName}/orchestrator_/odata/Processes/UiPath.Server.Configuration.OData.DownloadPackage(key='add_queue_items:1.0.6654.27080')
/odata/Processes/UiPath.Server.Configuration.OData.GetArguments(key='key')
devuelve todos los argumentos de entrada y salida de un paquete específico, su tipo y si tienen un valor predeterminado. Los argumentos In, Out o In / Out de un proyecto se convierten en parámetros de entrada y salida en Orchestrator.
Obtener
https://cloud.uipath.com/{organizationName}/{tenantName}/orchestrator_/odata/Processes/UiPath.Server.Configuration.OData.GetArguments(key='input_output_test%3A1.3.5')
{
"@odata.context": "https://cloud.uipath.com/{organizationName}/{tenantName}/orchestrator_/odata/$metadata#UiPath.Core.Arguments.ArgumentMetadata",
"Input": "[\r\n {\r\n \"name\": \"age\",\r\n \"type\": \"System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"required\": false,\r\n \"hasDefault\": false\r\n },\r\n {\r\n \"name\": \"Array\",\r\n \"type\": \"System.Int32[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"required\": false,\r\n \"hasDefault\": true\r\n },\r\n {\r\n \"name\": \"trueOrFalse\",\r\n \"type\": \"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"required\": false,\r\n \"hasDefault\": true\r\n },\r\n {\r\n \"name\": \"dateNow\",\r\n \"type\": \"System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"required\": false,\r\n \"hasDefault\": true\r\n },\r\n {\r\n \"name\": \"stringNew\",\r\n \"type\": \"System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"required\": false,\r\n \"hasDefault\": false\r\n },\r\n {\r\n \"name\": \"arrayStrings\",\r\n \"type\": \"System.String[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"required\": false,\r\n \"hasDefault\": false\r\n },\r\n {\r\n \"name\": \"inOutTry\",\r\n \"type\": \"System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"required\": false,\r\n \"hasDefault\": false\r\n }\r\n]",
"Output": "[\r\n {\r\n \"name\": \"output\",\r\n \"type\": \"System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"name\": \"inOutTry\",\r\n \"type\": \"System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n }\r\n]"
}
{
"@odata.context": "https://cloud.uipath.com/{organizationName}/{tenantName}/orchestrator_/odata/$metadata#UiPath.Core.Arguments.ArgumentMetadata",
"Input": "[\r\n {\r\n \"name\": \"age\",\r\n \"type\": \"System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"required\": false,\r\n \"hasDefault\": false\r\n },\r\n {\r\n \"name\": \"Array\",\r\n \"type\": \"System.Int32[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"required\": false,\r\n \"hasDefault\": true\r\n },\r\n {\r\n \"name\": \"trueOrFalse\",\r\n \"type\": \"System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"required\": false,\r\n \"hasDefault\": true\r\n },\r\n {\r\n \"name\": \"dateNow\",\r\n \"type\": \"System.DateTime, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"required\": false,\r\n \"hasDefault\": true\r\n },\r\n {\r\n \"name\": \"stringNew\",\r\n \"type\": \"System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"required\": false,\r\n \"hasDefault\": false\r\n },\r\n {\r\n \"name\": \"arrayStrings\",\r\n \"type\": \"System.String[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"required\": false,\r\n \"hasDefault\": false\r\n },\r\n {\r\n \"name\": \"inOutTry\",\r\n \"type\": \"System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\r\n \"required\": false,\r\n \"hasDefault\": false\r\n }\r\n]",
"Output": "[\r\n {\r\n \"name\": \"output\",\r\n \"type\": \"System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n },\r\n {\r\n \"name\": \"inOutTry\",\r\n \"type\": \"System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\"\r\n }\r\n]"
}
/odata/Processes/UiPath.Server.Configuration.OData.SetArguments
.
Esta llamada anula todos los parámetros anteriores y ofrece validación.
Además, ten en cuenta que este punto final se puede usar para cambiar los parámetros de entrada y salida de un paquete de automatización solo si no lo cargaste en Orchestrator a través de la API, la página Paquetes o la fuente NuGet.
Si deseas actualizar solo los valores de los parámetros de entrada, puedes hacerlo para los procesos, los trabajos y/o la programación.
Publicar
https://cloud.uipath.com/{organizationName}/{tenantName}/orchestrator_/odata/Processes/UiPath.Server.Configuration.OData.SetArguments
{
"key": "input_output_test:1.3.6",
"arguments": {
"Input": "[{\"name\":\"arg1\", \"type\": \"System.String\", \"required\": false}]",
"Output": "[{\"name\":\"outputArg\", \"type\":\"System.String\", \"required\":false}]"
}
}
{
"key": "input_output_test:1.3.6",
"arguments": {
"Input": "[{\"name\":\"arg1\", \"type\": \"System.String\", \"required\": false}]",
"Output": "[{\"name\":\"outputArg\", \"type\":\"System.String\", \"required\":false}]"
}
}
Obtener
https://cloud.uipath.com/{organizationName}/{tenantName}/orchestrator_/odata/Processes
{
"@odata.context": "https://cloud.uipath.com/{organizationName}/{tenantName}/orchestrator_/odata/$metadata#Processes",
"@odata.count": 2,
"value": [
{
"IsActive": false,
"SupportsMultipleEntryPoints": false,
"MainEntryPointPath": null,
"RequiresUserInteraction": true,
"TargetFramework": "Legacy",
"Title": null,
"Version": "1.0.6981.35861",
"Key": "QueueItemsProcessing:1.0.6981.35861",
"Description": "Process items from an Orchestrator queue.",
"Published": "2021-07-23T16:40:07.7933333Z",
"IsLatestVersion": false,
"OldVersion": null,
"ReleaseNotes": null,
"Authors": "petrina.calota",
"ProjectType": "Undefined",
"Tags": null,
"Id": "QueueItemsProcessing",
"Arguments": {
"Input": "[{\"name\":\"argument1\",\"type\":\"System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\"required\":false,\"hasDefault\":true},{\"name\":\"argument2\",\"type\":\"System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\"required\":false,\"hasDefault\":false},{\"name\":\"argument3\",\"type\":\"System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\"required\":false,\"hasDefault\":true}]",
"Output": null
}
}
]
}
{
"@odata.context": "https://cloud.uipath.com/{organizationName}/{tenantName}/orchestrator_/odata/$metadata#Processes",
"@odata.count": 2,
"value": [
{
"IsActive": false,
"SupportsMultipleEntryPoints": false,
"MainEntryPointPath": null,
"RequiresUserInteraction": true,
"TargetFramework": "Legacy",
"Title": null,
"Version": "1.0.6981.35861",
"Key": "QueueItemsProcessing:1.0.6981.35861",
"Description": "Process items from an Orchestrator queue.",
"Published": "2021-07-23T16:40:07.7933333Z",
"IsLatestVersion": false,
"OldVersion": null,
"ReleaseNotes": null,
"Authors": "petrina.calota",
"ProjectType": "Undefined",
"Tags": null,
"Id": "QueueItemsProcessing",
"Arguments": {
"Input": "[{\"name\":\"argument1\",\"type\":\"System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\"required\":false,\"hasDefault\":true},{\"name\":\"argument2\",\"type\":\"System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\"required\":false,\"hasDefault\":false},{\"name\":\"argument3\",\"type\":\"System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\",\"required\":false,\"hasDefault\":true}]",
"Output": null
}
}
]
}
- Recuperar todas las versiones disponibles para un paquete específico
- Solicitar encabezados.
- Código de respuesta
- Cuerpo de respuesta
- Descargar una versión de paquete específica
- Solicitar encabezados.
- Código de respuesta
- Recuperar Argumentos de un paquete
- Solicitar encabezados.
- Código de respuesta
- Cuerpo de respuesta
- Cambiar los parámetros a nivel de paquete
- Solicitar encabezados.
- Solicitar cuerpo
- Código de respuesta
- Recuperar paquetes
- Solicitar encabezados.
- Código de respuesta
- Cuerpo de respuesta