Public API
Patient Functions
Surgeon Functions
General Functions
POST Doctor Facility Add New
Adds a new facility to the facilities database and adds that privilege for the doctor. Requires the LoginKey from Doctor Login.
Resource URL
https://testapi.surgiprice.com/doctor-facility-add-new/
Input Parameters
Parameter Name | Description | Parameter Type | Required | Example |
---|---|---|---|---|
LoginKey | LoginKey for Logged in Doctor | 32 Characters | YES | 12345678901234567890123456789012 |
FacilityName | Facility Name | String | Yes | Tower Oaks Surgery Center |
Address1 | Address1 | String | Yes | 13 Cherry Lane |
Address2 | Address2 | String | No | Suite 7 |
City | City | String | Yes | Rockville |
State | State | String | Yes | MD |
Zip | Zip | String | Yes | 20852 |
CountryCode | CountryCode | String | USA | 20852 |
Phone | Phone | String | No | (555) 555-1212 |
Result Description
Parameter Name | Description | Parameter Type | Example |
---|---|---|---|
Success | If the api call was successful 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 |