MediBuddy Mobile Services V1.1

<back to all web services

UserDetailsRequest

The following routes are available for this service:
POST/user/home/details/

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/UserDetailsRequest HTTP/1.1 
Host: mb-mobile-api.medibuddy.in 
Content-Type: text/jsv
Content-Length: length

{
	mbToken: String,
	ipAddress: String,
	userAgent: String,
	userPlatform: String,
	platformVer: String,
	mobileDeviceModel: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	authServerToken: String,
	userToken: String,
	refreshToken: String,
	userAccessToken: String,
	isCreateUserEnable: False,
	isSSOCorporate: False,
	skipSSO: False,
	ssoRedirectionUrl: String,
	isWellnessEnabled: False,
	isEnrolmentEnable: False,
	wellnessURL: String,
	accessToken: String,
	isInfinitiEnabled: False,
	isClaimIntimationEnabled: False,
	corpLogoURL: String,
	crmEmail: String,
	crmPhoneNo: String,
	setUserName: False,
	isScanClaimDocEnabled: False,
	infinitiPromoImgURL: String,
	enableMediBuddyChat: False,
	identifiedUser: 
	{
		name: String,
		mobile: String,
		emailId: String,
		gender: String,
		dob: String,
		maId: 0,
		pmCorporateId: 0,
		dbType: NOTAVAILABLE,
		empId: String,
		altEmailId: String,
		altContact: String,
		insuranceId: 0,
		policyId: 0,
		agentId: String,
		isTPA: False,
		userName: String,
		roleName: Operations,
		pmGroupCorporateId: 0,
		isSSOCorporate: False,
		loginType: UNKNOWN,
		authUserId: 0,
		insuranceCompanyName: String,
		polStartDate: 0001-01-01,
		polEndDate: 0001-01-01,
		isGEOFencingRequired: False,
		isBiometricEnabledForUser: False,
		isTCSUser: False,
		polTPAId: 0,
		insuranceCompanyId: 0,
		isCorpPaid: False
	},
	showDomiBalanceOnHome: False,
	enrolmentURL: String,
	distinctInsPolicy: 
	[
		{
			id: 0,
			name: String,
			insuranceId: 0,
			insuranceName: String,
			insuranceShortName: String,
			category: String,
			policyStartDate: String,
			polNumber: String,
			policyEndDate: String
		}
	],
	expiryTime: 0,
	policyError: String,
	isAddBenefRequired: False,
	mahsEmail: String,
	mahsContact: String,
	isAddBeneficiaryRequired: False,
	isDomiClaimAvailable: False,
	isHospClaimSubmissionDisabled: False,
	verloopEnabled: False,
	verloopRecipeId: String,
	verloopParams: 
	[
		{
			key: String,
			value: String,
			scope: String,
			isCustomField: False
		}
	],
	talktoUs: 
	{
		isEnabledHelpLine: False,
		helpLineWorkTimeDuration: 
		{
			startTime: String,
			endTime: String
		}
	},
	showMAAppDetails: False
}