MediBuddy Mobile Services V1.1

<back to all web services

PolicyBeneficiaryRequest

The following routes are available for this service:
POST/policy/beneficiary/

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/PolicyBeneficiaryRequest HTTP/1.1 
Host: mb-mobile-api.medibuddy.in 
Content-Type: application/json
Content-Length: length

{"employeeId":"String","policyCorpId":0,"benefName":"String","maid":0,"dbType":"NOTAVAILABLE","mbToken":"String","ipAddress":"String","userAgent":"String","userPlatform":"String","platformVer":"String","mobileDeviceModel":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"policyBenef":[{"policyHeader":{"polInsuranceURL":"String","polFloaterTypes":0,"domiBalance":0,"domiLimit":0,"polId":0,"polCorpId":0,"groupCorpId":0,"polNo":"String","polDepartment":"String","polDevelopmentOfficer":"String","polDevelopmentAgent":"String","polInsCompanyID":0,"polTypeID":0,"polSubTypeID":0,"polInsCompanyName":"String","polSubTypeDesc":"String","polTypeDesc":"String","polStartDate":"String","polEndDate":"String","polHldrName":"String","isFloater":false,"isRetail":false,"isMixed":false,"polYear":"String","isActive":false,"polDescription":"String","polTPAId":0,"polSumInsured":0,"polSISpent":0,"polSIBalance":0,"polAuthAmt":0,"domiFloater":false,"domiAvailable":false,"dbType":"NOTAVAILABLE","polStatus":"String","categoryName":"String","corporateName":"String","groupCorporateName":"String","polCategoryId":0,"polCategoryName":"String","conditions":"String"},"beneficiaryHeaderList":[{"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"}],"policyYear":"String","isActive":false,"dbType":"String"}],"totalDomiBalance":0,"totalDomiLimit":0,"message":"String"}