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 NameDescriptionParameter TypeRequiredExample
LoginKeyLoginKey for Logged in Doctor32 CharactersYES12345678901234567890123456789012
DeviceTokenDevice Token32 CharactersYES12345678901234567890123456789012
DeviceTypeDevice TypeiOS or AndroidYESiOS
OSVersionOS Version20 CharactersYESiOS 7.0
AppVersionApp Version20 CharactersYES1.0

Result Description

Parameter NameDescriptionParameter TypeExample
SuccessIf the doctor's device was registered or not0 (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