Customers_Service


Click here for a complete list of operations.

Get_CustomerDetailsBySearch

Get CustomerID or other search options and return the Customer details;

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 /Comax_WebServices/Customers_Service.asmx HTTP/1.1
Host: ws.comax.co.il
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ws.comax.co.il/Comax_WebServices/Get_CustomerDetailsBySearch"

<?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>
    <Get_CustomerDetailsBySearch xmlns="http://ws.comax.co.il/Comax_WebServices/">
      <CustomersSearch>
        <ID>long</ID>
        <Name>string</Name>
        <InternalID>int</InternalID>
        <Phone>string</Phone>
        <Mobile>string</Mobile>
        <Email>string</Email>
        <GroupID>int</GroupID>
        <IDCard>long</IDCard>
        <City>string</City>
        <TaxID>long</TaxID>
        <DateUpdate>string</DateUpdate>
        <ToDateUpdate>string</ToDateUpdate>
        <GetContactDetails>boolean</GetContactDetails>
        <SwHasBalance>boolean</SwHasBalance>
        <Passport>string</Passport>
        <NoBlockCustomers>boolean</NoBlockCustomers>
        <SwPartName>boolean</SwPartName>
      </CustomersSearch>
      <LoginID>string</LoginID>
      <LoginPassword>string</LoginPassword>
    </Get_CustomerDetailsBySearch>
  </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>
    <Get_CustomerDetailsBySearchResponse xmlns="http://ws.comax.co.il/Comax_WebServices/">
      <Get_CustomerDetailsBySearchResult>
        <ClsCustomers>
          <Name>string</Name>
          <ID>long</ID>
          <InternalID>int</InternalID>
          <IsBlocked>boolean</IsBlocked>
          <BlockDate>string</BlockDate>
          <Street>string</Street>
          <Street_No>string</Street_No>
          <Floor>int</Floor>
          <Flat>int</Flat>
          <City>string</City>
          <Phone>string</Phone>
          <Mobile>string</Mobile>
          <Zip>string</Zip>
          <Fax>string</Fax>
          <Email>string</Email>
          <Intercom>string</Intercom>
          <Obligo>double</Obligo>
          <Balance>double</Balance>
          <BornDate>string</BornDate>
          <GroupID>int</GroupID>
          <TaxID>long</TaxID>
          <TypeID>long</TypeID>
          <ClubCustomer>boolean</ClubCustomer>
          <JoinDate>string</JoinDate>
          <ExportCustomer>boolean</ExportCustomer>
          <ForeignCurrency>boolean</ForeignCurrency>
          <Currency>string</Currency>
          <TaxExempt>boolean</TaxExempt>
          <ForeignName>string</ForeignName>
          <ForeignCity>string</ForeignCity>
          <Country>string</Country>
          <ContactMan>
            <ClsContactMan xsi:nil="true" />
            <ClsContactMan xsi:nil="true" />
          </ContactMan>
          <NotSendEmail>boolean</NotSendEmail>
          <NotSendSMS>boolean</NotSendSMS>
          <DateOfBirth>string</DateOfBirth>
          <FamilyStatus>Empty or NeverMarried or Married or Divorced or Widowed or Other</FamilyStatus>
          <Sex>Empty or Male or Female</Sex>
          <IDCard>string</IDCard>
          <PriceListID>string</PriceListID>
          <DiscountPercent>string</DiscountPercent>
          <Remark>string</Remark>
          <UserLoginID>string</UserLoginID>
          <UserLoginPassword>string</UserLoginPassword>
          <NewCustomer>string</NewCustomer>
          <DeleteCustomer>string</DeleteCustomer>
          <CheckIDCardExist>string</CheckIDCardExist>
          <SwInvoiceEmail>boolean</SwInvoiceEmail>
          <SochenNm>string</SochenNm>
          <Passport>string</Passport>
          <BalanceLk>double</BalanceLk>
          <SwDeleteBlockDate>boolean</SwDeleteBlockDate>
          <Status>string</Status>
          <WebAddress>string</WebAddress>
          <PaymentMethod>string</PaymentMethod>
          <PercentageTotal>string</PercentageTotal>
          <TypePayment>string</TypePayment>
          <ExtraDays>string</ExtraDays>
          <SwCalac_EndMonth>string</SwCalac_EndMonth>
          <DayMonth>string</DayMonth>
          <ErrorMessage>string</ErrorMessage>
          <CentralAccount>long</CentralAccount>
          <EDI>long</EDI>
          <CheckIdDetailsExists>boolean</CheckIdDetailsExists>
          <AgentId>int</AgentId>
          <CreditLimit>double</CreditLimit>
          <UserAttKod>int</UserAttKod>
          <MinimumOrder>double</MinimumOrder>
          <MaximumOrder>double</MaximumOrder>
          <DateStopSaleBuy>string</DateStopSaleBuy>
          <Customer_External_ID>string</Customer_External_ID>
          <Conversion>string</Conversion>
          <ECountry>string</ECountry>
          <VAT_Note>string</VAT_Note>
          <IncomeAccountUSD>string</IncomeAccountUSD>
          <IncomeAccountEUR>string</IncomeAccountEUR>
          <ReceivingStore>string</ReceivingStore>
          <ArrivalSource>string</ArrivalSource>
        </ClsCustomers>
        <ClsCustomers>
          <Name>string</Name>
          <ID>long</ID>
          <InternalID>int</InternalID>
          <IsBlocked>boolean</IsBlocked>
          <BlockDate>string</BlockDate>
          <Street>string</Street>
          <Street_No>string</Street_No>
          <Floor>int</Floor>
          <Flat>int</Flat>
          <City>string</City>
          <Phone>string</Phone>
          <Mobile>string</Mobile>
          <Zip>string</Zip>
          <Fax>string</Fax>
          <Email>string</Email>
          <Intercom>string</Intercom>
          <Obligo>double</Obligo>
          <Balance>double</Balance>
          <BornDate>string</BornDate>
          <GroupID>int</GroupID>
          <TaxID>long</TaxID>
          <TypeID>long</TypeID>
          <ClubCustomer>boolean</ClubCustomer>
          <JoinDate>string</JoinDate>
          <ExportCustomer>boolean</ExportCustomer>
          <ForeignCurrency>boolean</ForeignCurrency>
          <Currency>string</Currency>
          <TaxExempt>boolean</TaxExempt>
          <ForeignName>string</ForeignName>
          <ForeignCity>string</ForeignCity>
          <Country>string</Country>
          <ContactMan>
            <ClsContactMan xsi:nil="true" />
            <ClsContactMan xsi:nil="true" />
          </ContactMan>
          <NotSendEmail>boolean</NotSendEmail>
          <NotSendSMS>boolean</NotSendSMS>
          <DateOfBirth>string</DateOfBirth>
          <FamilyStatus>Empty or NeverMarried or Married or Divorced or Widowed or Other</FamilyStatus>
          <Sex>Empty or Male or Female</Sex>
          <IDCard>string</IDCard>
          <PriceListID>string</PriceListID>
          <DiscountPercent>string</DiscountPercent>
          <Remark>string</Remark>
          <UserLoginID>string</UserLoginID>
          <UserLoginPassword>string</UserLoginPassword>
          <NewCustomer>string</NewCustomer>
          <DeleteCustomer>string</DeleteCustomer>
          <CheckIDCardExist>string</CheckIDCardExist>
          <SwInvoiceEmail>boolean</SwInvoiceEmail>
          <SochenNm>string</SochenNm>
          <Passport>string</Passport>
          <BalanceLk>double</BalanceLk>
          <SwDeleteBlockDate>boolean</SwDeleteBlockDate>
          <Status>string</Status>
          <WebAddress>string</WebAddress>
          <PaymentMethod>string</PaymentMethod>
          <PercentageTotal>string</PercentageTotal>
          <TypePayment>string</TypePayment>
          <ExtraDays>string</ExtraDays>
          <SwCalac_EndMonth>string</SwCalac_EndMonth>
          <DayMonth>string</DayMonth>
          <ErrorMessage>string</ErrorMessage>
          <CentralAccount>long</CentralAccount>
          <EDI>long</EDI>
          <CheckIdDetailsExists>boolean</CheckIdDetailsExists>
          <AgentId>int</AgentId>
          <CreditLimit>double</CreditLimit>
          <UserAttKod>int</UserAttKod>
          <MinimumOrder>double</MinimumOrder>
          <MaximumOrder>double</MaximumOrder>
          <DateStopSaleBuy>string</DateStopSaleBuy>
          <Customer_External_ID>string</Customer_External_ID>
          <Conversion>string</Conversion>
          <ECountry>string</ECountry>
          <VAT_Note>string</VAT_Note>
          <IncomeAccountUSD>string</IncomeAccountUSD>
          <IncomeAccountEUR>string</IncomeAccountEUR>
          <ReceivingStore>string</ReceivingStore>
          <ArrivalSource>string</ArrivalSource>
        </ClsCustomers>
      </Get_CustomerDetailsBySearchResult>
    </Get_CustomerDetailsBySearchResponse>
  </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 /Comax_WebServices/Customers_Service.asmx HTTP/1.1
