V2

UpdateRunbookStatus

API UpdateRunbook
Purpose To update the status of runbook.
API URL https://<API URL>:<API Port>/v2/runbooks/orgentityid/{orgentityid}/updaterunbookstatusv2
Authentication type Basic/Token
Method Type PUT
Example: https://<API URL>:<API Port>/v2/runbooks/orgentityid/1/updaterunbookstatusv2

Input JSON:

{
"JobId": "string",
"TicketNumber": "string",
"RbaInteractionId": "string",
"RbaStatusCode": "string",
"RbaStatusMessage": "string",
"Option1": "string",
"Option2": "string",
"Option3": "string",
"Option4": "string"
}

Parameters Required in Request Body of API

Column Column type Expected/sample value Remarks
JobId string 10 (Optional) JobId of ExecuteRunbook job.
TicketNumber string 123 (Optional) 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:

Figure 1. Runbook Status

RbaStatusMessage:

Output:

{
"Id": "XXXXXXXX ",
"Status": "Success",
"Message": "Runbook status updated successfully";
}

Parameters Returned in Response of API

Column Column type Value Remarks
Id string XXXXXXXX This field provide unique number for reference
Status string Success/Fail This field provide status
Message string null or message in case of not success