booking.api.ascenti.co.uk Open in urlscan Pro
34.238.71.80  Public Scan

URL: https://booking.api.ascenti.co.uk/
Submission: On August 19 via automatic, source certstream-suspicious — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

 * Body
 * Headers (1)

 * Body
 * Headers (1)

 * Body
 * Headers (1)




Public


Documentation Settings

ENVIRONMENT
Ascent Booking Production

LAYOUT
Single Column

LANGUAGE
cURL - cURL



Ascenti Booking API
Introduction
Appointment
PatientData
GET
Get Clinic Data
POST
Upload Document


ASCENTI BOOKING API

Description

example description

AUTHORIZATIONAPI Key
Key

Authorization

Value

ApiKey {key}

APPOINTMENT

AUTHORIZATIONAPI Key
This folder is using API Key from collectionAscenti Booking API


GETSEARCH APPOINTMENTS (SKIP TO NEXT CLINIC AVAILABILITY)


https://apps.ascenti.co.uk/APIS/BookingAPI/Appointment/SearchAppointments_SkipToNextClinicAvailability?DaysToReturn=<integer>&InitialClinicId=<integer>&StartDate=<dateTime>&EndDate=<dateTime>&ClinicID=<integer>&ClinicID=<integer>&Longitude=<double>&Latitude=<double>&MaxDistance=<integer>&NumberOfClinics=<integer>&AppointmentLength=<integer>&ReferrerID=<integer>&SearchID=<integer>

Returns the availability applicable to the consumer starting from the day of the
next available appointment at the given clinic. The return will be an
AvailabilityResponse object as defined in the schemas section.

AUTHORIZATIONAPI Key
This request is using API Key from collectionAscenti Booking API
HEADERS
Accept

text/plain

PARAMS
DaysToReturn

<integer>

InitialClinicId

<integer>

StartDate

<dateTime>

EndDate

<dateTime>

ClinicID

<integer>

ClinicID

<integer>

Longitude

<double>

Latitude

<double>

MaxDistance

<integer>

NumberOfClinics

<integer>

AppointmentLength

<integer>

ReferrerID

<integer>

SearchID

<integer>

Example Request
Success

View More
curl


curl --location 'https://apps.ascenti.co.uk/APIS/BookingAPI/Appointment/SearchAppointments_SkipToNextClinicAvailability?DaysToReturn=%3Cinteger%3E&InitialClinicId=%3Cinteger%3E&StartDate=%3CdateTime%3E&EndDate=%3CdateTime%3E&ClinicID=%3Cinteger%3E&ClinicID=%3Cinteger%3E&Longitude=%3Cdouble%3E&Latitude=%3Cdouble%3E&MaxDistance=%3Cinteger%3E&NumberOfClinics=%3Cinteger%3E&AppointmentLength=%3Cinteger%3E&ReferrerID=%3Cinteger%3E&SearchID=%3Cinteger%3E' \
--header 'Authorization: <API Key>' \
--header 'Accept: text/plain'

200 OK
Example Response
 * Body
 * Headers (1)

View More
json


{
  "success": true,
  "message": "no",
  "clinics": [
    {
      "clinicID": -79416794,
      "clinicName": "ut fugiat laborum",
      "address1": "irure pariatur",
      "postcode": "consectetur elit proident enim",
      "insideM25": false,
      "clinicTier": "sint in eu",
      "distance": 52963934.069306314,
      "appointments": [
        {
          "appointmentID": 43211125,
          "date": "1991-08-10T09:25:51.828Z",
          "time": "mollit magna in dolor",
          "length": 30401093,
          "therapist": {
            "therapistID": -55863054,
            "name": "Lorem amet ipsum ut",
            "gender": "minim quis veniam"
          }
        },
        {
          "appointmentID": -5082688,
          "date": "2006-05-19T23:57:45.060Z",
          "time": "cupidatat nostrud minim Lorem",
          "length": -95760689,
          "therapist": {
            "therapistID": 691185,
            "name": "proident dolor",
            "gender": "irure ea nisi n"
          }
        }
      ]
    },
    {
      "clinicID": -40394408,
      "clinicName": "cupid",
      "address1": "quis nisi exercitation aliquip",
      "postcode": "eiusmod occaecat ",
      "insideM25": false,
      "clinicTier": "magna Lorem pariatur",
      "distance": 553605.0033090264,
      "appointments": [
        {
          "appointmentID": 93213301,
          "date": "1973-06-27T00:11:32.533Z",
          "time": "tempor commodo et",
          "length": 39202553,
          "therapist": {
            "therapistID": -31616270,
            "name": "ipsum",
            "gender": "non"
          }
        },
        {
          "appointmentID": -18072885,
          "date": "1991-04-04T04:34:16.668Z",
          "time": "qui do",
          "length": -53756239,
          "therapist": {
            "therapistID": -76382720,
            "name": "commodo esse tempor proident",
            "gender": "deserunt"
          }
        }
      ]
    }
  ],
  "searchID": 11913019
}