Host: ws.comax.co.il
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>
    <Get_CustomerDetailsBySearch xmlns="http://ws.comax.co.il/Comax_WebServices/">
      <CustomersSearch>
        <ID>long</ID>
        <Name>string</Name>
        <InternalID>int</InternalID>
        <Phone>string</Phone>
        <Mobile>string</Mobile>
        <Email>string</Email>
        <GroupID>int</GroupID>
        <IDCard>long</IDCard>
        <City>string</City>
        <TaxID>long</TaxID>
        <DateUpdate>string</DateUpdate>
        <ToDateUpdate>string</ToDateUpdate>
        <GetContactDetails>boolean</GetContactDetails>
        <SwHasBalance>boolean</SwHasBalance>
        <Passport>string</Passport>
        <NoBlockCustomers>boolean</NoBlockCustomers>
        <SwPartName>boolean</SwPartName>
      </CustomersSearch>
      <LoginID>string</LoginID>
      <LoginPassword>string</LoginPassword>
    </Get_CustomerDetailsBySearch>
  </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>
    <Get_CustomerDetailsBySearchResponse xmlns="http://ws.comax.co.il/Comax_WebServices/">
      <Get_CustomerDetailsBySearchResult>
        <ClsCustomers>
          <Name>string</Name>
          <ID>long</ID>
          <InternalID>int</InternalID>
          <IsBlocked>boolean</IsBlocked>
          <BlockDate>string</BlockDate>
          <Street>string</Street>
          <Street_No>string</Street_No>
          <Floor>int</Floor>
          <Flat>int</Flat>
          <City>string</City>
          <Phone>string</Phone>
          <Mobile>string</Mobile>
          <Zip>string</Zip>
          <Fax>string</Fax>
          <Email>string</Email>
          <Intercom>string</Intercom>
          <Obligo>double</Obligo>
          <Balance>double</Balance>
          <BornDate>string</BornDate>
          <GroupID>int</GroupID>
          <TaxID>long</TaxID>
          <TypeID>long</TypeID>
          <ClubCustomer>boolean</ClubCustomer>
          <JoinDate>string</JoinDate>
          <ExportCustomer>boolean</ExportCustomer>
          <ForeignCurrency>boolean</ForeignCurrency>
          <Currency>string</Currency>
          <TaxExempt>boolean</TaxExempt>
          <ForeignName>string</ForeignName>
          <ForeignCity>string</ForeignCity>
          <Country>string</Country>
          <ContactMan>
            <ClsContactMan xsi:nil="true" />
            <ClsContactMan xsi:nil="true" />
          </ContactMan>
          <NotSendEmail>boolean</NotSendEmail>
          <NotSendSMS>boolean</NotSendSMS>
          <DateOfBirth>string</DateOfBirth>
          <FamilyStatus>Empty or NeverMarried or Married or Divorced or Widowed or Other</FamilyStatus>
          <Sex>Empty or Male or Female</Sex>
          <IDCard>string</IDCard>
          <PriceListID>string</PriceListID>
          <DiscountPercent>string</DiscountPercent>
          <Remark>string</Remark>
          <UserLoginID>string</UserLoginID>
          <UserLoginPassword>string</UserLoginPassword>
          <NewCustomer>string</NewCustomer>
          <DeleteCustomer>string</DeleteCustomer>
          <CheckIDCardExist>string</CheckIDCardExist>
          <SwInvoiceEmail>boolean</SwInvoiceEmail>
          <SochenNm>string</SochenNm>
          <Passport>string</Passport>
          <BalanceLk>double</BalanceLk>
          <SwDeleteBlockDate>boolean</SwDeleteBlockDate>
          <Status>string</Status>
          <WebAddress>string</WebAddress>
          <PaymentMethod>string</PaymentMethod>
          <PercentageTotal>string</PercentageTotal>
          <TypePayment>string</TypePayment>
          <ExtraDays>string</ExtraDays>
          <SwCalac_EndMonth>string</SwCalac_EndMonth>
          <DayMonth>string</DayMonth>
          <ErrorMessage>string</ErrorMessage>
          <CentralAccount>long</CentralAccount>
          <EDI>long</EDI>
          <CheckIdDetailsExists>boolean</CheckIdDetailsExists>
          <AgentId>int</AgentId>
          <CreditLimit>double</CreditLimit>
          <UserAttKod>int</UserAttKod>
          <MinimumOrder>double</MinimumOrder>
          <MaximumOrder>double</MaximumOrder>
          <DateStopSaleBuy>string</DateStopSaleBuy>
          <Customer_External_ID>string</Customer_External_ID>
          <Conversion>string</Conversion>
          <ECountry>string</ECountry>
          <VAT_Note>string</VAT_Note>
          <IncomeAccountUSD>string</IncomeAccountUSD>
          <IncomeAccountEUR>string</IncomeAccountEUR>
          <ReceivingStore>string</ReceivingStore>
          <ArrivalSource>string</ArrivalSource>
        </ClsCustomers>
        <ClsCustomers>
          <Name>string</Name>
          <ID>long</ID>
          <InternalID>int</InternalID>
          <IsBlocked>boolean</IsBlocked>
          <BlockDate>string</BlockDate>
          <Street>string</Street>
          <Street_No>string</Street_No>
          <Floor>int</Floor>
          <Flat>int</Flat>
          <City>string</City>
          <Phone>string</Phone>
          <Mobile>string</Mobile>
          <Zip>string</Zip>
          <Fax>string</Fax>
          <Email>string</Email>
          <Intercom>string</Intercom>
          <Obligo>double</Obligo>
          <Balance>double</Balance>
          <BornDate>string</BornDate>
          <GroupID>int</GroupID>
          <TaxID>long</TaxID>
          <TypeID>long</TypeID>
          <ClubCustomer>boolean</ClubCustomer>
          <JoinDate>string</JoinDate>
          <ExportCustomer>boolean</ExportCustomer>
          <ForeignCurrency>boolean</ForeignCurrency>
          <Currency>string</Currency>
          <TaxExempt>boolean</TaxExempt>
          <ForeignName>string</ForeignName>
          <ForeignCity>string</ForeignCity>
          <Country>string</Country>
          <ContactMan>
            <ClsContactMan xsi:nil="true" />
            <ClsContactMan xsi:nil="true" />
          </ContactMan>
          <NotSendEmail>boolean</NotSendEmail>
          <NotSendSMS>boolean</NotSendSMS>
          <DateOfBirth>string</DateOfBirth>
          <FamilyStatus>Empty or NeverMarried or Married or Divorced or Widowed or Other</FamilyStatus>
          <Sex>Empty or Male or Female</Sex>
          <IDCard>string</IDCard>
          <PriceListID>string</PriceListID>
          <DiscountPercent>string</DiscountPercent>
          <Remark>string</Remark>
          <UserLoginID>string</UserLoginID>
          <UserLoginPassword>string</UserLoginPassword>
          <NewCustomer>string</NewCustomer>
          <DeleteCustomer>string</DeleteCustomer>
          <CheckIDCardExist>string</CheckIDCardExist>
          <SwInvoiceEmail>boolean</SwInvoiceEmail>
          <SochenNm>string</SochenNm>
          <Passport>string</Passport>
          <BalanceLk>double</BalanceLk>
          <SwDeleteBlockDate>boolean</SwDeleteBlockDate>
          <Status>string</Status>
          <WebAddress>string</WebAddress>
          <PaymentMethod>string</PaymentMethod>
          <PercentageTotal>string</PercentageTotal>
          <TypePayment>string</TypePayment>
          <ExtraDays>string</ExtraDays>
          <SwCalac_EndMonth>string</SwCalac_EndMonth>
          <DayMonth>string</DayMonth>
          <ErrorMessage>string</ErrorMessage>
          <CentralAccount>long</CentralAccount>
          <EDI>long</EDI>
          <CheckIdDetailsExists>boolean</CheckIdDetailsExists>
          <AgentId>int</AgentId>
          <CreditLimit>double</CreditLimit>
          <UserAttKod>int</UserAttKod>
          <MinimumOrder>double</MinimumOrder>
          <MaximumOrder>double</MaximumOrder>
          <DateStopSaleBuy>string</DateStopSaleBuy>
          <Customer_External_ID>string</Customer_External_ID>
          <Conversion>string</Conversion>
          <ECountry>string</ECountry>
          <VAT_Note>string</VAT_Note>
          <IncomeAccountUSD>string</IncomeAccountUSD>
          <IncomeAccountEUR>string</IncomeAccountEUR>
          <ReceivingStore>string</ReceivingStore>
          <ArrivalSource>string</ArrivalSource>
        </ClsCustomers>
      </Get_CustomerDetailsBySearchResult>
    </Get_CustomerDetailsBySearchResponse>
  </soap12:Body>
</soap12:Envelope>