Virima API



Home
Commons
Constructs
Error Codes
Tester


SERVICES
CertificateManagementService
AgentResourceMonitor
AndroidService
AnnouncementService
AssetLicenseEntitlementService
ConsumableService
HardwareAssetService
OtherAssetService
SoftwareLicenseAssetService
StockRoomService
StockRoomTypeService
UserLicenseEntitlementService
AuditRecordService
BSMService
AvailabilityService
CommitmentScheduleService
OutagesService
OutScopeService
BusinessService
ServiceCommitment
ServiceOffering
InScopeService
ChangeAttributeService
ChangeApprovalServices
CherwellIntegrationService
CmdbAuditService
CMDBCIRelationship
CMDBCIVersion
CMDBCIService
CommentService
CommonService
ConfigurationServices
ContractService
CorrelationService
CostCenterService
CredentialService
CustomerService
CustomizedColumnsService
CyberArkService
DemandService
DesignationService
DevOpsService
DiscoveryService
DiscoveryMonitoringProfileService
DiscoveryClientService
DiscoveryPattern
DiscoveryScanService
DiscoveryScanSplitService
Document
DuplicatesAndRemediation
EMEmailService
EventService
ExternalAlertService
FederationService
FileService
FinanceService
GetRecordService
GroupProbeService
HelpDeskDashboardService
HomePageService
ImportCIService
ImportITILService
IncidentService
PriorityService
TimescaleService
IncidentAttributeService
InfoBloxService
AssetsAuditService
ITILMetricService
ITSMChangeService
ITSMTicketMgtService
IvantiIntegrationService
JiraIntegrationService
KnowledgeAttributeService
KnowledgeManagementService
LocationService
LoginService
MajorSoftwareService
MFAService
MMCCertificateService
OwnerService
PreprocessorService
PurchaseOrderService
PurchaseOrderLineItemService
ReceivingSlipService
ReceivingSlipsLineService
RequestItemService
RequestProcurementService
TransferOrderService
ProbeService
ProblemService
ProblemAttributeService
ProcessNetworkConnections
ProcessjobsService
ProgramService
ProjectService
PropertyGroupService
ReleaseManagementService
ReportDashBoardService
ReportingService
ReportingClauseService
ReportingOrderService
ReportPresentationService
RequestService
RequestAttributeService
AssessmentMasterAndQuestionService
RiskMangaementService
RoleAccessService
RuleService
RunBookService
SAMLService
SampleService
ScanService
SDPService
SearchService
SensorService
ServiceCatalog
ServiceNowMappingService
ServiceNowRecordService
SLAService
SoftwareMetricsService
ImportSpiceWorkTicketsService
SurveyMastersAndQuestions
TagService
TaskService
TaskTimeTrackingService
TimeTrackingExportService
TimeTrackingService
UCFADService
UnfuddleService
UserDepartmentService
UserGroupService
UserRoleService
UserService
VCenterHeirarchyService
VCenterTagsService
VendorService
WorkflowService
MenuService

Virima API Specification - RunBookService Services

The requests documented in this section are directed to RunBookService resources, which represent .

editRunBook POST Interface

Method: POST

Relative URL: runbook/edit-runbook

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
runbookInfoRunBook

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

EDITRUNBOOK 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "id":2147483647,
   "runBookName":"?",
   "description":"?",
   "lastModifiedOn":?,
   "createdOn":?,
   "uniqueId":"?",
   "archive":?,
   "lastModifiedBy": {
         "id":1536028071,
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      },
   "createdBy": {
         "id":2147483647,
         "stringobj":"?",
         "shortName":"?",
         "s3Name":"?",
         "uniqueId":"?",
         "lineType":"?",
      }
}

Example Response:

{
   "id":1351597695,
   "response":"?"
}

editRunBookTasks POST Interface

Method: POST

Relative URL: runbook/edit-runbook-tasks/run-book-id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
arrayOfTasksArrayOfRunBookTask

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

EDITRUNBOOKTASKS 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "id":319882380,
   "runBookTask":[
      {
         "id":2147483647,
         "taskName":"?",
         "commandType":"?",
         "command":"?",
         "timeOut":"?",
         "cascadeOnError":?,
         "cascadeOnSuccess":?,
         "waitTime":"?",
         "host":"?",
         "client":"?",
         "taskOrder":?,
         "probe":?,
         "lastModifiedOn":?,
         "createdOn":?,
         "uniqueId":"?",
         "archive":?,
         "runBook": {
               "id":181313480,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            }
      }   ]
}

Example Response:

{
   "id":2147483647,
   "response":"?"
}

getAllRunBookTasks GET Interface

Method: GET

Relative URL: runbook/get-all-runbook-task/run-book-id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":2147483647,
   "response":"?"
}

deleteMultipleRunbookTask POST Interface

Method: POST

Relative URL: runbook/delete-multiple-runbook-tasks

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
listOfIdsRecordList

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

DELETEMULTIPLERUNBOOKTASK 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "id":35415466,
   "scanId":?,
   "workflowId":?,
   "fromSACM":?,
   "customerId":"?",
   "userId":"?",
   "startTime":"?",
   "idList":[
      {
         "id":1011016666,
         "flag":?
      }   ]
}

Example Response:

{
   "id":2147483647,
   "response":"?"
}

getAllEmptyRunBookTasks GET Interface

Method: GET

Relative URL: runbook/get-all-empty-runbook-task/run-book-id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":2147483647,
   "response":"?"
}

updateAndMarkRunbookTask POST Interface

Method: POST

Relative URL: runbook/update-mark-runbook-tasks/run-book-id/id/module

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
arrayOfTasksArrayOfRunBookTask

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

UPDATEANDMARKRUNBOOKTASK 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "id":2147483647,
   "runBookTask":[
      {
         "id":2147483647,
         "taskName":"?",
         "commandType":"?",
         "command":"?",
         "timeOut":"?",
         "cascadeOnError":?,
         "cascadeOnSuccess":?,
         "waitTime":"?",
         "host":"?",
         "client":"?",
         "taskOrder":?,
         "probe":?,
         "lastModifiedOn":?,
         "createdOn":?,
         "uniqueId":"?",
         "archive":?,
         "runBook": {
               "id":2147483647,
               "stringobj":"?",
               "shortName":"?",
               "s3Name":"?",
               "uniqueId":"?",
               "lineType":"?",
            }
      }   ]
}

Example Response:

{
   "id":837625577,
   "response":"?"
}

executeRunBook GET Interface

Method: GET

Relative URL: runbook/execute-runbook/run-book-id/incident-id/module/workflow-id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":152164725,
   "response":"?"
}

getRunBookTaskById GET Interface

Method: GET

Relative URL: runbook/get-runbook-task-by-id/run-book-id

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Response Structure:

Field NameTypeDescription
responseResponse

Example Request:

Example Response:

{
   "id":2147483647,
   "response":"?"
}

resetPassword POST Interface

Method: POST

Relative URL: runbook/reset-password

Request Headers: Accept, Authorization

Response Headers: Content-Length, Content-Type.

Request Structure:

Field NameTypeDescription
resetPasswordResetADPassword

Response Structure:

Field NameTypeDescription
respResponse

Example Request:

RESETPASSWORD 
Host: example.com
Authorization: Basic xxxxxxxxxxxxxxxxxxx
Content-Type : nnn
{
   "email":"?",
   "instance":"?",
   "requestId":"?",
   "customerId":"?",
   "taskId":"?"
}

Example Response:

{
   "id":2147483647,
   "response":"?"
}