Public API
Patient Functions
Surgeon Functions
General Functions
POST Doctor Facilities
Returns a list of the facilities that the doctor has privileges. Requires the LoginKey from Doctor Login.
Resource URL
https://testapi.surgiprice.com/doctor-facilities/
Input Parameters
Parameter Name | Description | Parameter Type | Required | Example |
---|---|---|---|---|
LoginKey | LoginKey for Logged in Doctor | 32 Characters | YES | 12345678901234567890123456789012 |
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 |
CountryCode | Country Code | String | US |