ID Generation API
Use the ID Generation API to create generators that produce ID values for lookup types.
Use the ID Generation API to create generators and enable ID generation for lookup types. Generators produce unique identifier values for lookup entries. You can create a generator during tenant configuration or assign it to a lookup type for automatic ID generation.
Reltio supports the following generator types:
- SEQUENTIAL - generates incremental numeric values
- UUID - generates universally unique identifiers
HTTP method and endpoint
POST {{rdm_uri}}/generators/{{rdm_tenant_name}}| Parameter | Type | Required | Description |
|---|---|---|---|
rdm_tenant_name | String | Yes | The unique identifier of the tenant. Specifies the tenant context for the request. Example: |
rdm_uri | String | Yes | The base URI for the RDM service. Example: rdm.reltio.com |
Request headers
| Header | Value | Required |
|---|---|---|
Content-Type | application/json | Yes |
Authorization | Bearer {{access_token}} | Yes |
Request body
The following table describes the request body parameters, including accepted values and defaults.
| Parameter | Type | Required | Description | Accepted values / Default |
|---|---|---|---|---|
name | String | Yes | Unique generator name for the tenant. | Example: CountryIDGenerator |
type | String | Yes | Generator type. | Accepted values: UUID, SEQUENTIAL |
rangeStart | Number | No | Starting value for a sequential generator. | Default: 0 Example: 100 |
Example request (SEQUENTIAL)
POST https://rdm.reltio.com/generators/acme-rdm-tenant
[
{
"name": "CountryUUIDGenerator",
"type": "SEQUENTIAL"
}
]Example request (UUID)
POST https://rdm.reltio.com/generators/acme-rdm-tenant
[
{
"name": "CountryUUIDGenerator",
"type": "UUID"
}
]Response body
The following table describes the fields returned in the response body for all the example responses provided later in this section.
| Field | Type | Description |
|---|---|---|
name | String | Generator name. |
type | String | Generator type. |
rangeStart | Number | Starting value for a sequential generator. |
Example response (SEQUENTIAL)
[
{
"name": "CountryIDGenerator",
"type": "SEQUENTIAL",
"rangeStart": 15,
}
]Example response (UUID)
[
{
"name": "CountryUUIDGenerator",
"type": "UUID"
}
]