HTTP + CSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /csv/reply/ClaimBillAdditionRequest HTTP/1.1
Host: mb-mobile-api.medibuddy.in
Content-Type: text/csv
Content-Length: length
ClaimReferenceNumber,Bills,MBToken,IPAddress,UserAgent,UserPlatform,PlatformVer,MobileDeviceModel
String,"[{id:0,billId:0,billNumber:String,billDate:String,billDescription:String,billAmount:0,noOfDocs:0,payableAmount:0,isActive:False,address:String,prescriptionDate:0001-01-01,doctorName:String,doctorRegnNo:String,gstNo:String}]",String,String,String,String,String,String
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
IsSuccess,ClaimReferenceNo,Message,IsDuplicate,DuplicateClaimNumber,Bills
False,String,String,False,String,"[{id:0,billId:0,billNumber:String,billDate:String,billDescription:String,billAmount:0,noOfDocs:0,payableAmount:0,isActive:False,address:String,prescriptionDate:0001-01-01,doctorName:String,doctorRegnNo:String,gstNo:String}]"