v1
latestOpenAPI 3.0.02026-08-064311,0881.3 MBlookupManagement
Create a lookup table.
Create a new lookup table by providing a schema and specifying its configuration. Providing parentFolderId is mandatory. Use the getItemByPath endpoint to get content id of a path. Please check Content management API and Folder management API for all available options.
post/v1/lookupTables
Request body
Example request
{
"description": "This is a sample lookup table description.",
"fields": [
{
"fieldName": "FieldName1",
"fieldType": "boolean"
}
],
"primaryKeys": [
"FieldName1"
],
"ttl": 100,
"sizeLimitAction": "DeleteOldData",
"name": "SampleLookupTable",
"parentFolderId": "0000000001C41EE4"
}Response
Lookup table created successfully.
Example response
{
"createdAt": "2018-10-16T09:10:00Z",
"createdBy": "0000000006743FDD",
"modifiedAt": "2018-10-16T09:10:00Z",
"modifiedBy": "0000000006743FE8",
"description": "This is a sample lookup table description.",
"fields": [
{
"fieldName": "FieldName1",
"fieldType": "boolean"
}
],
"primaryKeys": [
"FieldName1"
],
"ttl": 100,
"sizeLimitAction": "DeleteOldData",
"name": "SampleLookupTable",
"parentFolderId": "0000000001C41EE4",
"id": "0000000001C41EE4",
"contentPath": "/Library/Users/johndoe@acme.com/lookupTable",
"size": 100
}