Introduction to Dental API

Sections

Theme switcher

POST Patient

Header Parameters

org-idstring Required
x-api-keystring Required
Acceptstring
Idempotency-Keystring

Optional, strongly recommended. A unique value you create for each new patient: 8 to 128 characters using letters, digits, underscore, full stop or hyphen (a UUID works well). Reuse it only to retry the same request.

Body Parameters

firstnamestring Required

1-30 characters (Latin-1)

surnamestring Required

1-30 characters (Latin-1)

date_of_birthstring Required

YYYY-MM-DD, 1900-01-01 to today

practitioner_idnumber

Preferred practitioner. Active practitioner_id from /api/v1/practitioners. Omit it, or send 0, for no preferred practitioner.

gender_codestring

M or F (either case). Any other value is rejected with 422.

titlestring

Up to 6 characters (for example MR, MRS, DR)

middle_namestring

Up to 15 characters

emailstring

Up to 60 characters. Must be a complete email address, otherwise the request is rejected with 400. An empty string is accepted and stored as an empty string.

phone_homestring

Up to 20 characters

phone_mobilestring

Up to 20 characters. Must contain 7 to 15 digits; spaces, hyphens, brackets and + are allowed. Anything else is rejected with 400. An empty string is accepted and stored as an empty string.

phone_workstring

Up to 20 characters

occupationstring

Up to 30 characters

companystring

Up to 100 characters

address_line1string

Up to 300 characters

address_line2string

Up to 40 characters

suburbstring

Up to 80 characters

statestring

One of NSW, VIC, QLD, WA, SA, TAS, ACT or NT (either case). Any other value is rejected with 400 PW-6027.

postcodestring

4 digits, 0200-9999

address_line1_workstring

Up to 300 characters

address_line2_workstring

Up to 40 characters

suburb_workstring

Up to 80 characters

state_workstring

One of NSW, VIC, QLD, WA, SA, TAS, ACT or NT (either case). Any other value is rejected with 400 PW-6027.

postcode_workstring

4 digits, 0200-9999

force_createinteger

0 blocks duplicates (default), 1 allows duplicate creation

Response

200
Object

Response Attributes

statusboolean
messagestring
dataarray
400
Object

Response Attributes

dataarray
statusboolean
messagestring
support_codestring
404
Object

Response Attributes

dataarray
statusboolean
messagestring
support_codestring
409
Object

Response Attributes

dataarray
statusboolean
messagestring
support_codestring
duplicate_patient_idnumber
duplicate_card_nostring
422
Object

Response Attributes

dataarray
statusboolean
messagestring
Was this section helpful?

POST

/

Select
1

Response

Was this section helpful?