Customers_Service
Click here for a complete list of operations.
Set_CustomerDetails_Simple
Get the Customer's ID and its details, and write them;
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 /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_Simple"
<?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_Simple xmlns="http://ws.comax.co.il/Comax_WebServices/">
<Name>string</Name>
<ID>string</ID>
<BlockDate>string</BlockDate>
<Street>string</Street>
<Street_No>string</Street_No>
<City>string</City>
<Phone>string</Phone>
<Mobile>string</Mobile>
<Zip>string</Zip>
<Fax>string</Fax>
<Email>string</Email>
<BornDate>string</BornDate>
<GroupID>string</GroupID>
<TaxID>string</TaxID>
<TypeID>string</TypeID>
<ClubCustomer>string</ClubCustomer>
<ExportCustomer>string</ExportCustomer>
<ForeignCurrency>string</ForeignCurrency>
<TaxExempt>string</TaxExempt>
<NotSendEmail>string</NotSendEmail>
<NotSendSMS>string</NotSendSMS>
<Currency>string</Currency>
<ForeignName>string</ForeignName>
<ForeignCity>string</ForeignCity>
<FamilyStatus>string</FamilyStatus>
<Sex>string</Sex>
<IDCard>string</IDCard>
<PriceListID>string</PriceListID>
<Remark>string</Remark>
<UserLoginID>string</UserLoginID>
<UserLoginPassword>string</UserLoginPassword>
<NewCustomer>string</NewCustomer>
<DeleteCustomer>string</DeleteCustomer>
<CheckIDCardExist>string</CheckIDCardExist>
<LoginID>string</LoginID>
<LoginPassword>string</LoginPassword>
</Set_CustomerDetails_Simple>
</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_CustomerDetails_SimpleResponse xmlns="http://ws.comax.co.il/Comax_WebServices/">
<Set_CustomerDetails_SimpleResult>
<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>
</Set_CustomerDetails_SimpleResult>
</Set_CustomerDetails_SimpleResponse>
</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_Simple xmlns="http://ws.comax.co.il/Comax_WebServices/">
<Name>string</Name>
<ID>string</ID>
<BlockDate>string</BlockDate>
<Street>string</Street>
<Street_No>string</Street_No>
<City>string</City>
<Phone>string</Phone>
<Mobile>string</Mobile>
<Zip>string</Zip>
<Fax>string</Fax>
<Email>string</Email>
<BornDate>string</BornDate>
<GroupID>string</GroupID>
<TaxID>string</TaxID>
<TypeID>string</TypeID>
<ClubCustomer>string</ClubCustomer>
<ExportCustomer>string</ExportCustomer>
<ForeignCurrency>string</ForeignCurrency>
<TaxExempt>string</TaxExempt>
<NotSendEmail>string</NotSendEmail>
<NotSendSMS>string</NotSendSMS>
<Currency>string</Currency>
<ForeignName>string</ForeignName>
<ForeignCity>string</ForeignCity>
<FamilyStatus>string</FamilyStatus>
<Sex>string</Sex>
<IDCard>string</IDCard>
<PriceListID>string</PriceListID>
<Remark>string</Remark>
<UserLoginID>string</UserLoginID>
<UserLoginPassword>string</UserLoginPassword>
<NewCustomer>string</NewCustomer>
<DeleteCustomer>string</DeleteCustomer>
<CheckIDCardExist>string</CheckIDCardExist>
<LoginID>string</LoginID>
<LoginPassword>string</LoginPassword>
</Set_CustomerDetails_Simple>
</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_CustomerDetails_SimpleResponse xmlns="http://ws.comax.co.il/Comax_WebServices/">
<Set_CustomerDetails_SimpleResult>
<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>
</Set_CustomerDetails_SimpleResult>
</Set_CustomerDetails_SimpleResponse>
</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 /Comax_WebServices/Customers_Service.asmx/Set_CustomerDetails_Simple?Name=string&ID=string&BlockDate=string&Street=string&Street_No=string&City=string&Phone=string&Mobile=string&Zip=string&Fax=string&Email=string&BornDate=string&GroupID=string&TaxID=string&TypeID=string&ClubCustomer=string&ExportCustomer=string&ForeignCurrency=string&TaxExempt=string&NotSendEmail=string&NotSendSMS=string&Currency=string&ForeignName=string&ForeignCity=string&FamilyStatus=string&Sex=string&IDCard=string&PriceListID=string&Remark=string&UserLoginID=string&UserLoginPassword=string&NewCustomer=string&DeleteCustomer=string&CheckIDCardExist=string&LoginID=string&LoginPassword=string HTTP/1.1 Host: ws.comax.co.il
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<ClsCustomers xmlns="http://ws.comax.co.il/Comax_WebServices/">
<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>
</ClsCustomers>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /Comax_WebServices/Customers_Service.asmx/Set_CustomerDetails_Simple HTTP/1.1 Host: ws.comax.co.il Content-Type: application/x-www-form-urlencoded Content-Length: length Name=string&ID=string&BlockDate=string&Street=string&Street_No=string&City=string&Phone=string&Mobile=string&Zip=string&Fax=string&Email=string&BornDate=string&GroupID=string&TaxID=string&TypeID=string&ClubCustomer=string&ExportCustomer=string&ForeignCurrency=string&TaxExempt=string&NotSendEmail=string&NotSendSMS=string&Currency=string&ForeignName=string&ForeignCity=string&FamilyStatus=string&Sex=string&IDCard=string&PriceListID=string&Remark=string&UserLoginID=string&UserLoginPassword=string&NewCustomer=string&DeleteCustomer=string&CheckIDCardExist=string&LoginID=string&LoginPassword=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<ClsCustomers xmlns="http://ws.comax.co.il/Comax_WebServices/">
<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>
</ClsCustomers>