Copy Inventory

Use this API to create a copy of an existing inventory.

Path Params
string
enum
required

The name property of the schema.

Allowed:
uuid
required

The unique identifier of the inventory record to copy.

Query Params
boolean
Defaults to true

Flag to indicate if the copy should inherit attributes from the master inventory.

boolean
Defaults to false

Flag to indicate if related records should also be copied.

boolean
Defaults to false

Flag to indicate if the copy should be created as a child of the original inventory.

Body Params
uuid

Unique identifier of the inventory item

organization
object

Organization reference to which the inventory belongs

boolean

Flag indicating if the current user can view inventory details

string

Name of the inventory

string
enum

Risk level of the inventory

Allowed:
number

Risk score of the inventory

status
object

Status of the inventory

string

External identifier of the inventory

date-time

Date and time when the inventory was created

createdBy
object

Reference to the user who created the inventory

date-time

Date and time when the inventory was last updated

updatedBy
object

Reference to the user who last updated the inventory

selectFields
object

Map of select fields with their values

textFields
object

Map of text fields with their values

int64

Sequence number of the inventory

boolean

Flag indicating if this inventory is a parent

boolean

Flag indicating if this inventory inherits from master

uuid

ID of the parent inventory

string

Reference to the master record

workflow
object

Reference to the workflow associated with this inventory

workflowStage
object

Current workflow stage of the inventory

string
enum

Inherent risk level of the inventory

Allowed:
number

Inherent risk score of the inventory

string
enum

Target risk level of the inventory

Allowed:
number

Target risk score of the inventory

string
enum

Total hierarchy risk level of the inventory

Allowed:
number

Total hierarchy risk score of the inventory

string
enum

Total hierarchy inherent risk level of the inventory

Allowed:
number

Total hierarchy inherent risk score of the inventory

string
enum

Total hierarchy target risk level of the inventory

Allowed:
number

Total hierarchy target risk score of the inventory

string
enum

Type of deletion for the inventory

Allowed:
string

Reason for deletion of the inventory

uuid

ID of the user who deleted the inventory

date-time

Date and time when the inventory was deleted

boolean

Flag indicating if global attribute configuration is enabled

uuid

ID of the source inventory

string

ID of the integration workflow

string

Type of the source inventory

string

Type of review for the inventory

similarRecord
object

Similar record detail for the inventory

boolean
boolean
Responses
200

OK - Inventory successfully copied.

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

500

Internal Server Error

Language
Credentials
OAuth2
Missing 2 required scopes
URL
LoadingLoading…
Response
Choose an example:
*/*