servicebill
Click here for a complete list of operations.
getappoimentdetails
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /webmethod/servicebill.asmx HTTP/1.1 Host: nooralmamzar.dyndns.org Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/getappoimentdetails" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <getappoimentdetails xmlns="http://tempuri.org/"> <patientval>int</patientval> </getappoimentdetails> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <getappoimentdetailsResponse xmlns="http://tempuri.org/"> <getappoimentdetailsResult> <Title>string</Title> <DepartmentID>int</DepartmentID> <PatientId>long</PatientId> <CompanyType>int</CompanyType> <MobileNew>string</MobileNew> <PatientName>string</PatientName> <Remarks>string</Remarks> <PatientAppointmentID>long</PatientAppointmentID> <VisitDate>dateTime</VisitDate> <DoctorId>int</DoctorId> <TokenNo>string</TokenNo> <FileNo>string</FileNo> <Date>dateTime</Date> <AppointmentNo>string</AppointmentNo> <FirstName>string</FirstName> <MiddleName>string</MiddleName> <LastName>string</LastName> <DOB>dateTime</DOB> <Sex>string</Sex> <Address>string</Address> <Province>string</Province> <ZIPCode>string</ZIPCode> <NationalityId>int</NationalityId> <CivilId>string</CivilId> <Phone>string</Phone> <Mobile>string</Mobile> <Email>string</Email> <Active>boolean</Active> <IsConsulted>boolean</IsConsulted> <VisitStatus>string</VisitStatus> <eventstart>dateTime</eventstart> <eventend>dateTime</eventend> <PatientType>string</PatientType> <WalkInTime>string</WalkInTime> <Reason>string</Reason> <ReferralClinicId>int</ReferralClinicId> <ReferralDoctorId>int</ReferralDoctorId> <ConsentPath>string</ConsentPath> <InActive>boolean</InActive> <SessionCode>string</SessionCode> <ServiceTaken>int</ServiceTaken> <SessionClose>string</SessionClose> <EnteredBy>int</EnteredBy> <EnteredOn>dateTime</EnteredOn> <CancelledBy>int</CancelledBy> <CancelledOn>dateTime</CancelledOn> <SessionID>int</SessionID> <UpdatedBy>int</UpdatedBy> <UpdatedOn>dateTime</UpdatedOn> <TreatmentDelete>boolean</TreatmentDelete> <Reference>string</Reference> <DeActivate>boolean</DeActivate> <CancelReason>string</CancelReason> <BranchCode>string</BranchCode> <LeadId>int</LeadId> <TechnologistId>int</TechnologistId> <BeforeUpdating>string</BeforeUpdating> <IS_LIS_Updated>boolean</IS_LIS_Updated> <LIS_VisitID>string</LIS_VisitID> <LIS_Status>string</LIS_Status> <LIS_ReportURL>string</LIS_ReportURL> <TechnologistStart>dateTime</TechnologistStart> <TechnologistEnd>dateTime</TechnologistEnd> <WitnessID>int</WitnessID> <NetAmount>decimal</NetAmount> <ReceiptAmount>decimal</ReceiptAmount> <PatientPolicyId>int</PatientPolicyId> <EclaimDoctorId>string</EclaimDoctorId> </getappoimentdetailsResult> </getappoimentdetailsResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /webmethod/servicebill.asmx HTTP/1.1 Host: nooralmamzar.dyndns.org Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <getappoimentdetails xmlns="http://tempuri.org/"> <patientval>int</patientval> </getappoimentdetails> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <getappoimentdetailsResponse xmlns="http://tempuri.org/"> <getappoimentdetailsResult> <Title>string</Title> <DepartmentID>int</DepartmentID> <PatientId>long</PatientId> <CompanyType>int</CompanyType> <MobileNew>string</MobileNew> <PatientName>string</PatientName> <Remarks>string</Remarks> <PatientAppointmentID>long</PatientAppointmentID> <VisitDate>dateTime</VisitDate> <DoctorId>int</DoctorId> <TokenNo>string</TokenNo> <FileNo>string</FileNo> <Date>dateTime</Date> <AppointmentNo>string</AppointmentNo> <FirstName>string</FirstName> <MiddleName>string</MiddleName> <LastName>string</LastName> <DOB>dateTime</DOB> <Sex>string</Sex> <Address>string</Address> <Province>string</Province> <ZIPCode>string</ZIPCode> <NationalityId>int</NationalityId> <CivilId>string</CivilId> <Phone>string</Phone> <Mobile>string</Mobile> <Email>string</Email> <Active>boolean</Active> <IsConsulted>boolean</IsConsulted> <VisitStatus>string</VisitStatus> <eventstart>dateTime</eventstart> <eventend>dateTime</eventend> <PatientType>string</PatientType> <WalkInTime>string</WalkInTime> <Reason>string</Reason> <ReferralClinicId>int</ReferralClinicId> <ReferralDoctorId>int</ReferralDoctorId> <ConsentPath>string</ConsentPath> <InActive>boolean</InActive> <SessionCode>string</SessionCode> <ServiceTaken>int</ServiceTaken> <SessionClose>string</SessionClose> <EnteredBy>int</EnteredBy> <EnteredOn>dateTime</EnteredOn> <CancelledBy>int</CancelledBy> <CancelledOn>dateTime</CancelledOn> <SessionID>int</SessionID> <UpdatedBy>int</UpdatedBy> <UpdatedOn>dateTime</UpdatedOn> <TreatmentDelete>boolean</TreatmentDelete> <Reference>string</Reference> <DeActivate>boolean</DeActivate> <CancelReason>string</CancelReason> <BranchCode>string</BranchCode> <LeadId>int</LeadId> <TechnologistId>int</TechnologistId> <BeforeUpdating>string</BeforeUpdating> <IS_LIS_Updated>boolean</IS_LIS_Updated> <LIS_VisitID>string</LIS_VisitID> <LIS_Status>string</LIS_Status> <LIS_ReportURL>string</LIS_ReportURL> <TechnologistStart>dateTime</TechnologistStart> <TechnologistEnd>dateTime</TechnologistEnd> <WitnessID>int</WitnessID> <NetAmount>decimal</NetAmount> <ReceiptAmount>decimal</ReceiptAmount> <PatientPolicyId>int</PatientPolicyId> <EclaimDoctorId>string</EclaimDoctorId> </getappoimentdetailsResult> </getappoimentdetailsResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /webmethod/servicebill.asmx/getappoimentdetails?patientval=string HTTP/1.1 Host: nooralmamzar.dyndns.org
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <sp_NewServiceBillFetchDetails_Result xmlns="http://tempuri.org/"> <Title>string</Title> <DepartmentID>int</DepartmentID> <PatientId>long</PatientId> <CompanyType>int</CompanyType> <MobileNew>string</MobileNew> <PatientName>string</PatientName> <Remarks>string</Remarks> <PatientAppointmentID>long</PatientAppointmentID> <VisitDate>dateTime</VisitDate> <DoctorId>int</DoctorId> <TokenNo>string</TokenNo> <FileNo>string</FileNo> <Date>dateTime</Date> <AppointmentNo>string</AppointmentNo> <FirstName>string</FirstName> <MiddleName>string</MiddleName> <LastName>string</LastName> <DOB>dateTime</DOB> <Sex>string</Sex> <Address>string</Address> <Province>string</Province> <ZIPCode>string</ZIPCode> <NationalityId>int</NationalityId> <CivilId>string</CivilId> <Phone>string</Phone> <Mobile>string</Mobile> <Email>string</Email> <Active>boolean</Active> <IsConsulted>boolean</IsConsulted> <VisitStatus>string</VisitStatus> <eventstart>dateTime</eventstart> <eventend>dateTime</eventend> <PatientType>string</PatientType> <WalkInTime>string</WalkInTime> <Reason>string</Reason> <ReferralClinicId>int</ReferralClinicId> <ReferralDoctorId>int</ReferralDoctorId> <ConsentPath>string</ConsentPath> <InActive>boolean</InActive> <SessionCode>string</SessionCode> <ServiceTaken>int</ServiceTaken> <SessionClose>string</SessionClose> <EnteredBy>int</EnteredBy> <EnteredOn>dateTime</EnteredOn> <CancelledBy>int</CancelledBy> <CancelledOn>dateTime</CancelledOn> <SessionID>int</SessionID> <UpdatedBy>int</UpdatedBy> <UpdatedOn>dateTime</UpdatedOn> <TreatmentDelete>boolean</TreatmentDelete> <Reference>string</Reference> <DeActivate>boolean</DeActivate> <CancelReason>string</CancelReason> <BranchCode>string</BranchCode> <LeadId>int</LeadId> <TechnologistId>int</TechnologistId> <BeforeUpdating>string</BeforeUpdating> <IS_LIS_Updated>boolean</IS_LIS_Updated> <LIS_VisitID>string</LIS_VisitID> <LIS_Status>string</LIS_Status> <LIS_ReportURL>string</LIS_ReportURL> <TechnologistStart>dateTime</TechnologistStart> <TechnologistEnd>dateTime</TechnologistEnd> <WitnessID>int</WitnessID> <NetAmount>decimal</NetAmount> <ReceiptAmount>decimal</ReceiptAmount> <PatientPolicyId>int</PatientPolicyId> <EclaimDoctorId>string</EclaimDoctorId> </sp_NewServiceBillFetchDetails_Result>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /webmethod/servicebill.asmx/getappoimentdetails HTTP/1.1 Host: nooralmamzar.dyndns.org Content-Type: application/x-www-form-urlencoded Content-Length: length patientval=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <sp_NewServiceBillFetchDetails_Result xmlns="http://tempuri.org/"> <Title>string</Title> <DepartmentID>int</DepartmentID> <PatientId>long</PatientId> <CompanyType>int</CompanyType> <MobileNew>string</MobileNew> <PatientName>string</PatientName> <Remarks>string</Remarks> <PatientAppointmentID>long</PatientAppointmentID> <VisitDate>dateTime</VisitDate> <DoctorId>int</DoctorId> <TokenNo>string</TokenNo> <FileNo>string</FileNo> <Date>dateTime</Date> <AppointmentNo>string</AppointmentNo> <FirstName>string</FirstName> <MiddleName>string</MiddleName> <LastName>string</LastName> <DOB>dateTime</DOB> <Sex>string</Sex> <Address>string</Address> <Province>string</Province> <ZIPCode>string</ZIPCode> <NationalityId>int</NationalityId> <CivilId>string</CivilId> <Phone>string</Phone> <Mobile>string</Mobile> <Email>string</Email> <Active>boolean</Active> <IsConsulted>boolean</IsConsulted> <VisitStatus>string</VisitStatus> <eventstart>dateTime</eventstart> <eventend>dateTime</eventend> <PatientType>string</PatientType> <WalkInTime>string</WalkInTime> <Reason>string</Reason> <ReferralClinicId>int</ReferralClinicId> <ReferralDoctorId>int</ReferralDoctorId> <ConsentPath>string</ConsentPath> <InActive>boolean</InActive> <SessionCode>string</SessionCode> <ServiceTaken>int</ServiceTaken> <SessionClose>string</SessionClose> <EnteredBy>int</EnteredBy> <EnteredOn>dateTime</EnteredOn> <CancelledBy>int</CancelledBy> <CancelledOn>dateTime</CancelledOn> <SessionID>int</SessionID> <UpdatedBy>int</UpdatedBy> <UpdatedOn>dateTime</UpdatedOn> <TreatmentDelete>boolean</TreatmentDelete> <Reference>string</Reference> <DeActivate>boolean</DeActivate> <CancelReason>string</CancelReason> <BranchCode>string</BranchCode> <LeadId>int</LeadId> <TechnologistId>int</TechnologistId> <BeforeUpdating>string</BeforeUpdating> <IS_LIS_Updated>boolean</IS_LIS_Updated> <LIS_VisitID>string</LIS_VisitID> <LIS_Status>string</LIS_Status> <LIS_ReportURL>string</LIS_ReportURL> <TechnologistStart>dateTime</TechnologistStart> <TechnologistEnd>dateTime</TechnologistEnd> <WitnessID>int</WitnessID> <NetAmount>decimal</NetAmount> <ReceiptAmount>decimal</ReceiptAmount> <PatientPolicyId>int</PatientPolicyId> <EclaimDoctorId>string</EclaimDoctorId> </sp_NewServiceBillFetchDetails_Result>