Sheet import
Import Sheet To Entities
Path Parameters
uuidMap column letters/indices to data fields. E.g. {'A': 'name', 'B': 'client', 'C': 'location'}
Empty Object
uuidEntity definition slug (e.g. 'site')
true"Sheet1"Response Body
curl -X POST "https://loading/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/import/sheet-to-entities" \ -H "Content-Type: application/json" \ -d '{ "column_map": {}, "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "definition_slug": "string", "spreadsheet_id": "string" }'{
"errors": [
"string"
],
"imported": 0,
"skipped": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Import Sheet To Staff
Path Parameters
uuidMap column letters/indices to staff fields. E.g. {'A': 'name', 'B': 'phone', 'C': 'email', 'D': 'skills'}
Empty Object
uuidFirst row is header (skip it)
trueA1 notation range
"Sheet1"Response Body
curl -X POST "https://loading/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/import/sheet-to-staff" \ -H "Content-Type: application/json" \ -d '{ "column_map": {}, "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "spreadsheet_id": "string" }'{
"errors": [
"string"
],
"imported": 0,
"skipped": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Csv Import Entities
Import entity records from CSV/paste data. Tenant dashboard.
In: header
Path Parameters
uuidHeader Parameters
properties <= 26Empty Object
true2D array (max 10K rows)
items <= 10000Response Body
curl -X POST "https://loading/v1/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/import/csv-to-entities" \ -H "X-Api-Key: string" \ -H "Content-Type: application/json" \ -d '{ "column_map": {}, "definition_slug": "string", "rows": [ [ "string" ] ] }'{
"errors": [
"string"
],
"imported": 0,
"skipped": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Csv Import Staff
Import staff from CSV/paste data (2D array). Tenant dashboard.
In: header
Path Parameters
uuidHeader Parameters
Map column indices to staff fields (max 26 columns). E.g. {'0': 'name', '1': 'phone'}
properties <= 26Empty Object
true2D array of row data (max 10K rows)
items <= 10000Response Body
curl -X POST "https://loading/v1/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/import/csv-to-staff" \ -H "X-Api-Key: string" \ -H "Content-Type: application/json" \ -d '{ "column_map": {}, "rows": [ [ "string" ] ] }'{
"errors": [
"string"
],
"imported": 0,
"skipped": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Tenant Import Sheet To Entities
Import entity records from a Google Sheet. Auth: JWT (admin only).
In: header
Path Parameters
uuidHeader Parameters
Empty Object
true"Sheet1"Response Body
curl -X POST "https://loading/v1/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/import/sheet-to-entities" \ -H "X-Api-Key: string" \ -H "Content-Type: application/json" \ -d '{ "column_map": {}, "definition_slug": "string", "spreadsheet_id": "string" }'{
"errors": [
"string"
],
"imported": 0,
"skipped": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}Tenant Import Sheet To Staff
Import staff from a Google Sheet. Auth: JWT (admin only).
In: header
Path Parameters
uuidHeader Parameters
Empty Object
true"Sheet1"Response Body
curl -X POST "https://loading/v1/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/import/sheet-to-staff" \ -H "X-Api-Key: string" \ -H "Content-Type: application/json" \ -d '{ "column_map": {}, "spreadsheet_id": "string" }'{
"errors": [
"string"
],
"imported": 0,
"skipped": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}