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 .jsv suffix or ?format=jsv

HTTP + JSV

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

POST /jsv/reply/PolicyBeneficiaryRequest HTTP/1.1 
Host: mb-mobile-api.medibuddy.in 
Content-Type: text/jsv
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: text/jsv
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: 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
				}
			],
			policyYear: String,
			isActive: False,
			dbType: String
		}
	],
	totalDomiBalance: 0,
	totalDomiLimit: 0,
	message: String
}