Search documentation
karat

+

K

User Documentation ↗

Execute Table Import

POST/api/v2/connectivity/connections/{connectionRid}/tableImports/{tableImportRid}/execute
Warning

This endpoint is in preview and may be modified or removed at any time. To use this endpoint, add preview=true to the request query parameters.

Executes the TableImport, which runs asynchronously as a Foundry Build. The returned BuildRid can be used to check the status via the Orchestration API.

Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:connectivity-table-import-execute.

Path parameters

connectionRid
string

The Resource Identifier (RID) of a Connection (also known as a source).

tableImportRid
string

The Resource Identifier (RID) of a TableImport (also known as a batch sync).

Query parameters

preview
boolean
optional

Enables the use of preview functionality.

Response body

BuildRid
string

The RID of a build.

Examples

Request

Copied!
1 2 3 curl -X POST \ -H "Authorization: Bearer $TOKEN" \ "https://$HOSTNAME/api/v2/connectivity/connections/ri.magritte..source.c078b71b-92f9-41b6-b0df-3760f411120b/tableImports/ri.magritte..extract.27bb4f2b-63b8-44b8-a579-4e2bd65ba158/execute?preview=true"

Error responses

Error Name
ExecuteTableImportPermissionDeniedError CodePERMISSION_DENIED
Status Code403
DescriptionCould not execute the TableImport.
ParameterstableImportRid, connectionRid