nursing-limeN
Voiceflow2y ago
7 replies
nursing-lime

Noob at setting up API calls.

Hey guys! I was hoping to get some help/feedback on what I've done.

I'm trying to follow the documentation for API. What I am trying to do is to grab 'the next available time' for a practitioner.

If you've got time. I am attaching some screenshots of the documentation and what I have done so far.

Really appreciate the help!

Cheers

Sample request:
'https://api.au1.cliniko.com/v1/businesses/{business_id}/practitioners/{practitioner_id}/appointment_types/{appointment_type_id}/next_available_time?from=2019-08-24&to=2019-08-24'

Response samples:
{
"total_entries": 1,
"links": {
"self": "https://api.au1.cliniko.com/v1/businesses/1/practitioners/1/appointment_types/1/next_available_time"
},
"appointment_start": "2019-08-24T14:15:22Z"
}

Out of the 'Response samples' what should be put in the 'Capture Response' part of the API call? I've attempted to put in the 'enter key', 'response.links.self', and 'response.appointment_start.
image.png
image.png
image.png
image.png
image.png
Was this page helpful?