Skip to content

Function: submitSchemaAndMapping() ​

ts
function submitSchemaAndMapping(
   client, 
   parameters, 
   options?
): Promise<void>;

Defined in: src/assets/api/importSources.ts:46

Provide object schema and mapping configuration for the external import

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ async?: boolean; importSourceId: string; mapping?: Record<string, any>; schema?: Record<string, any>; }-
parameters.async?booleanExecute the operation asynchronously
parameters.importSourceId?stringThe uuid of the import source configuration for the external import
parameters.mapping?Record<string, any>Object type and attribute mapping configuration for the import.
parameters.schema?Record<string, any>Object schema and status schema configuration for the import.
options?RequestOptions-

Returns ​

Promise<void>