Download OpenAPI specification:Download
This API is used to update the status of an appointment in Aerona.
appointmentId required | number <long> <= 11 characters The ID of the appointment whose status is to be updated. |
AERONA-AUTH-TOKEN required | string Header containing the Aerona Authorization token. This token is generated after a call to the Login API is successfully validated. The token must be sent back to the server in the header of each subsequent call for that user. |
appointmentStatusId required | integer <int32> <= 11 characters This is the updated appointment status id. |
{- "appointmentStatusId": 7
}
True if appointment status was successfully updated.
False otherwise.
true
Appointments created using this API will have a flag set against them to show that the appointment originated from the APIs.
AERONA-AUTH-TOKEN required | string Header containing the Aerona Authorization token. This token is generated after a call to the Login API is successfully validated. The token must be sent back to the server in the header of each subsequent call for that user. |
practiceId required | integer <int64> <= 11 characters The ID of the Practice. This is taken from the Practice list. |
userId required | integer <int64> <= 11 characters This is the ID of the Patient's preferred Clinician. This is taken from the Clinician list. |
appointmentTypeId required | integer <int64> <= 11 characters This is the Appointment Type ID. This is taken from the Appointment Type list. |
appointmentStatusId required | integer <int32> <= 11 characters This is the Appointment Status ID. |
appointmentTime required | string <date-time> The date of the Appointment. |
emergency | boolean This is the identifier for stating if an Appointment is an emergency or not. |
appointmentNotes | string Any additional notes related to the Appointment. |
duration required | integer <int32> <= 6 characters This is the length of the Appointment in minutes. |
patientId required | integer <int64> <= 11 characters This is the Patient ID of the Patient requesting the Appointment. |
{- "practiceId": 9876,
- "userId": 34567,
- "appointmentTypeId": 1864,
- "appointmentStatusId": 7,
- "appointmentTime": "2023-01-19T13:30:00Z",
- "emergency": false,
- "appointmentNotes": "Patient is nervous.",
- "duration": 45,
- "patientId": 426909
}
The newly created Appointment ID.
34234
Use to retrieve a list of available appointment slots when booking an appointment. The next 50 available appointment slots will be returned which meet the search criteria.
Either the clinicianId or clinicianTypeId must be supplied in the request, but not both.
clinicianId | number <long> <= 11 characters The ID of the Clinician. |
clinicianTypeId | number <long> <= 2 characters The ID of the Clinician Type. |
practiceId | number <long> <= 11 characters The ID of the Practice. This is found within the Practice list. |
appointmentTypeId required | number <long> <= 11 characters This is the Appointment Type ID. This is taken from Appointment Type list. |
searchStart required | string <date> Example: searchStart=2022-04-01 This is the date that the appointment search will begin from. |
timeOfDay required | number <integer> This is the time of day identifier which is selected from the find appointment search field. |
AERONA-AUTH-TOKEN required | string Header containing the Aerona Authorization token. This token is generated after a call to the Login API is successfully validated. The token must be sent back to the server in the header of each subsequent call for that user. |
curl https://aeronadental.com/AeronaAPI/v1/find-appointment-slots?clinicianId=34567&practiceId=9876&appointmentTypeId=1864&searchStart=2022-04-01&timeOfDay=0 -H "AERONA-AUTH-TOKEN: <your token>" -H "Content-Type: application/json"
[- {
- "clinicianId": 34567,
- "clinicianName": "Dr. John Smith",
- "slotStartTime": "2022-04-01T09:00:00+01:00"
}
]
Used to retrieve a list of Appointment Types.
If a practice ID is supplied then Appointment Types which are used by that practice will be returned. Otherwise Appointment Types of the practice of the authorised user will be returned.
If the practice uses Appointment Types based on the master practice, the Appointment Types of the master practice will be returned.
practiceId | integer <int64> Example: practiceId=9876 The practice ID. |
clinicianTypeId | number <long> <= 2 characters The ID of the Clinician Type. |
includeDisabled | boolean Example: includeDisabled=true Should disabled Appointment Types be included? Default value is false. |
onsiteOnly | boolean Example: onsiteOnly=true Do you want onsite Appointment Types only? Default value is false. |
remoteOnly | boolean Do you want remote Appointment Types only? Default value is false. |
AERONA-AUTH-TOKEN required | string Header containing the Aerona Authorization token. This token is generated after a call to the Login API is successfully validated. The token must be sent back to the server in the header of each subsequent call for that user. |
curl https://aeronadental.com/AeronaAPI/v1/appointment-types?practiceId=9876&clinicianTypeId=2349&includeOnly=true&onsiteOnly=true -H "AERONA-AUTH-TOKEN: <your token>" -H "Content-Type: application/json"
[- {
- "id": 1864,
- "type": "Examination",
- "duration": 30,
- "enabled": true
}
]
Allows you to get the Payment details for a given Payment.
paymentId required | number <long> <= 11 characters The ID of the Payment. |
AERONA-AUTH-TOKEN required | string Header containing the Aerona Authorization token. This token is generated after a call to the Login API is successfully validated. The token must be sent back to the server in the header of each subsequent call for that user. |
curl https://aeronadental.com/AeronaAPI/v1/payments/187941 -H "AERONA-AUTH-TOKEN: <your token>" -H "Content-Type: application/json"
{- "id": 187941,
- "patientId": 426709,
- "practiceId": 9876,
- "practiceName": "My Dentist Inc.",
- "paymentType": "1",
- "paymentMethod": "Credit Card",
- "amount": 140.5,
- "cancellation": 140.5,
- "refund": 25,
- "refundReference": 1,
- "paymentNote": "Paid in full.",
- "paymentDate": "2022-01-19T13:34:21Z",
- "cancellationNote": "Cancelled by patient.",
- "cancellationDate": "2022-01-22T10:22:56Z",
- "patientPlan": false,
- "patientCarePlanId": 1254,
- "createdUserId": 34567,
- "dateModified": "2022-01-24T08:25:34Z",
- "thirdPartyProviderName": "My Insurance Co."
}
This API allows you to get the payment details for payment(s) based on certain search criteria.
We recommend that you always set the fromDate and toDate in your searches. If you do not provide a search start date, it will default to the first day of the current month. If you do not provide a search end date, it will default to the current date.
patientId | integer <int64> Example: patientId=426709 The Patient ID. |
fromDate | string <date> Example: fromDate=2021-01-01 The search start date. |
toDate | string <date> Example: toDate=2022-02-01 The search end date. |
AERONA-AUTH-TOKEN required | string Header containing the Aerona Authorization token. This token is generated after a call to the Login API is successfully validated. The token must be sent back to the server in the header of each subsequent call for that user. |
curl https://aeronadental.com/AeronaAPI/v1/payments/search?patientId=426709&fromDate=2021-01-01&toDate=2022-04-01 -H "AERONA-AUTH-TOKEN: <your token>" -H "Content-Type: application/json"
[- {
- "id": 187941,
- "patientId": 426709,
- "practiceId": 9876,
- "practiceName": "My Dentist Inc.",
- "paymentType": "1",
- "paymentMethod": "Credit Card",
- "amount": 140.5,
- "cancellation": 140.5,
- "refund": 25,
- "refundReference": 1,
- "paymentNote": "Paid in full.",
- "paymentDate": "2022-01-19T13:34:21Z",
- "cancellationNote": "Cancelled by patient.",
- "cancellationDate": "2022-01-22T10:22:56Z",
- "patientPlan": false,
- "patientCarePlanId": 1254,
- "createdUserId": 34567,
- "dateModified": "2022-01-24T08:25:34Z",
- "thirdPartyProviderName": "My Insurance Co."
}
]
This API allows you to get an Invoice for a given ID.
invoiceId required | number <long> <= 11 characters The Invoice ID. |
AERONA-AUTH-TOKEN required | string Header containing the Aerona Authorization token. This token is generated after a call to the Login API is successfully validated. The token must be sent back to the server in the header of each subsequent call for that user. |
curl https://aeronadental.com/AeronaAPI/v1/invoices/337292 -H "AERONA-AUTH-TOKEN: <your token>" -H "Content-Type: application/json"
{- "id": 337292,
- "patientId": 426709,
- "date": "2022-01-19",
- "quantity": 3,
- "dateCompleted": "2022-01-19T13:34:21Z",
- "price": 25,
- "status": "Planned",
- "saleItem": "Mouthwash",
- "userId": 337292,
- "discount": 5,
- "discountAmount": 20,
- "refundAmount": 50,
- "refundNote": "Payment for treatment refunded",
- "refundDate": "2022-01-19T13:34:00Z",
- "refundMethod": "Credit Card",
- "patientCarePlan": "Comprehensive",
- "vatRate": 15,
- "insurerFee": 50,
- "adjustmentType": "Write Off",
- "adjustmentNote": "Payment for treatment adjusted.",
- "adjustmentAmount": 15,
- "prechargeDate": "2022-01-19",
- "trackingFee": 10
}
This API allows you to get the invoice details for treatment(s)/shop items, based on certain search criteria.We recommend that you always set the fromDate and toDate in your searches. If you do not provide a search start date, it will default to the first day of the current month. If you do not provide a search end date, it will default to the current date.
patientId | integer <int64> Example: patientId=426709 The patient ID. |
fromDate | string <date> Example: fromDate=2021-01-01 The search start date. |
toDate | string <date> Example: toDate=2021-12-31 The search end date. |
AERONA-AUTH-TOKEN required | string Header containing the Aerona Authorization token. This token is generated after a call to the Login API is successfully validated. The token must be sent back to the server in the header of each subsequent call for that user. |
curl https://aeronadental.com/AeronaAPI/v1/invoices/search?patientId=426709&fromDate=2021-01-01&toDate=2021-12-31 -H "AERONA-AUTH-TOKEN: <your token>" -H "Content-Type: application/json"
[- {
- "id": 337292,
- "patientId": 426709,
- "date": "2022-01-19",
- "quantity": 3,
- "dateCompleted": "2022-01-19T13:34:21Z",
- "price": 25,
- "status": "Planned",
- "saleItem": "Mouthwash",
- "userId": 337292,
- "discount": 5,
- "discountAmount": 20,
- "refundAmount": 50,
- "refundNote": "Payment for treatment refunded",
- "refundDate": "2022-01-19T13:34:00Z",
- "refundMethod": "Credit Card",
- "patientCarePlan": "Comprehensive",
- "vatRate": 15,
- "insurerFee": 50,
- "adjustmentType": "Write Off",
- "adjustmentNote": "Payment for treatment adjusted.",
- "adjustmentAmount": 15,
- "prechargeDate": "2022-01-19",
- "trackingFee": 10
}
]
Used to retrieve the List of Clinicians for optional Practice ID and Appointment Type ID.
practiceId | number <long> <= 11 characters Example: practiceId=9876 The ID of the Practice. |
appointmentTypeId | number <long> <= 11 characters Example: appointmentTypeId=1864 The Appointment Type ID. |
AERONA-AUTH-TOKEN required | string Header containing the Aerona Authorization token. This token is generated after a call to the Login API is successfully validated. The token must be sent back to the server in the header of each subsequent call for that user. |
curl https://aeronadental.com/AeronaAPI/v1/clinicians?practiceId=9876&appointmentTypeId=1864 -H "AERONA-AUTH-TOKEN: <your token>" -H "Content-Type: application/json"
[- {
- "id": 34567,
- "clinicianName": "Dr. John Smith"
}
]
This API can be used to get the complete Patient record of an existing Patient from Aerona.
patientId required | number <long> <= 11 characters The ID of the Patient. |
AERONA-AUTH-TOKEN required | string Header containing the Aerona Authorization token. This token is generated after a call to the Login API is successfully validated. The token must be sent back to the server in the header of each subsequent call for that user. |
curl https://aeronadental.com/AeronaAPI/v1/patients/426709 -H "AERONA-AUTH-TOKEN: <your token>" -H "Content-Type: application/json"
{- "practiceId": 9876,
- "patientTypeId": 1,
- "sourceId": 4,
- "referrerId": 28,
- "genderId": 2,
- "titleId": 0,
- "forename": "Mary",
- "surname": "Simpson",
- "maidenName": "Jones",
- "occupation": "Teacher",
- "dob": "2000-09-13",
- "knownAs": "Tom",
- "address1": "The Cottage",
- "address2": "Killylane",
- "address3": "Eglinton",
- "address4": "Co. Derry",
- "code": "BT473BD",
- "emailAddress": "support@aerona.com",
- "mobileNumber": "44780123456",
- "homeNumber": "0044 1234567",
- "workNumber": "00353 1234567",
- "faxNumber": "0044 7654321",
- "allowText": true,
- "allowEmail": true,
- "allowPrint": true,
- "userId": 34567,
- "statusId": 1,
- "appointments": [
- {
- "practiceId": 9876,
- "userId": 34567,
- "appointmentTypeId": 1864,
- "appointmentStatusId": 7,
- "appointmentTime": "2023-01-19T13:30:00Z",
- "emergency": false,
- "appointmentNotes": "Patient is nervous.",
- "duration": 45,
- "patientId": 426709
}
], - "patientCarePlans": [
- {
- "patientId": 426909,
- "carePlanId": 1254323,
- "enabled": true,
- "planReference": "string",
- "planReferenceDate": "2022-01-19",
- "startDate": "2022-01-19",
- "endDate": "2022-01-19",
- "price": 15,
- "paymentFrequency": 2,
- "exemption": 1,
- "exemptionDetails": "Patient Under 18.",
- "evidenceSeen": true,
- "carePlanDescription": "Private"
}
]
}
Used to update Patient details in Aerona.
patientId required | number <long> <= 11 characters The ID of the Patient. |
AERONA-AUTH-TOKEN required | string Header containing the Aerona Authorization token. This token is generated after a call to the Login API is successfully validated. The token must be sent back to the server in the header of each subsequent call for that user. |
practiceId required | integer <int64> <= 11 characters The ID of the Practice. |
patientTypeId required | integer <int64> <= 11 characters The Patient Type ID within Aerona: |
sourceId | integer <int64> <= 11 characters The ID of the source. This is taken from source list within Aerona. |
referrerId | integer <int64> <= 11 characters The ID of the referrer. This is taken from referrer list within Aerona. |
genderId | integer <int64> <= 11 characters This is the gender ID within Aerona. |
titleId | integer <int64> <= 11 characters This is the patient's Title ID. This is taken from the title list within Aerona. |
forename required | string <= 45 characters The patient's forename. |
surname required | string <= 45 characters The patient's surname. |
maidenName | string <= 45 characters The patient's maiden name. |
occupation | string <= 45 characters The patient's occupation. |
dob required | string <date> The patient's date of birth. Format is yyyy-MM-dd. |
knownAs | string <= 100 characters This is the patient's known as name. |
address1 | string <= 45 characters First line of address. |
address2 | string <= 45 characters Second line of address. |
address3 | string <= 45 characters Third line of address. |
address4 | string <= 30 characters Fourth line of address. |
code | string <= 10 characters The patient's postcode. |
emailAddress | string <= 75 characters The patient's email address. |
mobileNumber | string <= 20 characters The patient's mobile phone number. The leading zero should be replaced with country code. |
homeNumber | string <= 20 characters The patient's home phone number. |
workNumber | string <= 20 characters The patient's work phone number. |
faxNumber | string <= 20 characters The patient's fax number. |
allowText | boolean This is if the patient has given permission to be communicated via text message. The default value is false. |
allowEmail | boolean This is if the patient has given permission to be communicated via email. The default value is false. |
allowPrint | boolean This is if the patient has given permission to be communicated via post. The default value is false. |
userId | integer <int32> <= 11 characters This is the patient's preferred Clinician ID. This is taken from the Clinician list. |
statusId | integer <int32> <= 11 characters The patient's status within Aerona. |
{- "practiceId": 9876,
- "patientTypeId": 1,
- "sourceId": 4,
- "referrerId": 28,
- "genderId": 2,
- "titleId": 0,
- "forename": "Mary",
- "surname": "Simpson",
- "maidenName": "Jones",
- "occupation": "Teacher",
- "dob": "2000-09-13",
- "knownAs": "Tom",
- "address1": "The Cottage",
- "address2": "Killylane",
- "address3": "Eglinton",
- "address4": "Co. Derry",
- "code": "BT473BD",
- "emailAddress": "support@aerona.com",
- "mobileNumber": "44780123456",
- "homeNumber": "0044 1234567",
- "workNumber": "00353 1234567",
- "faxNumber": "0044 7654321",
- "allowText": true,
- "allowEmail": true,
- "allowPrint": true,
- "userId": 34567,
- "statusId": 1
}
True if Patient was successfully updated.
False otherwise.
true
Used to create a new patient in Aerona.
The patient's date of birth and their forename and surname will be used to check if the patient already exists in Aerona Clinic. If an existing patient matches the details of the new patient, then the list of possible matches will be returned to the caller.
If the possible duplicate matches have been reviewed and you still want to force Aerona to create the new patient, the forceCreate flag can be set to true and the request resubmitted. If a new patient is created successfully, the patient ID in the response will be a non-zero value. If a record for the patient already exists, then the patient ID returned will be 0 and a list containing the duplicate patient details are returned.
AERONA-AUTH-TOKEN required | string Header containing the Aerona Authorization token. This token is generated after a call to the Login API is successfully validated. The token must be sent back to the server in the header of each subsequent call for that user. |
practiceId required | integer <int64> <= 11 characters The ID of the Practice. |
patientTypeId required | integer <int64> <= 11 characters The Patient Type ID within Aerona: |
sourceId | integer <int64> <= 11 characters The ID of the source. This is taken from source list within Aerona. |
referrerId | integer <int64> <= 11 characters The ID of the referrer. This is taken from referrer list within Aerona. |
genderId | integer <int64> <= 11 characters This is the gender ID within Aerona. |
titleId | integer <int64> <= 11 characters This is the patient's Title ID. This is taken from the title list within Aerona. |
forename required | string <= 45 characters The patient's forename. |
surname required | string <= 45 characters The patient's surname. |
maidenName | string <= 45 characters The patient's maiden name. |
occupation | string <= 45 characters The patient's occupation. |
dob required | string <date> The patient's date of birth. Format is yyyy-MM-dd. |
knownAs | string <= 100 characters This is the patient's known as name. |
address1 | string <= 45 characters First line of address. |
address2 | string <= 45 characters Second line of address. |
address3 | string <= 45 characters Third line of address. |
address4 | string <= 30 characters Fourth line of address. |
code | string <= 10 characters The patient's postcode. |
emailAddress | string <= 75 characters The patient's email address. |
mobileNumber | string <= 20 characters The patient's mobile phone number. The leading zero should be replaced with country code. |
homeNumber | string <= 20 characters The patient's home phone number. |
workNumber | string <= 20 characters The patient's work phone number. |
faxNumber | string <= 20 characters The patient's fax number. |
allowText | boolean This is if the patient has given permission to be communicated via text message. The default value is false. |
allowEmail | boolean This is if the patient has given permission to be communicated via email. The default value is false. |
allowPrint | boolean This is if the patient has given permission to be communicated via post. The default value is false. |
userId | integer <int32> <= 11 characters This is the patient's preferred Clinician ID. This is taken from the Clinician list. |
statusId | integer <int32> <= 11 characters The patient's status within Aerona. |
forceCreate | boolean This is if the possible matches have been reviewed and you need toforce Aerona to create the new patient. |
{- "practiceId": 9876,
- "patientTypeId": 1,
- "sourceId": 4,
- "referrerId": 28,
- "genderId": 2,
- "titleId": 0,
- "forename": "Mary",
- "surname": "Simpson",
- "maidenName": "Jones",
- "occupation": "Teacher",
- "dob": "2000-09-13",
- "knownAs": "Tom",
- "address1": "The Cottage",
- "address2": "Killylane",
- "address3": "Eglinton",
- "address4": "Co. Derry",
- "code": "BT473BD",
- "emailAddress": "support@aerona.com",
- "mobileNumber": "44780123456",
- "homeNumber": "0044 1234567",
- "workNumber": "00353 1234567",
- "faxNumber": "0044 7654321",
- "allowText": true,
- "allowEmail": true,
- "allowPrint": true,
- "userId": 34567,
- "statusId": 1,
- "forceCreate": true
}
The newly created Patient ID.
{- "id": 426709,
- "duplicatePatients": [ ]
}
Used to retrieve a list of Treatments for a specific Patient.
patientId required | number <long> <= 11 characters The ID of the Patient whose Treatment details are to be retrieved. |
AERONA-AUTH-TOKEN required | string Header containing the Aerona Authorization token. This token is generated after a call to the Login API is successfully validated. The token must be sent back to the server in the header of each subsequent call for that user. |
curl https://aeronadental.com/AeronaAPI/v1/patients/treatments/4117594 -H "AERONA-AUTH-TOKEN: <your token>" -H "Content-Type: application/json"
[- {
- "treatmentId": 4117594,
- "patientId": 426709,
- "appointmentTime": "2022-01-19T13:30:00Z",
- "userId": 34567,
- "dateCreated": "2022-01-19T13:34:21Z",
- "dateCompleted": "2022-01-19T13:59:21Z",
- "plan": "1",
- "statusId": "2",
- "status": "Planned",
- "treatmentPlanDescription": "Plan 1",
- "deleteInd": false,
- "saleItemText": "Filling",
- "saleItemCode": "string",
- "outstandingInsuranceAmount": "0.0",
- "amountPaid": "50.0",
- "amountRefunded": "0.0",
- "quantity": "1",
- "unitNetPrice": "50.0",
- "totalNetPrice": "50.0",
- "totalDiscount": "10.0",
- "totalPrice": "40.0",
- "vatRate": 20,
- "consultationNotes": [
- {
- "id": 284291,
- "appointmentId": 34234,
- "patientId": 426709,
- "userId": 34567,
- "noteTemplateId": 561547,
- "toothId": 8,
- "date": "2022-01-19T13:34:21Z",
- "complete": true,
- "createdByName": "Dr. John Smith",
- "appointmentTime": "2022-01-22T15:30:00Z",
- "noteTemplateText": "General",
- "treatment": "Root Canal Treatment",
- "noteAnswers": [
- {
- "answer": "Yes",
- "question": "Are you aged 65 years or older?"
}
]
}
], - "hasNotes": true
}
]
The Patient Search API will be used to retrieve patient details in Aerona Clinic. At least one of the search fields must be supplied in order to carry out a search.
forename | string Example: forename=Mary forename |
surname | string Example: surname=Simpson surname |
address1 | string Example: address1=The Cottage address1 |
address2 | string Example: address2=Killylane address2 |
address3 | string Example: address3=Eglinton address3 |
address4 | string Example: address4=Co.Derry address4 |
postcode | string Example: postcode=BT48 7BH postcode |
phoneNumber | string Example: phoneNumber=00449867598673 phoneNumber |
emailAddress | string Example: emailAddress=support@aerona.com emailAddress |
referenceNo | string Example: referenceNo=ABC123 referenceNo |
dob | string <date> Example: dob=2000-09-13 dob |
genderId | integer <int64> Example: genderId=2 genderId |
AERONA-AUTH-TOKEN required | string Header containing the Aerona Authorization token. This token is generated after a call to the Login API is successfully validated. The token must be sent back to the server in the header of each subsequent call for that user. |
curl "https://aeronadental.com/AeronaAPI/v1/patients/search?forename=Mary&surname=Simpson&dob=2000-09-13" -H "AERONA-AUTH-TOKEN: <your token>" -H "Content-Type: application/json"
[- {
- "patientId": 426709,
- "patientFullName": "Mary Simpson",
- "patientFullAddress": "The Cottage, Killylane, Eglinton, Co.Derry",
- "dob": "2000-09-13"
}
]
Used to retrieve a list of consultation notes for a specific Patient.
patientId required | number <long> <= 11 characters The ID of the Patient whose notes are to be retrieved. |
AERONA-AUTH-TOKEN required | string Header containing the Aerona Authorization token. This token is generated after a call to the Login API is successfully validated. The token must be sent back to the server in the header of each subsequent call for that user. |
curl https://aeronadental.com/AeronaAPI/v1/patients/notes/426709 -H "AERONA-AUTH-TOKEN: <your token>" -H "Content-Type: application/json"
{- "consultationNotes": [
- {
- "id": 284291,
- "appointmentId": 34234,
- "patientId": 426709,
- "userId": 34567,
- "noteTemplateId": 561547,
- "toothId": 8,
- "date": "2022-01-19T13:34:21Z",
- "complete": true,
- "createdByName": "Dr. John Smith",
- "appointmentTime": "2022-01-22T15:30:00Z",
- "noteTemplateText": "General",
- "treatment": "Root Canal Treatment",
- "noteAnswers": [
- {
- "answer": "Yes",
- "question": "Are you aged 65 years or older?"
}
]
}
]
}
This API allows you to get the details for a Payment Allocation for a given ID.
allocationId required | number <long> <= 11 characters The ID of the Payment Allocation. |
AERONA-AUTH-TOKEN required | string Header containing the Aerona Authorization token. This token is generated after a call to the Login API is successfully validated. The token must be sent back to the server in the header of each subsequent call for that user. |
curl https://aeronadental.com/AeronaAPI/v1/allocations/1526789 -H "AERONA-AUTH-TOKEN: <your token>" -H "Content-Type: application/json"
{- "id": 1526789,
- "invoiceId": 337292,
- "paymentId": 187941,
- "amount": 15,
- "allocatedDate": "2022-01-19T13:34:14Z",
- "createdUserId": 34567,
- "dateModified": "2022-01-19T13:34:14Z",
- "lastModUserId": 34567,
- "deleteInd": false
}
This API allows you to get the payment allocation details for payments, based on certain search criteria.
We recommend that you always set the fromDate and toDate in your searches. If you do not provide a search start date, it will default to the first day of the current month. If you do not provide a search end date, it will default to the current date.
patientId | integer <int64> Example: patientId=426709 The patient ID. |
fromDate | string <date> Example: fromDate=2022-01-01 The search start date. |
toDate | string <date> Example: toDate=2022-02-01 The search end date. |
AERONA-AUTH-TOKEN required | string Header containing the Aerona Authorization token. This token is generated after a call to the Login API is successfully validated. The token must be sent back to the server in the header of each subsequent call for that user. |
curl https://aeronadental.com/AeronaAPI/v1/allocations/search?patientId=426709&fromDate=2022-01-01&toDate=2022-04-01 -H "AERONA-AUTH-TOKEN: <your token>" -H "Content-Type: application/json"
[- {
- "id": 1526789,
- "invoiceId": 337292,
- "paymentId": 187941,
- "amount": 15,
- "allocatedDate": "2022-01-19T13:34:14Z",
- "createdUserId": 34567,
- "dateModified": "2022-01-19T13:34:14Z",
- "lastModUserId": 34567,
- "deleteInd": false
}
]
This API will be used to authenticate the user trying to access Aerona Clinic.
The client will pass the user's username, password and practice PIN as a JSON object in the request body. If the authentication is successful, an authentication token will be returned in the response header called AERONA-AUTH-TOKEN. The response body itself will be empty. The token returned must be sent back to the server in the AERONA-AUTH-TOKEN header of each subsequent API request for that user.
The token is valid for 1 hour.
If the login is unsuccessful, a 401 (Unauthorized) response will be returned.
Parameters must be added to a com.aerona.web.api.model.LoginRequest object
username required | string <= 30 characters The username to log in as. |
password required | string <= 45 characters The password of the user. |
pin required | string <= 11 characters The practice pin. |
{- "username": "John Smith",
- "password": "mypassword",
- "pin": "1234"
}
Used to retrieve a list of key value pairs from Aerona Clinic.
The following lists can be retrieved: Patient Titles, Patient Source, Patient Referrer, or Practice.
listName required | string <= 8 characters The name of the requested list. |
AERONA-AUTH-TOKEN required | string Header containing the Aerona Authorization token. This token is generated after a call to the Login API is successfully validated. The token must be sent back to the server in the header of each subsequent call for that user. |
curl https://aeronadental.com/AeronaAPI/v1/key-value-list/source -H "AERONA-AUTH-TOKEN: <your token>" -H "Content-Type: application/json"
[- {
- "key": 4,
- "value": "Newspaper"
}
]
Create a new Care Plan for a Patient.
AERONA-AUTH-TOKEN required | string Header containing the Aerona Authorization token. This token is generated after a call to the Login API is successfully validated. The token must be sent back to the server in the header of each subsequent call for that user. |
patientId required | integer <int64> <= 11 characters The Patient ID. |
carePlanId required | integer <int64> <= 11 characters The Care Plan ID. |
enabled required | boolean Is the Care Plan enabled? |
planReference | string The Plan Reference. |
planReferenceDate | string <date> The Plan Reference date. |
startDate | string <date> The start date of the Care Plan. |
endDate | string <date> The end date of the Care Plan. |
price required | number <double> <= 9 characters The cost of the Care Plan. |
paymentFrequency required | integer <int32> <= 1 characters The frequency of the Payment. 1 - Daily, 2 - Weekly, 3 - Monthly. |
exemption | integer <int32> The Exemption, applies to NHS patients only. |
exemptionDetails | string The Exemption details, applies to NHS patients only.. |
evidenceSeen | boolean Evidence seen, applies to NHS patients only. |
carePlanDescription | string Care Plan description. |
forceCreate | boolean Indicates whether the patient care plan should be created regardless of a duplicate being found. Default value is false. |
{- "patientId": 426909,
- "carePlanId": 1254323,
- "enabled": true,
- "planReference": "string",
- "planReferenceDate": "2022-01-19",
- "startDate": "2022-01-19",
- "endDate": "2022-01-19",
- "price": 15,
- "paymentFrequency": 2,
- "exemption": 1,
- "exemptionDetails": "Patient Under 18.",
- "evidenceSeen": true,
- "carePlanDescription": "Private",
- "forceCreate": true
}
The newly created Patient Care Plan ID.
1254
Used to retrieve the list of Care Plans associated with the practice of the logged in user. No request paramaters are necessary.
AERONA-AUTH-TOKEN required | string Header containing the Aerona Authorization token. This token is generated after a call to the Login API is successfully validated. The token must be sent back to the server in the header of each subsequent call for that user. |
curl https://aeronadental.com/AeronaAPI/v1/care-plans -H "AERONA-AUTH-TOKEN: <your token>" -H "Content-Type: application/json"
[- {
- "id": 1254,
- "description": "Private",
- "weeklyAmount": 10,
- "monthlyAmount": 0,
- "yearlyAmount": 0,
- "enabled": true
}
]
Used to retrieve a list of Treatments available on a Care Plan.
practiceId required | integer <int64> Example: practiceId=9876 The Practice ID. |
carePlanId required | integer <int64> Example: carePlanId=1254 The CarePlan ID. |
AERONA-AUTH-TOKEN required | string Header containing the Aerona Authorization token. This token is generated after a call to the Login API is successfully validated. The token must be sent back to the server in the header of each subsequent call for that user. |
curl https://aeronadental.com/AeronaAPI/v1/care-plans/treatments?practiceId=9876&carePlanId=1254 -H "AERONA-AUTH-TOKEN: <your token>" -H "Content-Type: application/json"
[- {
- "id": 723164,
- "carePlanId": 1254,
- "practiceId": 9876,
- "paymentCode": "payc",
- "patientPrice": 100,
- "insurancePrice": 200,
- "flexiblePrice": true,
- "enabled": true,
- "discount": 0,
- "approvalRequired": true,
- "itemCode": "RCT1",
- "itemDescription": "Root Canal Treatment",
- "shopItem": false,
- "stockLevel": 120,
- "reorderLevel": 50,
- "vatRateId": 82348,
- "menuGroupText": "Repairs",
- "shopCategoryText": "My Category",
- "accountItemCount": 6,
- "duration": 30,
- "vatRateDesc": "Exempt",
- "vatRatePercent": 10,
- "carePlanDescription": "Private"
}
]