Skip to main content
POST
/
systemOfRecordIntegration
/
systemsOfRecord
Create system of record
curl --request POST \
  --url https://api.getcargo.io/v1/systemOfRecordIntegration/systemsOfRecord \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "kind": "bigQuery",
  "config": {}
}
'
{
  "systemOfRecord": {
    "uuid": "<string>",
    "workspaceUuid": "<string>",
    "kind": "bigQuery",
    "config": {},
    "lastMigration": {
      "uuid": "<string>",
      "finishedAt": "<string>",
      "createdAt": "<string>",
      "status": "success",
      "errorMessage": "<string>"
    },
    "cutover": {
      "uuid": "<string>",
      "role": "source",
      "sourceSystemOfRecordUuid": "<string>",
      "targetSystemOfRecordUuid": "<string>",
      "status": "running",
      "errorMessage": "<string>",
      "tablesTotal": 123,
      "tablesMigrated": 123,
      "finishedAt": "<string>",
      "createdAt": "<string>"
    },
    "useCredits": true,
    "isActive": true,
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "deletedAt": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Request body schema.

kind
enum<string>
required

System of record kind.

Available options:
bigQuery,
snowflake
config
Config · object

System of record configuration.

Response

Successful response

systemOfRecord
System of record · object
required

Created system of record details.