HTTP + JSV
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/DiagnosticCenterRequest HTTP/1.1
Host: mb-mobile-api.medibuddy.in
Content-Type: text/jsv
Content-Length: length
{
packageId: 0,
stateId: 0,
cityId: 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
{
diagonisticCenters:
[
{
address: String,
cityId: 0,
diagnosticId: 0,
diagnosticName: String,
location: String,
locationId: 0,
locations:
{
locationName: String,
locID: 0
},
stateId: 0
}
]
}