Appointment Availability

GET {{baseUrl}}/experimental/health/v0/appointments?filter.clinicId=98989898&filter.typeName=FLU&filter.days=2&page.size=1&page.offset=0

Provides access to all available appointments based on one or more specified clinic locations and an optional appointment reason.

Request Params

KeyDatatypeRequiredDescription
filter.clinicIdnumber(Required) A single unique identifier for a clinic location, which can be retrieved from the /health/v0/clinics endpoint.
filter.typeNamestringThe name for for the appointmentType, which is returned in the the /health/v0/clinics endpoint for the selected location. This value as input is case insensitive, but will always be returned in all upper case.
filter.daysnumberThe number of days from today to query. For example, if 3 days are requested, appointments for today, tomorrow, and the following day would be returned.
page.sizenumberThe number of results to return.
page.offsetnumberThe index of the first item to return, using a 0-based index.

HEADERS

KeyDatatypeRequiredDescription
Accept-LanguagestringThe language or locale accepted by the client application.
x-mock-response-codenumberUsed to specify the type of response to receive from the mock service. Indicate the desired response code from available codes on this service: 200, 400.

RESPONSES

status: OK

{"data":[{"id":"82c6b2fb-3184-4e86-82c9-fa33002fdb09","versionKey":"5692cc40af18","typeName":"FLU","clinicId":"98989898","bookingUrl":"enim dolore","startDatetime":{"value":"2021-09-22T10:00Z","timezone":"America/New_York"},"endDatetime":{"value":"2021-09-22T10:30Z","timezone":"America/New_York"}}],"meta":{"page":{"offset":0,"size":1,"hasMore":false}}}