CI Lifecycle Management API - POST /now/cilifecyclemgmt/actions

Add an action to a list of CIs.

URL format

Versioned URL: api/now/v1/cilifecyclemgmt/actions

Default URL: api/now/cilifecyclemgmt/actions

Supported request parameters

Table 1. Parameters
Parameter Description
requestorid A sys_id of a workflow context, or the GUID returned from the registerOperator (POST) interface.
sysIds A list comma separated list of CI sys_ids.
actionName The CI action name.
oldActionNames (Optional) A comma separated list of old CI actions that all CIs should be in.
leaseTime (Optional) Time duration for which the lease is valid for specified CI Action. In the format HH:MM:SS.

Headers

The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.

Table 2. Request headers
Header Description
Table 3. Response headers
Header Description

Status codes

The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, seeREST response codes.

Table 4. Status codes
Status code Description
200 Indicates the request completed successfully.

Response payload

A JSON formatted string with name-value pairs for
  • result - true if the action is set for all CIs in the list; otherwise, false.
  • errors - list of errors.