MediBuddy Mobile Services V1.1

<back to all web services

NetworkHospitalDetailListRequest

The following routes are available for this service:
POST/networkhospital/gethospitaldetailslist/

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

{
	corporateRating: 0,
	distance: 0,
	hospSpecialityList: 
	[
		String
	],
	insuranceCompanyName: String,
	hospitalName: String,
	latitude: 0,
	longitude: 0,
	maRating: 0,
	policyId: 0,
	pmCorporateId: 0,
	mbToken: String,
	ipAddress: String,
	userAgent: String,
	userPlatform: String,
	platformVer: String,
	mobileDeviceModel: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	hospitalRatings: 
	{
		0: 0
	},
	networkHospital: 
	{
		hospitals: 
		[
			{
				address: String,
				avgRating: 0,
				blacklisted: False,
				city: String,
				email: String,
				entityId: 0,
				hospSpecialities: 
				[
					String
				],
				id: 0,
				isPPN: False,
				latitude: String,
				longitude: String,
				name: String,
				phone: String,
				pinCode: String,
				state: String
			}
		],
		resultCount: 0
	}
}