The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/BeneficiaryHeaderRequest HTTP/1.1
Host: mb-mobile-api.medibuddy.in
Content-Type: text/jsv
Content-Length: length
{
inActivePolicyRequired: False,
beneficiaryName: String,
dbType: NOTAVAILABLE,
employeeNo: String,
gender: String,
maid: 0,
memberId: String,
policyHolder: String,
policyNo: String,
benefEmail: String,
range: 0,
relationshipId: 0,
startIndex: 0,
allowFuzzinessInBenefName: False,
percentageMatchForFuzziness: 0,
benefEmgNo: String,
benefUserId: 0,
otherTPABenefId: String,
tpaId: 0,
policyCorpIds:
[
0
],
policyIds:
[
0
],
dob: 0001-01-01
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
benefs:
[
{
name: String,
relation: String,
age: 0,
userId: 0,
maid: 0,
relationId: 0,
benefDOB: String,
sex: String,
isActive: False,
policyId: 0,
benefTotalSumInsured: 0,
benefAmtSpent: 0,
benefAmtAuthorised: 0,
benefBalSI: 0,
benefPolIncDate: String,
effectiveDate: String,
benefAddDate: String,
benefRemarks: String,
dateOfJoining: String,
priBenefEmpCode: String,
priBenefName: String,
priBenefVIP: False,
email: String,
contact: String,
emailIds:
[
String
],
contacts:
[
String
],
unMaskedEmail: String,
unMaskedContact: String,
sourceDBType: NOTAVAILABLE,
domiFloater: False,
domiBalance: 0,
domiLimit: 0,
priBenefId: 0,
priBenefGrade: String,
policy:
{
insuranceCompanyId: 0,
insuranceCompanyName: String,
insuranceShortName: String,
policyNumber: String,
roomCategory: String,
corporateName: String,
corporateId: 0,
groupCorporateId: 0,
policyStartDate: 0001-01-01,
policyEndDate: 0001-01-01,
policyHolderName: String,
polPaymentDirect: False,
polTPAId: 0
},
relationName: String,
gender: String,
grade: String,
erId: 0,
dob: String,
isPaymentProtected: False,
isSIProtected: False,
priBenefMobileNumber: String,
priBenefEmail: String
}
]
}