v2

latestOpenAPI 3.0.12026-07-263104131.9 MB
Asset Relationships

Create multiple asset relationships

Creates one or more relationships between assets. Returns both successful creations and any failures.

post/v2/itam/asset-relationship

Request body

sourceIdinteger

Unique identifier of the source entity

sourceType'DEVICE' | 'CHECKLIST' | 'CONTACT' | 'CREDENTIAL' | 'APPS_SERVICES_DOCUMENT' | 'TECHNICIAN' | 'END_USER' | 'KB_ARTICLE' | 'LOCATION' | 'ORGANIZATION'

Type of the source entity

targetIdinteger

Unique identifier of the target entity

targetType'DEVICE' | 'CHECKLIST' | 'CONTACT' | 'CREDENTIAL' | 'APPS_SERVICES_DOCUMENT' | 'TECHNICIAN' | 'END_USER' | 'KB_ARTICLE' | 'LOCATION' | 'ORGANIZATION'

Type of the target entity

relationshipTypeIdinteger

Unique identifier of the relationship type

Response

Partial or full success - returns successfully created relationships and any errors