Utilities
Get Enum Values
Retrieve the list of valid values for a named Nexudus enumeration type.
GET
Get Enum Values
Get Enum Values
Returns all valid values for a named Nexudus enumeration. Enums are used throughout the platform to represent fixed sets of choices — for example, invoice status, resource types, booking states, or delivery status. The portal uses this endpoint to build dropdowns and validate field values dynamically.Authentication
Requires a valid customer bearer token.Query Parameters
The name of the enumeration to retrieve. This must match the exact server-side enum name (e.g.
"InvoiceStatus", "ResourceType").Response
Returns an array of enum entry objects. The exact shape depends on the enum requested, but each entry typically includes:Numeric value of the enum entry (as stored in the database).
Machine-readable key for the enum entry.
Human-readable localised label for display in the UI.
Example Response
TypeScript Integration
Usage in Portal
Error Responses
The
name parameter is missing or does not match a known server-side enum.The bearer token is missing, expired, or invalid.
Related Endpoints
Get Enum Values