Skip to main content
Version: main

Book appointment

Book an appointment slot.

warning

The request-body model for this operation currently has no exported setters, so the body can't be populated from outside the SDK — see issue #488. The signature below is documented for completeness.

HTTP request

POST /api/sn_apptmnt_booking/v1/appointment/appointment

Path parameters

None.

Query parameters

None.

Request body

Supply a appointmentbookingapi.AppointmentRequest.

Response

AppointmentResponse — an item envelope of the booked appointment.

Example

// Build the request body
var body appointmentbookingapi.AppointmentRequest
response, err := client.AppointmentBooking().Appointment().Post(ctx, body, nil)
if err != nil {
log.Fatal(err)
}
Was this page helpful?