capabilities.work

Book Service Session

A 4-step recipe with CDK Global. We can help you get access.

Recipe · 4 steps

Book Service Session

Drive a booking session from creation through booking an appointment slot.

  1. Create the booking session that scopes the vehicle, customer, store list, and search window for the rest of the flow.
  2. Query the stores that have availability for this booking session and take the first store returned.
  3. Query the open appointment slots for the resolved store and take the first slot returned.
  4. Book the selected appointment slot, the final step in the booking process, producing the confirmed appointment.
What you'll need to have ready
  • subscriptionId: The Fortellis Marketplace subscription identifier.
  • requestId: A correlation ID echoed back across systems.
  • authorization: The Fortellis OAuth 2.0 bearer token (or Basic auth on the simulator).
  • storeIdList: The identifiers of the stores to search for availability.
  • vehicleSpecId: The vehicle service model identifier.
  • customerId: The identifier of the customer.
  • searchWindowStart: The start of the availability search window (date-time).
  • searchWindowEnd: The end of the availability search window (date-time).
  • requestedTransportation: The requested customer transportation (e.g. WAITER, LOANER).
For your developer

Arazzo workflow cdk-global:book-service-session, 4 operations: createBookingSession → queryBookingSessionStoreAvailability → queryBookingSessionsAvailableStoreSlots → bookAppointmentSlot. Specs on APIs.io.