Skip to main content
POST
/
3d
/
models
/
{modelId}
/
revisions
/
{revisionId}
/
mappings
JavaScript SDK
const assetMappingsToCreate = [
 {
   nodeId: 8252999965991682,
   assetId: 4354399876978078
 },
 {
   nodeId: 9034285498543958,
   assetId: 1042345809544395
 }
];
const mappings3D = await client.assetMappings3D.create(
 25432542356436,
 33485743958747,
 assetMappingsToCreate
);
{
  "items": [
    {
      "nodeId": 1003,
      "assetId": 3001,
      "assetInstanceId": {
        "space": "<string>",
        "externalId": "<string>"
      },
      "treeIndex": 3,
      "subtreeSize": 4
    }
  ]
}

Authorizations

Authorization
string
header
required

Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.

Path Parameters

modelId
integer<int64>
required

Model ID.

revisionId
integer<int64>
required

Revision ID.

Body

application/json

The asset mappings to create.

items
object[]
required
Required array length: 1 - 1000 elements

Response

A list of created asset mappings.

items
object[]
required
Last modified on April 23, 2026