MediBuddy Mobile Services V1.1

<back to all web services

UserProfileRequest

The following routes are available for this service:
GET,POST/user/Profile/

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/UserProfileRequest HTTP/1.1 
Host: mb-mobile-api.medibuddy.in 
Content-Type: text/csv
Content-Length: length

Addresses,HealthMailsRequired,PrimaryMobile,PrimaryEmailId,AlternateEmailId,AlternateContact,ProfilePicId,Gender,Weight,Height,DOB,IsBiometricEnabledForUser,MBToken,IPAddress,UserAgent,UserPlatform,PlatformVer,MobileDeviceModel
"[{addressTag:00000000000000000000000000000000,addressType:String,houseNo:String,addressLine1:String,addressLine2:String,street:String,locality:String,city:String,state:String,pincode:String,landMark:String,isPrimary:False,latitude:0,longitude:0,isActive:False,phoneNo:String}]",False,String,String,String,String,String,String,0,0,0001-01-01,String,String,String,String,String,String,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

UserProfileDetails,ProfileFileBytes,Name
"{addresses:[{addressTag:00000000000000000000000000000000,addressType:String,houseNo:String,addressLine1:String,addressLine2:String,street:String,locality:String,city:String,state:String,pincode:String,landMark:String,isPrimary:False,latitude:0,longitude:0,isActive:False,phoneNo:String}],primaryMobile:String,primaryEmailId:String,alternateEmailId:String,alternateContact:String,profileImgPath:String,weight:0,height:0,mediAssistId:0,dateOfBirth:String,gender:String,isBiometricEnabled:String}",AA==,String