es
Reservas›Disponibilidad de reserva

Disponibilidad de reserva

Disponibilidad de citas en tiempo real desde el motor de programación: devuelve las ventanas reservables de fecha + franja horaria según la capacidad de los técnicos, los horarios de trabajo y la cobertura del territorio de servicio. Llame a este endpoint antes de crear una solicitud de trabajo y ofrezca al cliente SOLO las ventanas devueltas — evita reservas imposibles de programar.

Argumentos

X-Timezonestringheaderobligatorio
Zona horaria IANA del cliente
fromstringqueryopcional
Inicio YYYY-MM-DD
tostringqueryopcional
Fin YYYY-MM-DD
emergencybooleanqueryopcional
true = the calendar for an emergency (P0) booking: emergency-only days stay bookable and on-call windows outside business hours are offered
job_type_idstringqueryopcional
Optional job type: a period whose working time cannot hold that type's default visit (duration + set-up + clean-up) from its start is left out. Ignored when the type is unknown or has no default duration, and when the visit is longer than any single stretch of working time (it is then split across days).
GET/v1/job-requests/booking-windows
curl -X GET "https://api.crisphive.com/v1/job-requests/booking-windows" \
  -H "Authorization: Bearer chsk_test_4eC8xQ9mZ2pL7Ka0rT" \
  -H "X-Timezone: America/New_York"

Respuestas