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
The Id of the ValidationRule record to retrieve.
Code Examples
Response
200
ID of the business linked to this record.
The name value for this validation rule.
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.Whether this validation rule is currently active.
The formula value for this validation rule.
Free-text description of this validation rule.
The error message value for this validation rule.
Unique record identifier.
UUID of the record.
Date and time the record was created (ISO 8601).
Date and time the record was last updated (ISO 8601).
Email of the user who last updated this record.
Whether the record was recently created.
External system identifier.
Example Response
Get one ValidationRule