coreplus API

The coreplus API provides access to appointment booking related end points, such as clients, practitioners, availability slots and appointments. It is a RESTful API, which utilises the HTTP verbs for creating viewing objects.

If you are a developer looking to create an external consumer server to server application for your coreplus clients, then by signing up for a sandbox account you will get access to your own trial coreplus account on our sandbox server with authorisation credentials.

Get A List of Appointments

Required parameters Type Description
startDate Date The start date of the period in which to search for appointments (yyyy-mm-dd)
endDate Date The end date of the period in which to search for appointments (yyyy-mm-dd)
timezoneId String(50) The timezoneId of the time zone for the search. Input dates are assumed to be in this time zone, and results are returned in that time zone. See GetLocations to determine the timezoneId for a given location.
pageNumber Int The page number of the results to return.  The first page is 1, and so on.  The results from row 1 to row 50 can be obtained by setting a pageNumber 1 and a pageSize of 50.  The results from row 51 to row 100 can be obtained by setting a pageNumber 2 and a pageSize of 50.
pageSize Int The maximum number of rows to return for the page.  The pageSize is limited to a maximum of 100 at the time of writing.

 

Example request URL: https://sandbox.coreplus.com.au/API/Core/v2/Appointment/?startDate=2017-06-29&endDate=2017-06-29&timezoneId=39D62534-501C-49CD-9DA9-6FA8D6A81F48&getPractitionerProfiles=true
Example response
{
   "appointments":[
      {
         "appointmentId":"2523ed75-bc89-4516-a7cf-f882b06e0557",
         "appointmentReferenceNumber":"85451769",
         "practitioner":{
            "practitionerId":"a630f4ad-8b4b-4e06-8cee-7db56ba8b9bf"
         },
         "subject":"BATANI palli 0420758078",
         "locationId":"d8d4fe7c-765a-46a3-a389-54ce298a27e9",
         "appointmentTypeId":"e04d064a-cb64-4f37-a89c-6343c44b6fb5",
         "startDateTime":"2017-06-29T09:30:00 +10:00",
         "endDateTime":"2017-06-29T10:00:00 +10:00",
         "clients":[
            {
               "clientId":"0ff6082e-80bb-4212-b548-957bfe0a800a"
            }
         ],
         "notifyPractitioner":false
      },
      {
         "appointmentId":"d8d4b314-42ab-490e-aee9-8ff4f8029cd5",
         "appointmentReferenceNumber":"57519117",
         "practitioner":{
            "practitionerId":"a630f4ad-8b4b-4e06-8cee-7db56ba8b9bf"
         },
         "subject":"Sama Post ",
         "locationId":"d8d4fe7c-765a-46a3-a389-54ce298a27e9",
         "appointmentTypeId":"6e74f531-6392-4b5a-b507-9f732c557778",
         "startDateTime":"2017-06-29T11:00:00 +10:00",
         "endDateTime":"2017-06-29T11:30:00 +10:00",
         "clients":[
            {
               "clientId":"a776074e-c80b-4640-b14f-23b0f1b0c0ef"
            }
         ],
         "notifyPractitioner":false
      }
   ],
   "paging":{
      "totalRows":2,
      "pageNumber":1,
      "pageSize":50
   },
   "statusMessages":[

   ]
}

Additional Parameter: Get A List of Appointments Updated After Date

This is an appointment update filter for the Get appointment list which will retrieve a list of appointments within the organisation only where the appointment’s details have been updated after a specified date and time. The filter parameter is part of the request on the appointment get call.

URL https://<server domain name>/api/core/<version>/Appointment/?updatedSince=<Url encoded date time stamp with timezone>
Description Retrieve all appointments that have had appointment details updated since the specified date time stamp

 

Example request URL: https://sandbox.coreplus.com.au/API/Core/v2/Appointment/?startDate=2017-06-30&endDate=2017-06-30&timezoneId=39D62534-501C-49CD-9DA9-6FA8D6A81F48&getPractitionerProfiles=true&updatedSince=2017-06-30%2014:18:00%2B1000

The date time stamp is url encoded so in the above example

?updatedSince=2017-06-30%2014:18:00%2B1000 translates to

?updatedSince=2017-06-30 14:18:00+1000

See http://www.url-encode-decode.com/ for an encoding decoding example

The returned result will be the same as a normal Appointment Get call except it will be filtered by the requested date time stamp

Develop with us

Use the form to sign-up and start developing with coreplus today.


Please leave this field empty.