Skip to content

Latest commit

 

History

History
executable file
·
77 lines (57 loc) · 4.08 KB

TaskActivitiesApi.md

File metadata and controls

executable file
·
77 lines (57 loc) · 4.08 KB

uipath_orchestrator_rest.TaskActivitiesApi

All URIs are relative to https://cloud.uipath.com/jcaravaca42/jorge_pruebas/orchestrator_/

Method HTTP request Description
task_activities_get_by_task_id GET /odata/TaskActivities/UiPath.Server.Configuration.OData.GetByTaskId(taskId={taskId}) Gets Task Activities for a Task

task_activities_get_by_task_id

ODataValueOfIEnumerableOfTaskActivityDto task_activities_get_by_task_id(task_id, expand=expand, filter=filter, select=select, orderby=orderby, top=top, skip=skip, count=count, x_uipath_organization_unit_id=x_uipath_organization_unit_id)

Gets Task Activities for a Task

OAuth required scopes: OR.Tasks or OR.Tasks.Read. Required permissions: Tasks.View.

Example

from __future__ import print_function
import time
import uipath_orchestrator_rest
from uipath_orchestrator_rest.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: OAuth2
configuration = uipath_orchestrator_rest.Configuration()
configuration.access_token = 'YOUR_ACCESS_TOKEN'

# create an instance of the API class
api_instance = uipath_orchestrator_rest.TaskActivitiesApi(uipath_orchestrator_rest.ApiClient(configuration))
task_id = 789 # int | Id of task
expand = 'expand_example' # str | Indicates the related entities to be represented inline. The maximum depth is 2. (optional)
filter = 'filter_example' # str | Restricts the set of items returned. The maximum number of expressions is 100. (optional)
select = 'select_example' # str | Limits the properties returned in the result. (optional)
orderby = 'orderby_example' # str | Specifies the order in which items are returned. The maximum number of expressions is 5. (optional)
top = 56 # int | Limits the number of items returned from a collection. The maximum value is 1000. (optional)
skip = 56 # int | Excludes the specified number of items of the queried collection from the result. (optional)
count = true # bool | Indicates whether the total count of items within a collection are returned in the result. (optional)
x_uipath_organization_unit_id = 789 # int | Folder/OrganizationUnit Id (optional)

try:
    # Gets Task Activities for a Task
    api_response = api_instance.task_activities_get_by_task_id(task_id, expand=expand, filter=filter, select=select, orderby=orderby, top=top, skip=skip, count=count, x_uipath_organization_unit_id=x_uipath_organization_unit_id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TaskActivitiesApi->task_activities_get_by_task_id: %s\n" % e)

Parameters

Name Type Description Notes
task_id int Id of task
expand str Indicates the related entities to be represented inline. The maximum depth is 2. [optional]
filter str Restricts the set of items returned. The maximum number of expressions is 100. [optional]
select str Limits the properties returned in the result. [optional]
orderby str Specifies the order in which items are returned. The maximum number of expressions is 5. [optional]
top int Limits the number of items returned from a collection. The maximum value is 1000. [optional]
skip int Excludes the specified number of items of the queried collection from the result. [optional]
count bool Indicates whether the total count of items within a collection are returned in the result. [optional]
x_uipath_organization_unit_id int Folder/OrganizationUnit Id [optional]

Return type

ODataValueOfIEnumerableOfTaskActivityDto

Authorization

OAuth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]