How can we help?

Searching:

0 results found

Tasks/Get (Specific)

GET odata/tasks/[id]

Description

Gets the details of a specific Task.

See the following for request and response details ‒

See Also

Request ‒ Tasks/Get (Specific)

Property Type Description
id String This is the unique identifier automatically assigned by Axonize when a Task is created.

Example JSON Tasks/Get (Specific) Request

curl -X GET \

https://api.dev.axonize.com/odata/Tasks/00261C68-0EBC-45FF-AE39-8D696EE6D91F \

-H ‘Accept: application/json, text/plain, */*’ \

-H ‘Accept-Language: en-US,en;q=0.9’ \

-H ‘Content-Type: application/json’ \

-H ‘appId: 289a7624-c590-4b4c-b15a-7801d8902ce9’ \

-H ‘cache-control: no-cache’ \

Response ‒ Tasks/Get (Specific)

The response that is returned contains the following properties –

Property Type Description
name String The Task name.
displayName String The Task name that displays in the Axonize Portal.
entity String The entity that defines the task group, such as Devices, Alarm Instances, Rules, Products and so on.
id String The task ID.
appId String The ID of the master application associated with the Task.
createDate See Common Response Properties.

Example JSON Tasks/Get (Specific) Response

Status 200 – OK

{

“@odata.context”:”https://dev-axonizeapi-axonize.dev-ase-axonize.p.azurewebsites.net/odata/$metadata#Tasks/$entity”,

“name”: “locales-fullcontrol”,

“displayName”: “msg_authtask_locales_fullcontrol”,

“entity”: “Locales”,

“id”: “00261C68-0EBC-45FF-AE39-8D696EE6D91F”,

“appId”: null,

“creationDate”: “2018-08-19T07:37:55.283Z”,

“taskToEndpoints”: [

{

“taskId”: “00261C68-0EBC-45FF-AE39-8D696EE6D91F”,

“endpointId”: “93C77623-D4A4-45C4-9585-6FFEC8B0A84D”,

“uiPermissionType”: 0

}

]

}