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

Create Table Mapping

  • Dark
    Light
  • PDF

Article Summary

Post
/internal-assets/4.0/table-mapping/{envId}/{assetTemplateId}

Create a new Table Mapping for the specified Asset Template ID.

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.

Body parameters

Table Mapping to create

object

Table mapping

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 (TableMapping)

Table mapping

assetTemplateId
string

Asset Template ID

envId
string (uuid)

Environment ID

id
string (uuid)

Mapping ID

tableName
string

Table Name

400

Table name is not unique

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?