RahalCorporate
DelegationReference

Fields Reference

Reference for delegation fields and constraints

Fields Reference

This page documents all fields in a delegation record and their constraints.

Delegation Fields

FieldDescriptionRequired
TypeUser-to-User or Company-wideYes
DelegatorThe user who grants access to their travelersUser-to-User: Yes, Company-wide: Optional
DelegateThe user who receives accessYes
CompanyThe company context for this delegationYes
ScopesPermission scopes grantedYes (at least one)
StatusWhether the delegation is active or inactiveYes
CreatedWhen the delegation was createdAutomatic

Delegation Types

TypeDelegatorDelegate Access
User-to-UserRequired - specific userAccess to the delegator's travelers only
Company-wide (with delegators)Optional - specific usersAccess to listed delegators' travelers
Company-wide (unrestricted)Not setAccess to any user's travelers in the company via search

Uniqueness

For user-to-user delegations, the combination of delegator, delegate, and company must be unique. You cannot create duplicate delegations for the same user pair in the same company.

For company-wide delegations without a specific delegator, only one such delegation can exist per delegate per company.

If you need to change the scopes, edit the existing delegation instead.

Default Values

FieldDefault
TypeUser-to-User
ScopesView Travelers, Create Bookings, View Bookings
StatusActive

Validation Rules

RuleError Message
Delegator and delegate are the same user"Cannot delegate to yourself"
Delegation already exists for this pair"Delegation already exists"
User not active in the company (user-to-user)"User not found or not active in company"
No scopes selected"At least one scope is required"

On this page