v2

latestOpenAPI 3.1.12026-08-078549932.4 MB
Appointments

Get the previous travel destination for a staff member on a given date. Used for chaining travel appointments (use last destination as next starting point).

get/Appointments/previous-travel-destination

Query parameters

staffIdstring

The staff member ID

datestring date-time

The date to check (YYYY-MM-DD format)

beforeTimestring date-time

Optional: only consider appointments ending before this time (ISO 8601 format)

Response

Previous travel destination information if found

foundboolean

Whether a previous travel destination was found

addressstring nullable

The destination address from the previous travel appointment

placeIdstring nullable

The Google Place ID of the destination

appointmentIdstring nullable

The appointment ID of the previous travel appointment

previousAppointmentEndTimestring date-time nullable

End time of the previous appointment (for calculating travel window)