GET /tasks/schedules/actions
Use this method to return a list of actions that can be scheduled as jobs.
Authentication
Authentication with username and password is required.
Request URL
GET https://{management_server_IP}/tasks/schedules/actions
Query parameters
None
Request body
None
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
400 | Bad Request | A query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body. |
401 | Unauthorized | The user cannot be authenticated. Authentication has not been provided or has failed. A descriptive error message is returned in the response body. |
403 | Forbidden | The orchestrator server was prevented from fulfilling the request. A descriptive error message is returned in the response body. Ensure that you have privileges to perform the request. |
404 | Not found | A specified resource cannot be found. A descriptive error message is returned in the response body. |
409 | Conflict | There is a conflict with the current state of the resource. A descriptive error message is returned in the response body. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
Attributes | Type | Description | ||
---|---|---|---|---|
id | String | Action ID | ||
title | String | Action name |
The following example is returned if the request is successful.
[
{ "id": "PowerOff001", "title": "Power OFF device" },
{ "id": "Restart001", "title": "Restart device" },
{ "id": "PowerOn001", "title": "Power ON device" },
{ "id": "FfdcCollect1", "title": "Collect Service Data from Device" }
]
Give documentation feedback