Content-Type

application/json


GETGET APPOINTMENT RATES


https://apps.ascenti.co.uk/APIS/BookingAPI/Appointment/GetAppointmentRates

Returns appointment rates.

AUTHORIZATIONAPI Key
This request is using API Key from collectionAscenti Booking API
HEADERS
Accept

text/plain

Example Request
Success

curl


curl --location 'https://apps.ascenti.co.uk/APIS/BookingAPI/Appointment/GetAppointmentRates' \
--header 'Authorization: <API Key>' \
--header 'Accept: text/plain'

200 OK
Example Response
 * Body
 * Headers (1)

View More
json


{
  "success": true,
  "message": "ea occaecat labore",
  "appointmentRates": [
    {
      "clinicTier": "veniam sit",
      "rate": -88541002.73066123
    },
    {
      "clinicTier": "",
      "rate": -16276434.640151873
    }
  ]
}

Content-Type

application/json




GETGET NEXT AVAILABLE


https://apps.ascenti.co.uk/APIS/BookingAPI/Appointment/GetNextAvailable?ClinicID=<integer>&ReturnSlots=<integer>

Returns the availability applicable to the consumer for a specific clinic. The
return will be an AvailabilityResponse object as defined in the schemas section.

AUTHORIZATIONAPI Key
This request is using API Key from collectionAscenti Booking API
HEADERS
Accept

text/plain

PARAMS
ClinicID

<integer>

ReturnSlots

<integer>

Example Request
Success

View More
curl


curl --location 'https://apps.ascenti.co.uk/APIS/BookingAPI/Appointment/GetNextAvailable?ClinicID=%3Cinteger%3E&ReturnSlots=%3Cinteger%3E' \
--header 'Authorization: <API Key>' \
--header 'Accept: text/plain'

200 OK
Example Response
 * Body
 * Headers (1)

View More
json


{
  "success": false,
  "message": "eiusmod sunt dolor",
  "clinics": [
    {
      "clinicID": -48671931,
      "clinicName": "Lorem enim",
      "address1": "laboris sit proident exercitation non",
      "postcode": "dolor laboris ir",
      "insideM25": true,
      "clinicTier": "incididunt",
      "distance": 60878060.18155235,
      "appointments": [
        {
          "appointmentID": 66492867,
          "date": "1994-08-24T03:33:45.269Z",
          "time": "ea voluptate dolor id",
          "length": 63612642,
          "therapist": {
            "therapistID": -83112667,
            "name": "sunt deserunt aliquip nulla",
            "gender": "Excepteur non"
          }
        },
        {
          "appointmentID": -16794076,
          "date": "1982-04-11T06:34:48.687Z",
          "time": "aute ea est voluptate",
          "length": -79725503,
          "therapist": {
            "therapistID": 7971534,
            "name": "pariatur sed dolore",
            "gender": "in id amet deserunt"
          }
        }
      ]
    },
    {
      "clinicID": 54646820,
      "clinicName": "consequat non",
      "address1": "cupidatat culpa",
      "postcode": "Lorem Duis est pariatur",
      "insideM25": false,
      "clinicTier": "in",
      "distance": 13816906.210573256,
      "appointments": [
        {
          "appointmentID": 3003314,
          "date": "1991-09-20T07:38:23.003Z",
          "time": "occaecat consectetur",
          "length": 57759859,
          "therapist": {
            "therapistID": -42731868,
            "name": "non ipsum aliquip",
            "gender": "ad"
          }
        },
        {
          "appointmentID": -30768714,
          "date": "2004-10-12T21:02:57.898Z",
          "time": "et dolor sit",
          "length": 86112691,
          "therapist": {
            "therapistID": -38318728,
            "name": "est mollit quis",
            "gender": "velit eu"
          }
        }
      ]
    }
  ],
  "searchID": 82863578
}

Content-Type

application/json