Service1
Click here for a complete list of operations.
AdmitInsurance
Test
The test form is only available for requests from the local machine.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 /Service1.asmx HTTP/1.1 Host: 94.183.30.115 Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/AdmitInsurance" <?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> <AdmitInsurance xmlns="http://tempuri.org/"> <UserName>string</UserName> <Password>string</Password> <PreAdmit> <PreAdmitID>int</PreAdmitID> <PatientInfoID>int</PatientInfoID> <InsuranceID>int</InsuranceID> <SuppInsID>int</SuppInsID> <DoctorID>int</DoctorID> <AdmitID>int</AdmitID> <App>Centeral or Saja or Paja</App> <PatientInsuranceNum>string</PatientInsuranceNum> <Age>string</Age> <Description>string</Description> <State>WaitForAdmit or Admit or Cancel</State> <BirthDate>string</BirthDate> <TestList> <Cls_PreAdmitTest> <TesID>int</TesID> <App>Centeral or Saja or Paja</App> <SampleID>int</SampleID> <Emergency>int</Emergency> <EmergencyDay>int</EmergencyDay> <EmergencyHour>int</EmergencyHour> <InternalTestNum>string</InternalTestNum> <TestSpecialName>string</TestSpecialName> <FreePrice>int</FreePrice> <InsurancePrice>int</InsurancePrice> <ReportedToInsurance>boolean</ReportedToInsurance> </Cls_PreAdmitTest> <Cls_PreAdmitTest> <TesID>int</TesID> <App>Centeral or Saja or Paja</App> <SampleID>int</SampleID> <Emergency>int</Emergency> <EmergencyDay>int</EmergencyDay> <EmergencyHour>int</EmergencyHour> <InternalTestNum>string</InternalTestNum> <TestSpecialName>string</TestSpecialName> <FreePrice>int</FreePrice> <InsurancePrice>int</InsurancePrice> <ReportedToInsurance>boolean</ReportedToInsurance> </Cls_PreAdmitTest> </TestList> <PreScriptionDate>string</PreScriptionDate> <InsuranceExpireDate>string</InsuranceExpireDate> <InsurancePageNum>string</InsurancePageNum> <SuppInsPatientNum>string</SuppInsPatientNum> <TotalAdmitValue>long</TotalAdmitValue> <PayableValue>long</PayableValue> <TotalPaymentValue>long</TotalPaymentValue> <VirtualLab>int</VirtualLab> </PreAdmit> <ErrorText>string</ErrorText> </AdmitInsurance> </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> <AdmitInsuranceResponse xmlns="http://tempuri.org/"> <AdmitInsuranceResult>int</AdmitInsuranceResult> <ErrorText>string</ErrorText> </AdmitInsuranceResponse> </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 /Service1.asmx HTTP/1.1 Host: 94.183.30.115 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> <AdmitInsurance xmlns="http://tempuri.org/"> <UserName>string</UserName> <Password>string</Password> <PreAdmit> <PreAdmitID>int</PreAdmitID> <PatientInfoID>int</PatientInfoID> <InsuranceID>int</InsuranceID> <SuppInsID>int</SuppInsID> <DoctorID>int</DoctorID> <AdmitID>int</AdmitID> <App>Centeral or Saja or Paja</App> <PatientInsuranceNum>string</PatientInsuranceNum> <Age>string</Age> <Description>string</Description> <State>WaitForAdmit or Admit or Cancel</State> <BirthDate>string</BirthDate> <TestList> <Cls_PreAdmitTest> <TesID>int</TesID> <App>Centeral or Saja or Paja</App> <SampleID>int</SampleID> <Emergency>int</Emergency> <EmergencyDay>int</EmergencyDay> <EmergencyHour>int</EmergencyHour> <InternalTestNum>string</InternalTestNum> <TestSpecialName>string</TestSpecialName> <FreePrice>int</FreePrice> <InsurancePrice>int</InsurancePrice> <ReportedToInsurance>boolean</ReportedToInsurance> </Cls_PreAdmitTest> <Cls_PreAdmitTest> <TesID>int</TesID> <App>Centeral or Saja or Paja</App> <SampleID>int</SampleID> <Emergency>int</Emergency> <EmergencyDay>int</EmergencyDay> <EmergencyHour>int</EmergencyHour> <InternalTestNum>string</InternalTestNum> <TestSpecialName>string</TestSpecialName> <FreePrice>int</FreePrice> <InsurancePrice>int</InsurancePrice> <ReportedToInsurance>boolean</ReportedToInsurance> </Cls_PreAdmitTest> </TestList> <PreScriptionDate>string</PreScriptionDate> <InsuranceExpireDate>string</InsuranceExpireDate> <InsurancePageNum>string</InsurancePageNum> <SuppInsPatientNum>string</SuppInsPatientNum> <TotalAdmitValue>long</TotalAdmitValue> <PayableValue>long</PayableValue> <TotalPaymentValue>long</TotalPaymentValue> <VirtualLab>int</VirtualLab> </PreAdmit> <ErrorText>string</ErrorText> </AdmitInsurance> </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> <AdmitInsuranceResponse xmlns="http://tempuri.org/"> <AdmitInsuranceResult>int</AdmitInsuranceResult> <ErrorText>string</ErrorText> </AdmitInsuranceResponse> </soap12:Body> </soap12:Envelope>