API Popups

See API Specification

Popups GET

Version Added: 21.4

Gets active and disabled popups for a patient and associated Family and SuperFamily.

Example Request:
GET /popups?PatNum=10

Example Response:
[
{
"PopupNum": 1,
"PatNum": 10,
"Description": "Needs to fill out paperwork.",
"PopupLevel": "Patient",
"IsDisabled": "false"
},
{
"PopupNum": 2,
"PatNum": 10,
"Description": "Verify cell phone number is accurate.",
"PopupLevel": "Family",
"IsDisabled": "false"
},
{
"PopupNum": 5,
"PatNum": 35,
"Description": "Ask about medications.",
"PopupLevel": "SuperFamily",
"IsDisabled": "false"
}
]

200 OK
400 BadRequest (with explanation)
404 NotFound (with explanation)

Popups POST (create)

Version Added: 21.1

Be careful. Popups tend to be annoying to users and are usually reserved for more important notes.

PatNum: Required.
Description: Required.
PopupLevel: Optional. "Patient", triggered when patient is selected in Open Dental. "Family", triggered when any member of the patient's family is selected in Open Dental. "SuperFamily", triggered when any member of the patient's super family is selected in Open Dental. The patient must be part of a SuperFamily for this option to be available. Default is "Patient".

Example Request:
POST /popups

{
"PatNum": "15",
"Description":"Needs to fill out paperwork",
"PopupLevel":"Patient"
}

Example Response:
201 Created
400 BadRequest (with explanation)
404 NotFound (with explanation)