MediBuddy Mobile Services V1.1

<back to all web services

BeneficiaryHeaderRequest

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/reply/BeneficiaryHeaderRequest HTTP/1.1 
Host: mb-mobile-api.medibuddy.in 
Content-Type: application/json
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":"\/Date(-62135596800000-0000)\/"}
HTTP/1.1 200 OK
Content-Type: application/json
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":"\/Date(-62135596800000-0000)\/","policyEndDate":"\/Date(-62135596800000-0000)\/","policyHolderName":"String","polPaymentDirect":false,"polTPAId":0},"relationName":"String","gender":"String","grade":"String","erId":0,"dob":"String","isPaymentProtected":false,"isSIProtected":false,"priBenefMobileNumber":"String","priBenefEmail":"String"}]}