HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/ClaimBillAdditionRequest HTTP/1.1
Host: mb-mobile-api.medibuddy.in
Content-Type: text/jsv
Content-Length: length
{
claimReferenceNumber: String,
bills:
[
{
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
}
],
mbToken: String,
ipAddress: String,
userAgent: String,
userPlatform: String,
platformVer: String,
mobileDeviceModel: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
isSuccess: False,
claimReferenceNo: String,
message: String,
isDuplicate: False,
duplicateClaimNumber: String,
bills:
[
{
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
}
]
}