UpdateRunbookStatus
Update Runbook Status
| API | UpdateRunbookStatus |
|---|---|
| Purpose | To update the status of runbook. |
| API URL | https://<API URL>:<API Port>/iAutomateAPI/Request/UpdateRunbookStatus/<OrgID> |
| Authentication type | Basic |
| Method Type | PUT |
| Example: | URL>:<API Port>/iAutomateAPI/Request/UpdateRunbookStatus/1 |
|
Input JSON:
|
|
Parameters Required in Request Body of API
| Column | Column type | Expected/sample Value | Remarks |
|---|---|---|---|
| JobId | int | 1 | The id for the ExecuteRunbook job of the organization with ID mentioned in API URL |
| TicketNumber | string | XXXXXXXX | The number of the ticket for which update needs to be sent. |
| RbaInteractionId | string | XXXXXXXX | The interaction ID generated for the ticket process. |
| RbaStatusCode | string | 1 | Refer below table. |
| RbaStatusMessage | string | test | The message from the RBA tool while updating a ticket. |
| Option1 | string | optional | This is an optional value which can be used to send extra information by Tool to store in iAutomate |
| Option2 | string | optional | This is an optional value which can be used to send extra information by Tool to store in iAutomate |
| Option3 | string | optional | This is an optional value which can be used to send extra information by Tool to store in iAutomate |
| Option4 | string | optional | This is an optional value which can be used to send extra information by Tool to store in iAutomate |
RbaStatusCode:
| Column | Column type | Value | Remarks |
|---|---|---|---|
| statusCode | int |
|
This field provide status code |
| status | string | Success/Fail | This field provide status |
| message | string | null or message in case of not success | |
| result | string | XXXXXXXX | This field provide unique number for reference |