POST api/DoctorPatient/AddOrUpdatePatientLabTests
Request Information
URI Parameters
None.
Body Parameters
AddUpdatePatientLabTestName | Description | Type | Additional information |
---|---|---|---|
LabTestList | Collection of AddUpdatePatientLabTestList |
None. |
Request Formats
application/json, text/json
Sample:
{ "LabTestList": [ { "PatientLabTestID": 1, "LabID": 1, "LabTestID": 2, "UserID": 3, "AppointmentID": 4, "DiscountPercentage": 5.1, "LabTestPrice": 6.0, "FinalAmount": 7.0, "PaymentImage": "sample string 8", "BillingAddress": "sample string 9", "LabResultFileAttachment": "sample string 10", "DiscountVoucherID": 1, "VoucherTitle": "sample string 11", "DiscountVoucherAmount": 1.0, "DiscountVoucherPercentage": 1.1, "Status": true }, { "PatientLabTestID": 1, "LabID": 1, "LabTestID": 2, "UserID": 3, "AppointmentID": 4, "DiscountPercentage": 5.1, "LabTestPrice": 6.0, "FinalAmount": 7.0, "PaymentImage": "sample string 8", "BillingAddress": "sample string 9", "LabResultFileAttachment": "sample string 10", "DiscountVoucherID": 1, "VoucherTitle": "sample string 11", "DiscountVoucherAmount": 1.0, "DiscountVoucherPercentage": 1.1, "Status": true } ] }
application/xml, text/xml
Sample:
<DoctorAndPatientHelper.AddUpdatePatientLabTest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SapiensIn.BLL"> <LabTestList> <DoctorAndPatientHelper.AddUpdatePatientLabTestList> <AppointmentID>4</AppointmentID> <BillingAddress>sample string 9</BillingAddress> <DiscountPercentage>5.1</DiscountPercentage> <DiscountVoucherAmount>1</DiscountVoucherAmount> <DiscountVoucherID>1</DiscountVoucherID> <DiscountVoucherPercentage>1.1</DiscountVoucherPercentage> <FinalAmount>7</FinalAmount> <LabID>1</LabID> <LabResultFileAttachment>sample string 10</LabResultFileAttachment> <LabTestID>2</LabTestID> <LabTestPrice>6</LabTestPrice> <PatientLabTestID>1</PatientLabTestID> <PaymentImage>sample string 8</PaymentImage> <Status>true</Status> <UserID>3</UserID> <VoucherTitle>sample string 11</VoucherTitle> </DoctorAndPatientHelper.AddUpdatePatientLabTestList> <DoctorAndPatientHelper.AddUpdatePatientLabTestList> <AppointmentID>4</AppointmentID> <BillingAddress>sample string 9</BillingAddress> <DiscountPercentage>5.1</DiscountPercentage> <DiscountVoucherAmount>1</DiscountVoucherAmount> <DiscountVoucherID>1</DiscountVoucherID> <DiscountVoucherPercentage>1.1</DiscountVoucherPercentage> <FinalAmount>7</FinalAmount> <LabID>1</LabID> <LabResultFileAttachment>sample string 10</LabResultFileAttachment> <LabTestID>2</LabTestID> <LabTestPrice>6</LabTestPrice> <PatientLabTestID>1</PatientLabTestID> <PaymentImage>sample string 8</PaymentImage> <Status>true</Status> <UserID>3</UserID> <VoucherTitle>sample string 11</VoucherTitle> </DoctorAndPatientHelper.AddUpdatePatientLabTestList> </LabTestList> </DoctorAndPatientHelper.AddUpdatePatientLabTest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>