Create 3D asset mappings

Create asset mappings

Asset mappings allows connections to be made between assets and 3D nodes. This can be used to contextualize 3D models.

In Hybrid CDF projects: When creating asset mappings, the asset ids and node Ids are allowed to be invalid or non-existing. The mappings are NOT maintained by any means from CDF, meaning they will be stored until the mapping is removed through the 3d asset mappings delete endpoint.

In DataModelingOnly CDF projects: When creating asset mappings, the data model based assetInstanceId (with space and externalId), and the 3d model revision nodeId, must be accessible, existing and valid.

Securityoidc-token or oauth2-client-credentials or oauth2-open-industrial-data or oauth2-auth-code
Request
path Parameters
modelId
required
integer <int64>

Model ID.

revisionId
required
integer <int64>

Revision ID.

Request Body schema: application/json
required

The asset mappings to create.

One of:
required
Array of objects (CreateAssetMapping3D) [ 1 .. 1000 ] items
Responses
201

A list of created asset mappings.

400

The response for a failed request.

post/3d/models/{modelId}/revisions/{revisionId}/mappings
Request samples
application/json
{
  • "items": [
    • {
      }
    ]
}
Response samples
application/json
{
  • "items": [
    • {
      }
    ]
}