automation-get-result
- 25 Oct 2024
-
DarkLight
-
PDF
automation-get-result
- Updated on 25 Oct 2024
-
DarkLight
-
PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Purpose
This automation returns Itential job variables given a specific automation ID.
automation-get-result
API used:
/operations-manager/jobs/:id
Input
Inputs | Data Type | Sample Input | Description |
---|---|---|---|
instance_name | Dropdown (String) | SE Lab Prod 2023.1 | The IAP instance name |
automation_id | String | 4278c701b83943b08a98*** | The Automation ID of the automation to get its status |
token (optional) | string | 9f0999c2-7054-4820-8eeb-c3052d30acaa | Authentication token or empty if an API key is used |
Output
Output | Data Type | Sample Output | Description |
---|---|---|---|
automation-result | JSON | Sample output shown below. | Returns the resulting variables from the automation. |
Sample Output
{
"initiator": "user.user@itential.com",
"_id": "2df0119b027a4acda713739c"
}
Error Output
Error Output | Data Type | Sample Output | Description |
---|---|---|---|
error_message | String | Malformed url encountered: Protocol is missing in the URL | Error message |
Was this article helpful?