Get or Delete Record ID Generator by Name
Return the details of a named ID generator, or delete a generator.
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-59600755eefa
Reset Generator's Values
Delete a Generator
Request
DELETE https://{serverURL}/generators/{generator_name}
Name | Required | Description |
---|---|---|
Authorization | Yes | Bearer <access_token> |
Content-Type | Yes | application/json |
Response
{
"status" : "success"
}