Customers_Service


Click here for a complete list of operations.

Set_CustomerDetails

Get the Customer's ID and its details, and write them;

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/Set_CustomerDetails"

<?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>
    <Set_CustomerDetails xmlns="http://ws.comax.co.il/Comax_WebServices/">
      <CustomerDetails>
        <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>
            <CustomerID>long</CustomerID>
            <Name>string</Name>
            <Title>string</Title>
            <Phone>string</Phone>
            <Mobile>string</Mobile>
            <Fax>string</Fax>
            <Email>string</Email>
            <ErrorMessage>string</ErrorMessage>
            <IsMainContact>string</IsMainContact>
          </ClsContactMan>
          <ClsContactMan>
            <CustomerID>long</CustomerID>
            <Name>string</Name>
            <Title>string</Title>
            <Phone>string</Phone>
            <Mobile>string</Mobile>
            <Fax>string</Fax>
            <Email>string</Email>
            <ErrorMessage>string</ErrorMessage>
            <IsMainContact>string</IsMainContact>
          </ClsContactMan>
        </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>
      </CustomerDetails>
      <LoginID>string</LoginID>
      <LoginPassword>string</LoginPassword>
    </Set_CustomerDetails>
  </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>
    <Set_CustomerDetailsResponse xmlns="http://ws.comax.co.il/Comax_WebServices/">
      <Set_CustomerDetailsResult>boolean</Set_CustomerDetailsResult>
      <CustomerDetails>
        <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>
            <CustomerID>long</CustomerID>
            <Name>string</Name>
            <Title>string</Title>
            <Phone>string</Phone>
            <Mobile>string</Mobile>
            <Fax>string</Fax>
            <Email>string</Email>
            <ErrorMessage>string</ErrorMessage>
            <IsMainContact>string</IsMainContact>
          </ClsContactMan>
          <ClsContactMan>
            <CustomerID>long</CustomerID>
            <Name>string</Name>
            <Title>string</Title>
            <Phone>string</Phone>
            <Mobile>string</Mobile>
            <Fax>string</Fax>
            <Email>string</Email>
            <ErrorMessage>string</ErrorMessage>
            <IsMainContact>string</IsMainContact>
          </ClsContactMan>
        </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>
      </CustomerDetails>
    </Set_CustomerDetailsResponse>
  </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>
    <Set_CustomerDetails xmlns="http://ws.comax.co.il/Comax_WebServices/">
      <CustomerDetails>
        <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>
            <CustomerID>long</CustomerID>
            <Name>string</Name>
            <Title>string</Title>
            <Phone>string</Phone>
            <Mobile>string</Mobile>
            <Fax>string</Fax>
            <Email>string</Email>
            <ErrorMessage>string</ErrorMessage>
            <IsMainContact>string</IsMainContact>
          </ClsContactMan>
          <ClsContactMan>
            <CustomerID>long</CustomerID>
            <Name>string</Name>
            <Title>string</Title>
            <Phone>string</Phone>
            <Mobile>string</Mobile>
            <Fax>string</Fax>
            <Email>string</Email>
            <ErrorMessage>string</ErrorMessage>
            <IsMainContact>string</IsMainContact>
          </ClsContactMan>
        </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>
      </CustomerDetails>
      <LoginID>string</LoginID>
      <LoginPassword>string</LoginPassword>
    </Set_CustomerDetails>
  </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>
    <Set_CustomerDetailsResponse xmlns="http://ws.comax.co.il/Comax_WebServices/">
      <Set_CustomerDetailsResult>boolean</Set_CustomerDetailsResult>
      <CustomerDetails>
        <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>
            <CustomerID>long</CustomerID>
            <Name>string</Name>
            <Title>string</Title>
            <Phone>string</Phone>
            <Mobile>string</Mobile>
            <Fax>string</Fax>
            <Email>string</Email>
            <ErrorMessage>string</ErrorMessage>
            <IsMainContact>string</IsMainContact>
          </ClsContactMan>
          <ClsContactMan>
            <CustomerID>long</CustomerID>
            <Name>string</Name>
            <Title>string</Title>
            <Phone>string</Phone>
            <Mobile>string</Mobile>
            <Fax>string</Fax>
            <Email>string</Email>
            <ErrorMessage>string</ErrorMessage>
            <IsMainContact>string</IsMainContact>
          </ClsContactMan>
        </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>
      </CustomerDetails>
    </Set_CustomerDetailsResponse>
  </soap12:Body>
</soap12:Envelope>