Custom Tables
Custom tables in Vince Live let you store and manage data flexibly with minimal constraints.
General information
Searching
Response formatting
Selecting specific records
Availability
Limitations
API path
Example request
Example response
"__id": "ZmFrZS11c2VycyMwI0RBVEEjQWRyaWFubmFfSmVua2luczQ5QGdtYWlsLmNvbQ",
"__created": "2022-04-05T12:56:37.059Z",
"__modified": "2022-04-05T12:56:37.059Z",
"__modifiedBy": "USER-62144feb3fb54922a1204eccb8d67989",
"firstName": "Vella",
"lastName": "Otto",
"country": "ES",
"zipCode": "39390",
"phone": "+47112730385",
"email": "Adrianna_Jenkins49@gmail.com"
}
Records with primary key values
Availability
Custom table types UPSERT only.
Limitations
API path
Example request
GET /v1/custom-tables/data/items?records.ItemNumber=308&records.Warehouse=001
// multiple
GET /v1/custom-tables/data/items?records[0].ItemNumber=308&records[0].Warehouse=001&records[1].ItemNumber=KK327&records[1].Warehouse=002
Example response
Records that begins with
Availability
Limitations
API path
Example request
GET /v1/custom-tables/data/fake-users?beginsWith=As
// multiple primary keys (email + country, separate using # )
GET /v1/custom-tables/data/fake-users?beginsWith=Asa83@yahoo.com#Swe
Example response
{
"count": 2,
"items": [
{
"__id": "ZmFrZS11c2VycyMwI0RBVEEjQXNhODNAeWFob28uY29t",
"__created": "2022-04-05T12:56:37.014Z",
"__modified": "2022-04-05T12:56:37.014Z",
"__modifiedBy": "USER-62144feb3fb54922a1204eccb8d67989",
"firstName": "Althea",
"lastName": "Rebekah",
"country": "Sweden",
"zipCode": "18470",
"phone": "+47899125484",
"email": "Asa83@yahoo.com"
},
{
"__id": "ZmFrZS11c2VycyMwI0RBVEEjQXNzdW50YS5DcmVtaW5AeWFob28uY29t",
"__created": "2022-04-05T12:56:36.981Z",
"__modified": "2022-04-05T12:56:36.981Z",
"__modifiedBy": "USER-62144feb3fb54922a1204eccb8d67989",
"firstName": "Alanis",
"lastName": "Liana",
"country": "Norway",
"zipCode": "11191",
"phone": "+47512509199",
"email": "Assunta.Cremin@yahoo.com"
}
]
}
// multiple primary keys
{
"count": 1,
"items": [
{
"__id": "ZmFrZS11c2VycyMwI0RBVEEjQXNhODNAeWFob28uY29t",
"__created": "2022-04-05T12:56:37.014Z",
"__modified": "2022-04-05T12:56:37.014Z",
"__modifiedBy": "USER-62144feb3fb54922a1204eccb8d67989",
"firstName": "Althea",
"lastName": "Rebekah",
"country": "Sweden",
"zipCode": "18470",
"phone": "+47899125484",
"email": "Asa83@yahoo.com"
}
]
}
Updating records
API Path
Example data
Example request
Configuration
Primary Keys
Deleting tables
Update configuration of a custom table
API path
Example request
{
"c": "appconfig",
"tableAlias": "appconfig",
"primaryKeys": [
"app",
"key"
],
"updateType": "UPSERT",
"columnConfig": {
"app": {
"aliasName": "App",
"dataType": "STRING"
},
"valueObj": {
"aliasName": "valueObj",
"dataType": "STRING"
},
"value": {
"aliasName": "Value",
"dataType": "STRING"
},
"key": {
"aliasName": "Key",
"dataType": "STRING"
},
"status": {
"aliasName": "Status",
"dataType": "STRING"
},
"anotherNewField": {
"aliasName": "myNewField",
"dataType": "STRING"
}
}
}