HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/WellnessAppointmentHistoryRequest HTTP/1.1
Host: mb-mobile-api.medibuddy.in
Content-Type: application/xml
Content-Length: length
<WellnessAppointmentHistoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO.RequestResponse">
<IPAddress xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobileAPI.Core.DTO">String</IPAddress>
<MBToken xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobileAPI.Core.DTO">String</MBToken>
<MobileDeviceModel xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobileAPI.Core.DTO">String</MobileDeviceModel>
<PlatformVer xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobileAPI.Core.DTO">String</PlatformVer>
<UserAgent xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobileAPI.Core.DTO">String</UserAgent>
<UserPlatform xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobileAPI.Core.DTO">String</UserPlatform>
</WellnessAppointmentHistoryRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<WellnessAppointmentHistoryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO.RequestResponse">
<Appointments xmlns:d2p1="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO">
<d2p1:EmployeeAppointment>
<d2p1:Address>String</d2p1:Address>
<d2p1:Age>0</d2p1:Age>
<d2p1:AppointmentDate>String</d2p1:AppointmentDate>
<d2p1:AppointmentNumber>String</d2p1:AppointmentNumber>
<d2p1:AppointmentTime>String</d2p1:AppointmentTime>
<d2p1:AttachedFiles>String</d2p1:AttachedFiles>
<d2p1:ChoiceDC1>String</d2p1:ChoiceDC1>
<d2p1:ChoiceDC2>String</d2p1:ChoiceDC2>
<d2p1:ChoiceDC3>String</d2p1:ChoiceDC3>
<d2p1:ChoiceDate1>String</d2p1:ChoiceDate1>
<d2p1:ChoiceDate2>String</d2p1:ChoiceDate2>
<d2p1:City>String</d2p1:City>
<d2p1:ClientLocation>String</d2p1:ClientLocation>
<d2p1:ContactNumber>String</d2p1:ContactNumber>
<d2p1:CreationDate>String</d2p1:CreationDate>
<d2p1:DcCity>String</d2p1:DcCity>
<d2p1:DcName>String</d2p1:DcName>
<d2p1:Email>String</d2p1:Email>
<d2p1:EmplloyeeName>String</d2p1:EmplloyeeName>
<d2p1:EmployeeId>String</d2p1:EmployeeId>
<d2p1:EnableAppointmentLetter>false</d2p1:EnableAppointmentLetter>
<d2p1:EnableCancel>false</d2p1:EnableCancel>
<d2p1:EnableReschedule>false</d2p1:EnableReschedule>
<d2p1:Gender>String</d2p1:Gender>
<d2p1:MAId>0</d2p1:MAId>
<d2p1:Name>String</d2p1:Name>
<d2p1:OrderId>String</d2p1:OrderId>
<d2p1:OrderItemId>String</d2p1:OrderItemId>
<d2p1:PackageId>0</d2p1:PackageId>
<d2p1:PackageName>String</d2p1:PackageName>
<d2p1:PaymentStatus>String</d2p1:PaymentStatus>
<d2p1:PaymentStatusId>String</d2p1:PaymentStatusId>
<d2p1:PinCode>String</d2p1:PinCode>
<d2p1:Relation>String</d2p1:Relation>
<d2p1:Remarks>String</d2p1:Remarks>
<d2p1:Status>String</d2p1:Status>
<d2p1:StatusId>String</d2p1:StatusId>
</d2p1:EmployeeAppointment>
</Appointments>
</WellnessAppointmentHistoryResponse>