Public API
Patient Functions
Surgeon Functions
General Functions
POST Doctor Facility Add
Adds a facility to the privileges of a doctor. Requires the LoginKey from Doctor Login.
Resource URL
https://testapi.surgiprice.com/doctor-facility-add/
Input Parameters
Parameter Name | Description | Parameter Type | Required | Example |
---|---|---|---|---|
LoginKey | LoginKey for Logged in Doctor | 32 Characters | YES | 12345678901234567890123456789012 |
FacilityID | FacilityID to add to the doctor's privileges | Number | YES | 12345678901234567890123456789012 |
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 |