Skip to navigation

Book the first appointment

Allowed in awaiting_appointment or slot_unavailable. The worker books the slot in FieldRoutes, then sends the confirmation email; the signup becomes complete. A taken slot returns the signup to slot_unavailable; the account and payment are never undone at this stage.

Authentication

Path parameters

signupIdstringRequired

Request

This endpoint expects an object.
datedateRequired
slotenumRequired
Allowed values:

Response

Accepted; poll status

stateenum

awaiting_appointment: account and payment done, show the appointment step. payment_declined: back to the card step. slot_unavailable: back to the appointment step. complete: show the confirmation page.

stepslist of objects
referencestringformat: "^MX-[A-Z0-9]{7}$"

Shown on the confirmation and failure screens, e.g. MX-8I64MVE.

accountNumberstringOptional<=255 characters
FieldRoutes customer ID. Present when state is complete.
confirmationSentTostringOptional<=255 characters

Masked email, e.g. j***@gmail.com.

errorobjectOptional
confirmationobjectOptional
Everything the confirmation page shows. Present only when state is complete.

Errors

404
Not Found Error
409
Conflict Error
410
Gone Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error