Public API
Patient Functions
Surgeon Functions
General Functions
POST Patient Register
Used to register a patient with SurgiPrice™
Resource URL
https://testapi.surgiprice.com/register/
Input Parameters
| Parameter Name | Description | Parameter Type | Required | Example |
|---|---|---|---|---|
| FirstName | Patient's First Name | 50 Characters | YES | Aaron |
| MiddleName | Patient's Middle Name | 50 Characters | no | Jay |
| LastName | Patient's Last Name | 50 Characters | YES | Lev |
| Patient's Email | 100 Characters | YES | Lev |
Result Description
| Parameter Name | Description | Parameter Type | Example |
|---|---|---|---|
| Success | If the user was registered or not | 0 (fail) or 1 (success) | 0 |
| Message | If Success=0, this parameter contains the reason the registration failed. This is for feedback to the user. | String | That email is already in the database |