Public API
Patient Functions
Surgeon Functions
General Functions
POST Doctor Register Device
Used to register a mobile device for a doctor with SurgiPrice™ SurgiConnect
Resource URL
https://testapi.surgiprice.com/doctor-register-device/
Input Parameters
Input Parameters
| Parameter Name | Description | Parameter Type | Required | Example |
|---|---|---|---|---|
| LoginKey | LoginKey for Logged in Doctor | 32 Characters | YES | 12345678901234567890123456789012 |
| DeviceToken | Device Token | 32 Characters | YES | 12345678901234567890123456789012 |
| DeviceType | Device Type | iOS or Android | YES | iOS |
| OSVersion | OS Version | 20 Characters | YES | iOS 7.0 |
| AppVersion | App Version | 20 Characters | YES | 1.0 |
Result Description
| Parameter Name | Description | Parameter Type | Example |
|---|---|---|---|
| Success | If the doctor's device was registered or not | 0 (fail) or 1 (success) | 0 |
| Message | If Success=0, this parameter contains the reason the device registration failed. This is for feedback to the user. | String | The device field was missing |