DH Persons-Events-Subscription Status Rest API
Description
API allows importing of person and event data immediately to the Dialog Health platform as well as the ability to manage subscription status. Please note: API use is restricted to 250 requests per hour.
https://[dialoghealth-server]/dialoghealth-importdata-api/
PUT /api/{consoleCode}
| | | |
---|
consoleCode | A unique set of letters and numbers automatically assigned to each console upon creating | X | SIDJUL8079 |
| | | |
---|
ImportRequest | ImportRequest | X | - |
ApiResponse
| | |
---|
200 | - | ApiResponse |
400 | - | ErrorResponse |
Sample curl command to send request $ curl --location --request PUT 'https://[dialoghealth-server]/dialoghealth-importdata-api/api/WEBMAG6745' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Basic {credentials}' \
--data-raw '{request-body-json}'
Sample request body (json) "firstName": "fist-name",
"date": "08/21/1999 12:30 PM",
"arrivalTime": "08:00 AM",
"location": "appt location",
"eventStatus": "SCHEDULED",
"associate": "associate",
Sample response body (json) "requestId": "bb5d577b-ff92-48c2-8dd1-c80cac2a661f",
https://[dialoghealth-server]/dialoghealth-importdata-api/
DELETE /api/{consoleCode}/{personId}
| | | |
---|
consoleCode | A unique set of letters and numbers automatically assigned to each console upon creating | X | SIDJUL8079 |
personId | Unique identifier of the person to be opted out | X | - |
None
ApiResponse
| | |
---|
200 | - | ApiResponse |
400 | - | ErrorResponse |
Sample curl command to send request $ curl --location --request DELETE 'https://[dialoghealth-server]/dialoghealth-importdata-api/api/WEBMAG6745/347b8fc6487b4c3690944dc3e676b433' \
--header 'Authorization: Basic {credentials}' \
Sample request body (json) "requestId": "f8d4c793-76c2-43f7-b9bf-7cb6734ee8ac",
| | | |
---|
city | - | String | City |
state | - | String | State |
zip | - | String | ZIP |
street | - | String | Street |
| | | |
---|
requestId | String | Unique identifier of the request | - |
response | Response | Response body | - |
| | | |
---|
message | String | Error response message | - |
| | | | |
---|
id | - | String | Unique identifier of the event | - |
name | X | String | Event name | - |
date | X | String | Event date | MM/dd/yyyy hh:mm AM/PM |
arrivalTime | - | String | Event arrival time | hh:mm AM/PM |
location | - | String | Event location | - |
eventStatus | X | String | Event status | Enum: CANCELED, COMPLETED, RESCHEDULED, DISCHARGED, SCHEDULED, NO_SHOW |
associate | - | String | Event associate | - |
misc1 | - | String | Miscellaneous field for an event | - |
misc2 | - | String | Miscellaneous field for an event | - |
misc3 | - | String | Miscellaneous field for an event | - |
misc4 | - | String | Miscellaneous field for an event | - |
misc5 | - | String | Miscellaneous field for an event | - |
| | | | |
---|
groupKeyword | - | String | Group Keyword for optin | - |
person | X | Person | Person information | - |
address | X | Address | Address information | - |
events | - | List of Events | Events information | - |
| | | | |
---|
id | - | String | Unique identifier of the person | - |
firstName | - | String | First name | - |
lastName | - | String | Last name | - |
dob | - | String | Date of birth | mm/dd/yyyy |
email | - | String | Email | |
msisdn | - | String | Mobile phone number | 10 digits without additional signs: 1234567890 |
additionalPhone | - | String | Additional mobile phone number | 10 digits without additional signs: 1234567890 |
misc1 | - | String | Miscellaneous field for a person | - |
misc2 | - | String | Miscellaneous field for a person | - |
misc3 | - | String | Miscellaneous field for a person | - |
misc4 | - | String | Miscellaneous field for a person | - |
misc5 | - | String | Miscellaneous field for a person | - |
| | | |
---|
action | String | Action performed by the request | Enum: CREATED, UPDATED |
Related Articles
DH Patient and Appointment REST XML API
Access HTTP Basic Authentication basic Endpoints https://[dialoghealth-server]/dh-integration/rest/ Import Patients' data POST /import/protocall/authbase/{CONSOLE-CODE} Content Type application/xml; charset=utf-8 Parameters Request Body - XML ...
DH Patient & Visit SOAP API Specifications
Endpoints http://[dialoghealth-server]/dialoghealth-source-api/soap/DataShare http://[dialoghealth-server]/dh-integration/soap/DataShare Target namespace: https://www.dialoghealth.com/ DataShareSoapBinding getReturnCodeStr POST /GetReturnCodeStr ...
DH Trigger SMS API
Introduction Trigger is a message to one particular person which can be set up for a client and sent on demand as API call. The trigger works only for known patients/employees, who are already registered in Dialog Health database. Triggers can be ...
DH Message Results Writeback API
DH Message Results Writeback API Access · HTTP Basic Authentication basic Endpoints https://[dialoghealth-server]/dialoghealth-writeback-api/ ApiController responses GET /api/responses/{consoleCode}/{startTimestamp}/{endTimestamp} Parameters Path ...
DH Send SMS API
Access HTTP Basic Authentication basic Endpoints https://[dialoghealth-server]/dialoghealth-simplepay-api/ Silent opt-in and message delivery submit POST /submit/{console-code} Parameters Path Parameter Name Description Required Pattern ...