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>"
}
}Create a new 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>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful response
Created system of record details.
Show child attributes
Was this page helpful?