ValidationRules
Get one ValidationRule
Retrieve a single ValidationRule record by its Id.
GET
Get one ValidationRule
A ValidationRule defines a custom business rule that validates data before it is saved. Rules can be applied to various record types (coworkers, bookings, contracts, visitors, etc.) and enforce custom conditions beyond the standard field validations.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the ValidationRule-Read role.Path Parameters
integer
required
The Id of the ValidationRule record to retrieve.
Code Examples
Response
200
integer
ID of the business linked to this record.
string
The name value for this validation rule.
integer
The record type value for this validation rule. See
eValidationRuleEntity enum values: 1 = Coworker, 2 = Booking, 4 = CoworkerContract, 5 = Visitor, 6 = CoworkerProduct, 7 = ProposalContract, 8 = CoworkerInvoice, 9 = Teams, 10 = EventAttendees.boolean
Whether this validation rule is currently active.
string
The formula value for this validation rule.
string
Free-text description of this validation rule.
string
The error message value for this validation rule.
integer
Unique record identifier.
string
UUID of the record.
string
Date and time the record was created (ISO 8601).
string
Date and time the record was last updated (ISO 8601).
string
Email of the user who last updated this record.
boolean
Whether the record was recently created.
string
External system identifier.
Example Response
Get one ValidationRule