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.
{
"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
}
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. |