The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
responseObj:
{
hospDetails:
{
hospAddress: String,
hospCity: String,
hospContactSTDCode: String,
hospDescription: String,
hospDistrict: String,
hospEmailAddress: String,
hospFacilities:
[
{
facilityID: 0,
facilityName: String
}
],
hospFaxNumber: String,
hospId: 0,
hospImages:
[
{
hospId: 0,
imageDescription: String,
imageId: 0,
imageLink: String,
imageThumbNailLink: String
}
],
hospLandlineNumber: String,
hospLandmark: String,
hospLatitude: String,
hospLongitude: String,
hospMobileNumber: String,
hospName: String,
hospOtherFacilities:
[
String
],
hospPinCode: String,
hospPrimaryContactEmail: String,
hospPrimaryContactName: String,
hospPrimaryContactNumber: String,
hospSecondaryContactEmail: String,
hospSecondaryContactName: String,
hospSecondaryContactNumber: String,
hospState: String,
hospWebsite: String,
isLatLongVerified: False,
isRemedinetAssociated: False
},
hospDoctorDetails:
[
{
doctorDepartmentID: 0,
doctorDepartments:
[
String
],
doctorExperience: String,
doctorImage: String,
doctorName: String,
doctorOPDTimings:
[
{
inTime: PT0S,
outTime: PT0S
}
],
doctorQualification: String,
doctorRegNo: String,
doctorTimingsString: String,
doctorType: String,
contactNo: String,
emailId: String,
hospId: 0,
hospName: String,
id: 0
}
],
hospPackages:
[
{
ages:
[
{
maxAge: String,
minAge: String
}
],
createdBy: 0,
createdOn: 0001-01-01,
description: String,
gender: String,
hid: 0,
hospName: String,
inclusions:
[
String
],
instructions:
[
String
],
isActive: False,
isDelete: False,
isVerified: False,
lockedBy: String,
modifiedBy: 0,
modifiedOn: 0001-01-01,
packageContents:
[
{
description: String,
duplicateCheck: False,
groupId: 0,
groupName: String,
id: 0,
isActive: False,
name: String,
quantity: 0,
shortName: String
}
],
packageMADiscount: String,
packageMAPrice: String,
packageName: String,
packageNo: 0,
packagePrice: String
}
],
hospRoomDetails:
[
{
hospID: 0,
hospitalRoomType: String,
hospName: String,
lockedBy: String,
noOfBedsAvailable: 0,
noOfBedsPerRoom: 0,
noOfRoomsAvailable: 0,
noOfTotalRooms: 0,
roomChargesPerDay: 0,
roomFacilities:
[
String
],
roomFacilitiesString: String,
roomImages:
[
{
hospId: 0,
imageDescription: String,
imageId: 0,
imageLink: String,
imageThumbNailLink: String
}
],
roomOtherFacilities:
[
String
],
roomType: String
}
]
}
}