MediBuddy Mobile Services V1.1

<back to all web services

BeneficiaryEcardPDFRequest

The following routes are available for this service:
POST/benef/eCardPDF

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/BeneficiaryEcardPDFRequest HTTP/1.1 
Host: mb-mobile-api.medibuddy.in 
Content-Type: text/csv
Content-Length: length

Maid,BeneficiaryName,MobileNumber,Email,OTPRequest,MBToken,IPAddress,UserAgent,UserPlatform,PlatformVer,MobileDeviceModel
0,String,0,String,"{encryptedText:String,mobileNumber:String,email:String,otp:String,passwordEncryption:String,initialVector:String,otpExpiryDateTime:0001-01-01}",String,String,String,String,String,String

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

isSuccess,errorMessage,MobileNumber,EmailId,FileName,FileBytes,OTPResponse
False,String,String,String,String,AA==,"{encryptedText:String,isSendOTPSuccess:False,errorMsg:String,initialVector:String,passwordEncryption:String}"