Before you start
- You’ve confirmed the integration supports this write - see Check write support.
- You have the Bindbee
idof the employee the request is for.
Steps
1
Fetch the schema
integration_params. Both vary by platform - see Fetch a schema.Result: The exact contract for this integration.2
Resolve the employee
Use the Bindbee employee
id, not the employee number or the source system’s identifier. If you’re starting from an upstream identifier, resolve it first with remote_id - see Filtering.Result: A valid employee reference.3
Send the request with an idempotency key
4
Confirm it landed
Read it back rather than trusting the response alone - see Get Time Off.The record won’t appear in Bindbee’s synced data until the next sync. To confirm sooner, force a resync.A new request lands as
REQUESTED, not approved. The source system runs its own workflow, and status moves to APPROVED, DECLINED or CANCELLED there rather than through Bindbee.Result: Verified in the customer’s system.Frequently Asked Questions
The leave type is rejected
The leave type is rejected
Leave types are platform-specific, and a customer can define their own categories. Use a value from the schema’s
enum, and read enumInformation for what each means rather than matching on the name.If the customer’s own category isn’t in the enum, it may need supplying through integration_params or additional_attributes.Dates are rejected or land wrong
Dates are rejected or land wrong
Send ISO 8601 with an explicit timezone. Where a platform works in whole days, a timestamp with a time component can shift the request by a day across timezone boundaries - check whether the schema expects a date or a datetime.
The write succeeds but nothing appears in Bindbee
The write succeeds but nothing appears in Bindbee
Expected until the next sync. Reads serve synced data, so a record created seconds ago won’t be there yet.
You created duplicates during a retry
You created duplicates during a retry
An idempotency key prevents this. To clean up, cancel the duplicates in the source system - Bindbee doesn’t own the record once created.
The request exceeds the employee's balance
The request exceeds the employee's balance
Balances belong to the source system. Bindbee submits the request and the platform enforces the balance, so an over-balance request is rejected upstream rather than by Bindbee.
The employee reference is rejected
The employee reference is rejected
Confirm you’re sending the Bindbee
id, and that the employee belongs to this connector. IDs are per connector, so an ID from another customer’s connector won’t resolve.Related
- Time & attendance - the time-off models and how they link
- Meta APIs - fetching the write schema for an integration
- Create Time Off - the endpoint
- Writing data - how a write reaches the source system