Public API
Patient Functions
Surgeon Functions
General Functions
POST Doctor Profile
Returns a list of matching facilities used to add privileges for the logged in doctor. Requires the LoginKey from Doctor Login.
Resource URL
https://testapi.surgiprice.com/doctor-facility-autocomplete/
Input Parameters
| Parameter Name | Description | Parameter Type | Required | Example |
|---|---|---|---|---|
| LoginKey | LoginKey for Logged in Doctor | 32 Characters | YES | 12345678901234567890123456789012 |
| State | Search for facilities only in this state | String | No | MD |
| q | Search string for facilities | String | YES | Hos |
Result Description
| Parameter Name | Description | Parameter Type | Example |
|---|---|---|---|
| Success | If the information was retrieved from the database or not | 0 (fail) or 1 (success) | 0 |
| Message | If Success=0, this parameter contains the reason the api call failed. This is for feedback to the user. | String | Invalid LoginKey |
| Facilities | List of facilities | Record | See Below |
Facility Records
| Parameter Name | Description | Parameter Type | Example |
|---|---|---|---|
| FacilityID | Facility ID | Number | 5 |
| Location | The address of the facility | String | 13 Cherry Lane\nRockville, MD 20852 |
| FacilityName | Facility name | String | Holy Cross Hospital |
| Address1 | Address1 | String | 13 Cherry Lane |
| Address2 | Address2 | String | Suite 100 |
| City | City | String | Rockville |
| State | State | String | MD |
| Zip | Zip | String | 20852 |