UpdateRunbookStatusV2
| API | UpdateRunbookStatus |
|---|---|
| Purpose | To update the status of runbook. |
| API URL | https://<API URL>:<API Port>/iAutomateAPI/Request/UpdateRunbookStatusV2/<OrgID> |
| Authentication type | Basic |
| Method Type | PUT |
| Example: | https:// <API URL>:<API Port>/iAutomateAPI/Request/UpdateRunbookStatusV2/1 |
|
Input JSON:
|
|
Parameters Required in Request Body of API
| Column | Column type | Expected/sample Value | Remarks |
|---|---|---|---|
| TicketNumber | string | XXXXXXXX | The number of the ticket for which update needs to be sent. |
| RbaInteractionId | string | 135 | 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:
RbaStatusMessage:
Output:
{
"statusCode": 200,
"status": "Success",
"message": "Runbook status updated successfully",
"result": null
}
Parameters Returned in Response of API
| 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 |