Skip to main content

Get Asset Integration Map

GET 

/api/inspect/v1/asset/integration/map

This API retrieves an asset integration map to assist with system integration. The map contains asset-related entities, such as spot templates, spot fields, and spot field options, linked to their respective IDs. These mappings are useful for system-to-system integrations, where ID references are required to link assets, spots, and fields with specific configurations. The API returns mappings based on their visible labels, names, or other text identifiers.

Request

Query Parameters

    companyID stringrequired

    The unique identifier of the company for which the assets are to be fetched. This parameter specifies the context of the integration map and limits the results to the assets belonging to this company.

    assetIDs string

    [Optional] A comma-separated list of asset IDs for which the integration map is to be fetched. This parameter ensures that the integration map is generated only for the specified assets.

Responses

200 OK. The request was successful, and the integration map was returned. The response includes a mapping of asset-related entities, such as spot templates, spot fields, and spot field options, to their respective unique identifiers.

Schema

    data

    object

    The data object containing the integration map for each asset with asset name as key.

    property name*

    AssetNameMap

    The name of the asset mapped to its details.

    fields

    object

    A map of spot field names to spot field details. This mapping links each field within the asset to its identifier and associated options.

    property name*

    SpotFieldNameMap

    The name of the spot field mapped to its details.

    id string

    The unique identifier (UUID) of the spot field.

    options

    object

    A map of spot field option names to their unique identifiers. This allows mapping of the field options (such as dropdown values) to their corresponding IDs.

    property name* string

    The name of the spot field option mapped to its unique identifier (UUID).

    id uuid

    The unique identifier (UUID) of the asset.

    templates

    object

    A map of spot template names to spot template IDs. This mapping links each spot template in the asset to its respective identifier.

    property name* string

    The name of the spot template mapped to its unique identifier (UUID).

Loading...