Get Runbookcode
| API | GetRunbookcode |
| Purpose | To get data of the runbookcode. |
| API URL |
https://\<API URL\>:\<API Port\>//v2/runbook/runbookcode/orgentityid/{orgentityid}` |
| Authentication type | Basic /Token |
| Method Input | GET |
| Input Params in Query String: |
You can pass the following filters in the URL to get desired data:
|
Parameters Required in Request body of API
| Column | Column type | Remarks |
|---|---|---|
| orgentityid | string | The organization entity ID. |
| runbooktoolid | string | The runbook tool ID. |
| runbookname | string | The name of the runbook |
Output:
{
"Count": 1,
"Result": [
{
"RunbookUniqueName": "",
"RunbookScript": "runbook script code"
}
],
"Status": "Success",
"Message": "Runbook code retrieved successfully."
}
Parameters Returned in API result
| Column | Column type | Value | Remarks |
|---|---|---|---|
| Result | json | Runbook details | Runbook code |
| Status | String | Success/Fail | This field provide status |
| Message | String | Message | This field provides Message |