Create Column Mapping
  • 13 Mar 2024
  • 1 Minute to read
  • Dark
    Light
  • PDF

Create Column Mapping

  • Dark
    Light
  • PDF

Article Summary

Post
/internal-assets/4.0/column-mapping/{envId}/{assetTemplateId}/{attributeKey}

Create a new Column Mapping for the specified Asset Template ID and Attribute Key.

Path parameters
assetTemplateId
stringRequired

The Asset Template ID can be found under the Details tab of the relevant Asset Type.

envId
string (uuid) Required

The Environment ID can be found under the Details Tab in the Environment Settings.

attributeKey
stringRequired

To locate the Attribute Key, select the relevant Asset Type and click on Asset Attributes.

Body parameters

Column Mapping to create

object

Column mapping

columnName
string

Column Name

tableName
string

Table Name

Responses
201

Successful operation

Headers
x-request-id
string
The ID of the request
Expand All
object

Response object

data
object (ColumnMapping)

Data mapping

assetTemplateId
string

Asset Template ID

attributeKey
string

Attribute Key

columnName
string

Column Name

envId
string (uuid)

Environment ID

id
string (uuid)

Mapping ID

tableName
string

Table Name

400

Table name is not unique OR Table Not Found

Headers
x-request-id
string
The ID of the request
Expand All
object

Response object

errors
Array of object (Error)
object

Error object

args
object
code
string
id
string
message
string
name
string
status
integer
401

Unauthorized

Headers
x-request-id
string
The ID of the request
Expand All
object

Response object

errors
Array of object (Error)
object

Error object

args
object
code
string
id
string
message
string
name
string
status
integer
404

Object not found

Headers
x-request-id
string
The ID of the request
Expand All
object

Response object

errors
Array of object (Error)
object

Error object

args
object
code
string
id
string
message
string
name
string
status
integer
500

Internal Server Error

Headers
x-request-id
string
The ID of the request
Expand All
object

Response object

errors
Array of object (Error)
object

Error object

args
object
code
string
id
string
message
string
name
string
status
integer

Was this article helpful?