Accelerate the Value of Data

ID Generation API

Automatic ID generation for a lookup type

This API explains the properties of a generator and how to enable the auto generation of an ID for a lookup type.

Enable auto ID generation for a lookup type
{  
   "tenantId":"rdm_tenant_name",
   "label":"rdm_tenant_label",
   "lookupTypes":[  
      {  
         "URI":"rdm/lookupTypes/Country",
         "generator":"CountryIDGenerator",
         "label":"Country",
         "enabled":true
      }
   ],
   "sources":[  
     ...
   ]
}
Generator description
{
    "name": "CountryIDGenerator",
    "type": "SEQUENTIAL",
    "rangeStart" : 15
}
Table 1. Properties
Property Required Default Value Description
name true null Unique generator name for tenant.
type true null UUID or SEQUENTIAL.
rangeStart false 0 (zero) Start seed for sequential generator.
currentValue false 0 (zero) Current generator value.