HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/ClaimBillAdditionRequest HTTP/1.1
Host: mb-mobile-api.medibuddy.in
Content-Type: application/xml
Content-Length: length
<ClaimBillAdditionRequest 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>
<Bills xmlns:d2p1="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO.Claim">
<d2p1:NewClaimBill>
<d2p1:Address>String</d2p1:Address>
<d2p1:BillAmount>0</d2p1:BillAmount>
<d2p1:BillDate>String</d2p1:BillDate>
<d2p1:BillDescription>String</d2p1:BillDescription>
<d2p1:BillId>0</d2p1:BillId>
<d2p1:BillNumber>String</d2p1:BillNumber>
<d2p1:DoctorName>String</d2p1:DoctorName>
<d2p1:DoctorRegnNo>String</d2p1:DoctorRegnNo>
<d2p1:GSTNo>String</d2p1:GSTNo>
<d2p1:ID>0</d2p1:ID>
<d2p1:IsActive>false</d2p1:IsActive>
<d2p1:NoOfDocs>0</d2p1:NoOfDocs>
<d2p1:PayableAmount>0</d2p1:PayableAmount>
<d2p1:PrescriptionDate>0001-01-01T00:00:00</d2p1:PrescriptionDate>
</d2p1:NewClaimBill>
</Bills>
<ClaimReferenceNumber>String</ClaimReferenceNumber>
</ClaimBillAdditionRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ClaimCreateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO.RequestResponse">
<Bills xmlns:d2p1="http://schemas.datacontract.org/2004/07/MediBuddyMobile.DTO.Claim">
<d2p1:NewClaimBill>
<d2p1:Address>String</d2p1:Address>
<d2p1:BillAmount>0</d2p1:BillAmount>
<d2p1:BillDate>String</d2p1:BillDate>
<d2p1:BillDescription>String</d2p1:BillDescription>
<d2p1:BillId>0</d2p1:BillId>
<d2p1:BillNumber>String</d2p1:BillNumber>
<d2p1:DoctorName>String</d2p1:DoctorName>
<d2p1:DoctorRegnNo>String</d2p1:DoctorRegnNo>
<d2p1:GSTNo>String</d2p1:GSTNo>
<d2p1:ID>0</d2p1:ID>
<d2p1:IsActive>false</d2p1:IsActive>
<d2p1:NoOfDocs>0</d2p1:NoOfDocs>
<d2p1:PayableAmount>0</d2p1:PayableAmount>
<d2p1:PrescriptionDate>0001-01-01T00:00:00</d2p1:PrescriptionDate>
</d2p1:NewClaimBill>
</Bills>
<ClaimReferenceNo>String</ClaimReferenceNo>
<DuplicateClaimNumber>String</DuplicateClaimNumber>
<IsDuplicate>false</IsDuplicate>
<IsSuccess>false</IsSuccess>
<Message>String</Message>
</ClaimCreateResponse>