servicebill
Click here for a complete list of operations.
searchpatient
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/searchpatient" <?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> <searchpatient xmlns="http://tempuri.org/"> <searchtext>string</searchtext> </searchpatient> </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> <searchpatientResponse xmlns="http://tempuri.org/"> <searchpatientResult> <OP_PatientRegistration> <PatientId>long</PatientId> <FileNo>string</FileNo> <Date>dateTime</Date> <FirstName>string</FirstName> <MiddleName>string</MiddleName> <LastName>string</LastName> <Sex>string</Sex> <DOB>dateTime</DOB> <Address>string</Address> <Province>string</Province> <ZIPCode>string</ZIPCode> <Phone>string</Phone> <Mobile>string</Mobile> <Email>string</Email> <IqamaNo>string</IqamaNo> <NationalityId>int</NationalityId> <IQAMADocumentPath>string</IQAMADocumentPath> <PolicyDocumentPath>string</PolicyDocumentPath> <Active>boolean</Active> <VisitStatus>string</VisitStatus> <DoctorId>long</DoctorId> <PatientAppointmentID>long</PatientAppointmentID> <RegistrationTime>string</RegistrationTime> <FileType>string</FileType> <test>string</test> <ReferralClinicId>int</ReferralClinicId> <ReferralDoctorId>int</ReferralDoctorId> <Photo>string</Photo> <MaritalStatus>string</MaritalStatus> <Occupation>string</Occupation> <WorkStatus>string</WorkStatus> <FamilyID>int</FamilyID> <DeActivate>boolean</DeActivate> <ProofIdentity>string</ProofIdentity> <CountryPermanenResidance>int</CountryPermanenResidance> <KnowAboutUsId>int</KnowAboutUsId> <Branch>int</Branch> <Patient_Class>string</Patient_Class> <Patient_Language>string</Patient_Language> <MSC_Code>string</MSC_Code> <LAC_Code>string</LAC_Code> <RGC_Code>string</RGC_Code> <KinName>string</KinName> <KinContactNo>string</KinContactNo> <RSC_Code>string</RSC_Code> <opc_optout>string</opc_optout> <opd_optdate>dateTime</opd_optdate> <kinLastName>string</kinLastName> <opc_mobcountrycode>string</opc_mobcountrycode> <opc_kinmobcountrycode>string</opc_kinmobcountrycode> <Remarks>string</Remarks> <Referralfield>int</Referralfield> <Citizenship>int</Citizenship> <Patienttype>string</Patienttype> <PassportNo>string</PassportNo> <Signature>string</Signature> <ResidentType>string</ResidentType> <Medtype>int</Medtype> </OP_PatientRegistration> <OP_PatientRegistration> <PatientId>long</PatientId> <FileNo>string</FileNo> <Date>dateTime</Date> <FirstName>string</FirstName> <MiddleName>string</MiddleName> <LastName>string</LastName> <Sex>string</Sex> <DOB>dateTime</DOB> <Address>string</Address> <Province>string</Province> <ZIPCode>string</ZIPCode> <Phone>string</Phone> <Mobile>string</Mobile> <Email>string</Email> <IqamaNo>string</IqamaNo> <NationalityId>int</NationalityId> <IQAMADocumentPath>string</IQAMADocumentPath> <PolicyDocumentPath>string</PolicyDocumentPath> <Active>boolean</Active> <VisitStatus>string</VisitStatus> <DoctorId>long</DoctorId> <PatientAppointmentID>long</PatientAppointmentID> <RegistrationTime>string</RegistrationTime> <FileType>string</FileType> <test>string</test> <ReferralClinicId>int</ReferralClinicId> <ReferralDoctorId>int</ReferralDoctorId> <Photo>string</Photo> <MaritalStatus>string</MaritalStatus> <Occupation>string</Occupation> <WorkStatus>string</WorkStatus> <FamilyID>int</FamilyID> <DeActivate>boolean</DeActivate> <ProofIdentity>string</ProofIdentity> <CountryPermanenResidance>int</CountryPermanenResidance> <KnowAboutUsId>int</KnowAboutUsId> <Branch>int</Branch> <Patient_Class>string</Patient_Class> <Patient_Language>string</Patient_Language> <MSC_Code>string</MSC_Code> <LAC_Code>string</LAC_Code> <RGC_Code>string</RGC_Code> <KinName>string</KinName> <KinContactNo>string</KinContactNo> <RSC_Code>string</RSC_Code> <opc_optout>string</opc_optout> <opd_optdate>dateTime</opd_optdate> <kinLastName>string</kinLastName> <opc_mobcountrycode>string</opc_mobcountrycode> <opc_kinmobcountrycode>string</opc_kinmobcountrycode> <Remarks>string</Remarks> <Referralfield>int</Referralfield> <Citizenship>int</Citizenship> <Patienttype>string</Patienttype> <PassportNo>string</PassportNo> <Signature>string</Signature> <ResidentType>string</ResidentType> <Medtype>int</Medtype> </OP_PatientRegistration> </searchpatientResult> </searchpatientResponse> </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> <searchpatient xmlns="http://tempuri.org/"> <searchtext>string</searchtext> </searchpatient> </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> <searchpatientResponse xmlns="http://tempuri.org/"> <searchpatientResult> <OP_PatientRegistration> <PatientId>long</PatientId> <FileNo>string</FileNo> <Date>dateTime</Date> <FirstName>string</FirstName> <MiddleName>string</MiddleName> <LastName>string</LastName> <Sex>string</Sex> <DOB>dateTime</DOB> <Address>string</Address> <Province>string</Province> <ZIPCode>string</ZIPCode> <Phone>string</Phone> <Mobile>string</Mobile> <Email>string</Email> <IqamaNo>string</IqamaNo> <NationalityId>int</NationalityId> <IQAMADocumentPath>string</IQAMADocumentPath> <PolicyDocumentPath>string</PolicyDocumentPath> <Active>boolean</Active> <VisitStatus>string</VisitStatus> <DoctorId>long</DoctorId> <PatientAppointmentID>long</PatientAppointmentID> <RegistrationTime>string</RegistrationTime> <FileType>string</FileType> <test>string</test> <ReferralClinicId>int</ReferralClinicId> <ReferralDoctorId>int</ReferralDoctorId> <Photo>string</Photo> <MaritalStatus>string</MaritalStatus> <Occupation>string</Occupation> <WorkStatus>string</WorkStatus> <FamilyID>int</FamilyID> <DeActivate>boolean</DeActivate> <ProofIdentity>string</ProofIdentity> <CountryPermanenResidance>int</CountryPermanenResidance> <KnowAboutUsId>int</KnowAboutUsId> <Branch>int</Branch> <Patient_Class>string</Patient_Class> <Patient_Language>string</Patient_Language> <MSC_Code>string</MSC_Code> <LAC_Code>string</LAC_Code> <RGC_Code>string</RGC_Code> <KinName>string</KinName> <KinContactNo>string</KinContactNo> <RSC_Code>string</RSC_Code> <opc_optout>string</opc_optout> <opd_optdate>dateTime</opd_optdate> <kinLastName>string</kinLastName> <opc_mobcountrycode>string</opc_mobcountrycode> <opc_kinmobcountrycode>string</opc_kinmobcountrycode> <Remarks>string</Remarks> <Referralfield>int</Referralfield> <Citizenship>int</Citizenship> <Patienttype>string</Patienttype> <PassportNo>string</PassportNo> <Signature>string</Signature> <ResidentType>string</ResidentType> <Medtype>int</Medtype> </OP_PatientRegistration> <OP_PatientRegistration> <PatientId>long</PatientId> <FileNo>string</FileNo> <Date>dateTime</Date> <FirstName>string</FirstName> <MiddleName>string</MiddleName> <LastName>string</LastName> <Sex>string</Sex> <DOB>dateTime</DOB> <Address>string</Address> <Province>string</Province> <ZIPCode>string</ZIPCode> <Phone>string</Phone> <Mobile>string</Mobile> <Email>string</Email> <IqamaNo>string</IqamaNo> <NationalityId>int</NationalityId> <IQAMADocumentPath>string</IQAMADocumentPath> <PolicyDocumentPath>string</PolicyDocumentPath> <Active>boolean</Active> <VisitStatus>string</VisitStatus> <DoctorId>long</DoctorId> <PatientAppointmentID>long</PatientAppointmentID> <RegistrationTime>string</RegistrationTime> <FileType>string</FileType> <test>string</test> <ReferralClinicId>int</ReferralClinicId> <ReferralDoctorId>int</ReferralDoctorId> <Photo>string</Photo> <MaritalStatus>string</MaritalStatus> <Occupation>string</Occupation> <WorkStatus>string</WorkStatus> <FamilyID>int</FamilyID> <DeActivate>boolean</DeActivate> <ProofIdentity>string</ProofIdentity> <CountryPermanenResidance>int</CountryPermanenResidance> <KnowAboutUsId>int</KnowAboutUsId> <Branch>int</Branch> <Patient_Class>string</Patient_Class> <Patient_Language>string</Patient_Language> <MSC_Code>string</MSC_Code> <LAC_Code>string</LAC_Code> <RGC_Code>string</RGC_Code> <KinName>string</KinName> <KinContactNo>string</KinContactNo> <RSC_Code>string</RSC_Code> <opc_optout>string</opc_optout> <opd_optdate>dateTime</opd_optdate> <kinLastName>string</kinLastName> <opc_mobcountrycode>string</opc_mobcountrycode> <opc_kinmobcountrycode>string</opc_kinmobcountrycode> <Remarks>string</Remarks> <Referralfield>int</Referralfield> <Citizenship>int</Citizenship> <Patienttype>string</Patienttype> <PassportNo>string</PassportNo> <Signature>string</Signature> <ResidentType>string</ResidentType> <Medtype>int</Medtype> </OP_PatientRegistration> </searchpatientResult> </searchpatientResponse> </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/searchpatient?searchtext=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"?> <ArrayOfOP_PatientRegistration xmlns="http://tempuri.org/"> <OP_PatientRegistration> <PatientId>long</PatientId> <FileNo>string</FileNo> <Date>dateTime</Date> <FirstName>string</FirstName> <MiddleName>string</MiddleName> <LastName>string</LastName> <Sex>string</Sex> <DOB>dateTime</DOB> <Address>string</Address> <Province>string</Province> <ZIPCode>string</ZIPCode> <Phone>string</Phone> <Mobile>string</Mobile> <Email>string</Email> <IqamaNo>string</IqamaNo> <NationalityId>int</NationalityId> <IQAMADocumentPath>string</IQAMADocumentPath> <PolicyDocumentPath>string</PolicyDocumentPath> <Active>boolean</Active> <VisitStatus>string</VisitStatus> <DoctorId>long</DoctorId> <PatientAppointmentID>long</PatientAppointmentID> <RegistrationTime>string</RegistrationTime> <FileType>string</FileType> <test>string</test> <ReferralClinicId>int</ReferralClinicId> <ReferralDoctorId>int</ReferralDoctorId> <Photo>string</Photo> <MaritalStatus>string</MaritalStatus> <Occupation>string</Occupation> <WorkStatus>string</WorkStatus> <FamilyID>int</FamilyID> <DeActivate>boolean</DeActivate> <ProofIdentity>string</ProofIdentity> <CountryPermanenResidance>int</CountryPermanenResidance> <KnowAboutUsId>int</KnowAboutUsId> <Branch>int</Branch> <Patient_Class>string</Patient_Class> <Patient_Language>string</Patient_Language> <MSC_Code>string</MSC_Code> <LAC_Code>string</LAC_Code> <RGC_Code>string</RGC_Code> <KinName>string</KinName> <KinContactNo>string</KinContactNo> <RSC_Code>string</RSC_Code> <opc_optout>string</opc_optout> <opd_optdate>dateTime</opd_optdate> <kinLastName>string</kinLastName> <opc_mobcountrycode>string</opc_mobcountrycode> <opc_kinmobcountrycode>string</opc_kinmobcountrycode> <Remarks>string</Remarks> <Referralfield>int</Referralfield> <Citizenship>int</Citizenship> <Patienttype>string</Patienttype> <PassportNo>string</PassportNo> <Signature>string</Signature> <ResidentType>string</ResidentType> <Medtype>int</Medtype> </OP_PatientRegistration> <OP_PatientRegistration> <PatientId>long</PatientId> <FileNo>string</FileNo> <Date>dateTime</Date> <FirstName>string</FirstName> <MiddleName>string</MiddleName> <LastName>string</LastName> <Sex>string</Sex> <DOB>dateTime</DOB> <Address>string</Address> <Province>string</Province> <ZIPCode>string</ZIPCode> <Phone>string</Phone> <Mobile>string</Mobile> <Email>string</Email> <IqamaNo>string</IqamaNo> <NationalityId>int</NationalityId> <IQAMADocumentPath>string</IQAMADocumentPath> <PolicyDocumentPath>string</PolicyDocumentPath> <Active>boolean</Active> <VisitStatus>string</VisitStatus> <DoctorId>long</DoctorId> <PatientAppointmentID>long</PatientAppointmentID> <RegistrationTime>string</RegistrationTime> <FileType>string</FileType> <test>string</test> <ReferralClinicId>int</ReferralClinicId> <ReferralDoctorId>int</ReferralDoctorId> <Photo>string</Photo> <MaritalStatus>string</MaritalStatus> <Occupation>string</Occupation> <WorkStatus>string</WorkStatus> <FamilyID>int</FamilyID> <DeActivate>boolean</DeActivate> <ProofIdentity>string</ProofIdentity> <CountryPermanenResidance>int</CountryPermanenResidance> <KnowAboutUsId>int</KnowAboutUsId> <Branch>int</Branch> <Patient_Class>string</Patient_Class> <Patient_Language>string</Patient_Language> <MSC_Code>string</MSC_Code> <LAC_Code>string</LAC_Code> <RGC_Code>string</RGC_Code> <KinName>string</KinName> <KinContactNo>string</KinContactNo> <RSC_Code>string</RSC_Code> <opc_optout>string</opc_optout> <opd_optdate>dateTime</opd_optdate> <kinLastName>string</kinLastName> <opc_mobcountrycode>string</opc_mobcountrycode> <opc_kinmobcountrycode>string</opc_kinmobcountrycode> <Remarks>string</Remarks> <Referralfield>int</Referralfield> <Citizenship>int</Citizenship> <Patienttype>string</Patienttype> <PassportNo>string</PassportNo> <Signature>string</Signature> <ResidentType>string</ResidentType> <Medtype>int</Medtype> </OP_PatientRegistration> </ArrayOfOP_PatientRegistration>
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/searchpatient HTTP/1.1 Host: nooralmamzar.dyndns.org Content-Type: application/x-www-form-urlencoded Content-Length: length searchtext=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ArrayOfOP_PatientRegistration xmlns="http://tempuri.org/"> <OP_PatientRegistration> <PatientId>long</PatientId> <FileNo>string</FileNo> <Date>dateTime</Date> <FirstName>string</FirstName> <MiddleName>string</MiddleName> <LastName>string</LastName> <Sex>string</Sex> <DOB>dateTime</DOB> <Address>string</Address> <Province>string</Province> <ZIPCode>string</ZIPCode> <Phone>string</Phone> <Mobile>string</Mobile> <Email>string</Email> <IqamaNo>string</IqamaNo> <NationalityId>int</NationalityId> <IQAMADocumentPath>string</IQAMADocumentPath> <PolicyDocumentPath>string</PolicyDocumentPath> <Active>boolean</Active> <VisitStatus>string</VisitStatus> <DoctorId>long</DoctorId> <PatientAppointmentID>long</PatientAppointmentID> <RegistrationTime>string</RegistrationTime> <FileType>string</FileType> <test>string</test> <ReferralClinicId>int</ReferralClinicId> <ReferralDoctorId>int</ReferralDoctorId> <Photo>string</Photo> <MaritalStatus>string</MaritalStatus> <Occupation>string</Occupation> <WorkStatus>string</WorkStatus> <FamilyID>int</FamilyID> <DeActivate>boolean</DeActivate> <ProofIdentity>string</ProofIdentity> <CountryPermanenResidance>int</CountryPermanenResidance> <KnowAboutUsId>int</KnowAboutUsId> <Branch>int</Branch> <Patient_Class>string</Patient_Class> <Patient_Language>string</Patient_Language> <MSC_Code>string</MSC_Code> <LAC_Code>string</LAC_Code> <RGC_Code>string</RGC_Code> <KinName>string</KinName> <KinContactNo>string</KinContactNo> <RSC_Code>string</RSC_Code> <opc_optout>string</opc_optout> <opd_optdate>dateTime</opd_optdate> <kinLastName>string</kinLastName> <opc_mobcountrycode>string</opc_mobcountrycode> <opc_kinmobcountrycode>string</opc_kinmobcountrycode> <Remarks>string</Remarks> <Referralfield>int</Referralfield> <Citizenship>int</Citizenship> <Patienttype>string</Patienttype> <PassportNo>string</PassportNo> <Signature>string</Signature> <ResidentType>string</ResidentType> <Medtype>int</Medtype> </OP_PatientRegistration> <OP_PatientRegistration> <PatientId>long</PatientId> <FileNo>string</FileNo> <Date>dateTime</Date> <FirstName>string</FirstName> <MiddleName>string</MiddleName> <LastName>string</LastName> <Sex>string</Sex> <DOB>dateTime</DOB> <Address>string</Address> <Province>string</Province> <ZIPCode>string</ZIPCode> <Phone>string</Phone> <Mobile>string</Mobile> <Email>string</Email> <IqamaNo>string</IqamaNo> <NationalityId>int</NationalityId> <IQAMADocumentPath>string</IQAMADocumentPath> <PolicyDocumentPath>string</PolicyDocumentPath> <Active>boolean</Active> <VisitStatus>string</VisitStatus> <DoctorId>long</DoctorId> <PatientAppointmentID>long</PatientAppointmentID> <RegistrationTime>string</RegistrationTime> <FileType>string</FileType> <test>string</test> <ReferralClinicId>int</ReferralClinicId> <ReferralDoctorId>int</ReferralDoctorId> <Photo>string</Photo> <MaritalStatus>string</MaritalStatus> <Occupation>string</Occupation> <WorkStatus>string</WorkStatus> <FamilyID>int</FamilyID> <DeActivate>boolean</DeActivate> <ProofIdentity>string</ProofIdentity> <CountryPermanenResidance>int</CountryPermanenResidance> <KnowAboutUsId>int</KnowAboutUsId> <Branch>int</Branch> <Patient_Class>string</Patient_Class> <Patient_Language>string</Patient_Language> <MSC_Code>string</MSC_Code> <LAC_Code>string</LAC_Code> <RGC_Code>string</RGC_Code> <KinName>string</KinName> <KinContactNo>string</KinContactNo> <RSC_Code>string</RSC_Code> <opc_optout>string</opc_optout> <opd_optdate>dateTime</opd_optdate> <kinLastName>string</kinLastName> <opc_mobcountrycode>string</opc_mobcountrycode> <opc_kinmobcountrycode>string</opc_kinmobcountrycode> <Remarks>string</Remarks> <Referralfield>int</Referralfield> <Citizenship>int</Citizenship> <Patienttype>string</Patienttype> <PassportNo>string</PassportNo> <Signature>string</Signature> <ResidentType>string</ResidentType> <Medtype>int</Medtype> </OP_PatientRegistration> </ArrayOfOP_PatientRegistration>