Get Generator by Name
Learn about how to retrieve details for a specific ID generator by name and request its next generated value.
Use the following request to return information about a generator:
GET {serverURL}/generators/{generatorName}This request returns details about the named generator.
Get a Specific Generator by Name
Request
GET https://{serverURL}/generators/{generator_name}| Name | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <access_token> |
Content-Type | Yes | application/json |
Response
{
"name": "{generator_name}",
"type": "SEQUENTIAL",
"valueType": "HEX",
"rangeStart": "CCAABB",
"step": "1"
}Generate Next Value
Request
GET https://{serverURL}/generators/{generator_name}/generate| Name | Required | Description |
|---|---|---|
Authorization | Yes | Bearer <access_token> |
Content-Type | Yes | application/json |
Response
DECIMAL: 10
HEX: A
UUID: 33fefdbf-4b79-44b2-a39a-59600755eefaReset Generator's Values