POST
/
organisations
/
{organisationId}
/
data-mappings

Authorizations

Authorization
string
header
required

Path Parameters

organisationId
string
required

Body

application/json

DataMappingCreate is the request body to create a new data mapping. The ID is automatically generated and the organisation ID is defined by the request's path parameter.

definition
object[]
required
definition.sourceField
string
definition.targetField
string
sourceAppId
string
required

The ID of the source App instance.

sourceSchemaId
string
required

The ID of the source app operation, for OpenAPI this will be the operationId field if set, otherwise the request's type and path.

targetAppId
string
required

The ID of the target App instance.

targetSchemaId
string
required

The ID of the target app operation, for OpenAPI this will be the operationId field if set, otherwise the request's type and path.

Response

200 - application/json
definition
object[]
required
definition.sourceField
string
definition.targetField
string
id
string
required
orgId
string
required
sourceSchemaId
string
required
targetSchemaId
string
required
createdAt
string
deletedAt
string
sourceApp
object
sourceApp.createdAt
string
required
sourceApp.id
string
required
sourceApp.name
string
required
sourceApp.orgId
string
required
sourceApp.public
boolean
required
sourceApp.schema
object
required
sourceApp.schemaMetadata
object
required
sourceApp.server
object
required
sourceApp.updatedAt
string
required
sourceApp.deletedAt
string
sourceApp.imageUrl
string
sourceApp.schemaId
string
sourceApp.supportedAuthConfigs
object[]

SupportedAuthConfigs is a list of authentication standards which can be used to connect a user's account to this app. At least one auth type needs to be valid for the App to be used by a user.

targetApp
object
targetApp.createdAt
string
required
targetApp.id
string
required
targetApp.name
string
required
targetApp.orgId
string
required
targetApp.public
boolean
required
targetApp.schema
object
required
targetApp.schemaMetadata
object
required
targetApp.server
object
required
targetApp.updatedAt
string
required
targetApp.deletedAt
string
targetApp.imageUrl
string
targetApp.schemaId
string
targetApp.supportedAuthConfigs
object[]

SupportedAuthConfigs is a list of authentication standards which can be used to connect a user's account to this app. At least one auth type needs to be valid for the App to be used by a user.

updatedAt
string