The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/CreateAppoinmentRequest HTTP/1.1
Host: mb-mobile-api.medibuddy.in
Content-Type: text/jsv
Content-Length: length
{
dob: String,
discountedAmount: 0,
packageId: 0,
cityId: 0,
dcId: 0,
stateId: 0,
appointmntDtTime: String,
benefName: String,
choosenRate: String,
city: String,
contactNum: String,
contractID: String,
dc: String,
discountCode: String,
dtReqDate: String,
dtReqDate2: String,
email: String,
gender: String,
isPaid: String,
maId: 0,
packageName: String,
relation: String,
state: String,
transAmnt: String,
mbToken: String,
ipAddress: String,
userAgent: String,
userPlatform: String,
platformVer: String,
mobileDeviceModel: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
amount: 0,
orderId: 0,
timeInMS: 0,
orderNumber: String,
paymentGatewayURL: String,
isCreated: False,
errorMessage: String,
amountInPaisa: String,
payKey: String,
razorPayPopUpOptions:
{
key: String,
amount: String,
name: String,
description: String,
image: String,
prefill:
{
name: String,
email: String
},
notes:
{
address: String,
sourceOrderId: String
},
theme:
{
color: String
}
}
}