RegentGeneric


Click here for a complete list of operations.

SaveCustomer

保存店铺信息。

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 /WTpos/sposwebservice/RegentGeneric.asmx HTTP/1.1
Host: 122.224.183.250
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.myregent.cn/SaveCustomer"

<?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:Header>
    <CredentialSoapHeader xmlns="http://www.myregent.cn/">
      <UserName>string</UserName>
      <Password>string</Password>
    </CredentialSoapHeader>
  </soap:Header>
  <soap:Body>
    <SaveCustomer xmlns="http://www.myregent.cn/">
      <customer>
        <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState>
        <CustomerId>string</CustomerId>
        <CustomerAbbrev>string</CustomerAbbrev>
        <CustomerName>string</CustomerName>
        <Address>string</Address>
        <Tel1>string</Tel1>
        <Tel2>string</Tel2>
        <Zipcode>string</Zipcode>
        <Fax>string</Fax>
        <Keyman>string</Keyman>
        <Mathod>string</Mathod>
        <Saletarget>double</Saletarget>
        <Area>double</Area>
        <Fee>double</Fee>
        <Flag>boolean</Flag>
        <Email>string</Email>
        <Credit>double</Credit>
        <Discount>double</Discount>
        <Region>string</Region>
        <Group>string</Group>
        <Warehouse_No>string</Warehouse_No>
        <Calulate>int</Calulate>
        <SaleMan>string</SaleMan>
        <Fdiscount>double</Fdiscount>
        <FormulaId>string</FormulaId>
        <OverCrdt>boolean</OverCrdt>
        <ExchangeRate>double</ExchangeRate>
        <ExchangeCyc>double</ExchangeCyc>
        <ExchangeFirst>double</ExchangeFirst>
        <Level>int</Level>
        <City>string</City>
        <FictitiousPerson>string</FictitiousPerson>
        <Sort>string</Sort>
        <SortCycDays>int</SortCycDays>
        <Province>string</Province>
        <Remark>string</Remark>
        <PuDiscount>double</PuDiscount>
        <MaiDiscount>double</MaiDiscount>
        <DealInPattern>string</DealInPattern>
        <PractiseDate>dateTime</PractiseDate>
        <ShutOutDate>dateTime</ShutOutDate>
        <Deposit>double</Deposit>
        <ShutOut>boolean</ShutOut>
        <QiExchangeRate>double</QiExchangeRate>
        <QiExchangeCyc>int</QiExchangeCyc>
        <BuExchangeRate>double</BuExchangeRate>
        <BuExchangeCyc>int</BuExchangeCyc>
        <PuExchangeRate>double</PuExchangeRate>
        <PuExchangeCyc>int</PuExchangeCyc>
        <DpPriceType>string</DpPriceType>
        <BalancePriceGetFromGoods>boolean</BalancePriceGetFromGoods>
        <AllowMinusStock>boolean</AllowMinusStock>
        <MarketPlaceDiscount>double</MarketPlaceDiscount>
        <BalancePriceType>string</BalancePriceType>
        <Country>string</Country>
        <ParentChannelID>string</ParentChannelID>
        <PrintPosSmallBill>boolean</PrintPosSmallBill>
        <NotIntegral>boolean</NotIntegral>
        <NotDiscount>boolean</NotDiscount>
        <NotSendMobileMsg>boolean</NotSendMobileMsg>
      </customer>
      <customerNo>
        <string>string</string>
        <string>string</string>
      </customerNo>
      <returnId>int</returnId>
      <returnMessage>string</returnMessage>
    </SaveCustomer>
  </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>
    <SaveCustomerResponse xmlns="http://www.myregent.cn/">
      <SaveCustomerResult>string</SaveCustomerResult>
      <returnId>int</returnId>
      <returnMessage>string</returnMessage>
    </SaveCustomerResponse>
  </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 /WTpos/sposwebservice/RegentGeneric.asmx HTTP/1.1
Host: 122.224.183.250
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:Header>
    <CredentialSoapHeader xmlns="http://www.myregent.cn/">
      <UserName>string</UserName>
      <Password>string</Password>
    </CredentialSoapHeader>
  </soap12:Header>
  <soap12:Body>
    <SaveCustomer xmlns="http://www.myregent.cn/">
      <customer>
        <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState>
        <CustomerId>string</CustomerId>
        <CustomerAbbrev>string</CustomerAbbrev>
        <CustomerName>string</CustomerName>
        <Address>string</Address>
        <Tel1>string</Tel1>
        <Tel2>string</Tel2>
        <Zipcode>string</Zipcode>
        <Fax>string</Fax>
        <Keyman>string</Keyman>
        <Mathod>string</Mathod>
        <Saletarget>double</Saletarget>
        <Area>double</Area>
        <Fee>double</Fee>
        <Flag>boolean</Flag>
        <Email>string</Email>
        <Credit>double</Credit>
        <Discount>double</Discount>
        <Region>string</Region>
        <Group>string</Group>
        <Warehouse_No>string</Warehouse_No>
        <Calulate>int</Calulate>
        <SaleMan>string</SaleMan>
        <Fdiscount>double</Fdiscount>
        <FormulaId>string</FormulaId>
        <OverCrdt>boolean</OverCrdt>
        <ExchangeRate>double</ExchangeRate>
        <ExchangeCyc>double</ExchangeCyc>
        <ExchangeFirst>double</ExchangeFirst>
        <Level>int</Level>
        <City>string</City>
        <FictitiousPerson>string</FictitiousPerson>
        <Sort>string</Sort>
        <SortCycDays>int</SortCycDays>
        <Province>string</Province>
        <Remark>string</Remark>
        <PuDiscount>double</PuDiscount>
        <MaiDiscount>double</MaiDiscount>
        <DealInPattern>string</DealInPattern>
        <PractiseDate>dateTime</PractiseDate>
        <ShutOutDate>dateTime</ShutOutDate>
        <Deposit>double</Deposit>
        <ShutOut>boolean</ShutOut>
        <QiExchangeRate>double</QiExchangeRate>
        <QiExchangeCyc>int</QiExchangeCyc>
        <BuExchangeRate>double</BuExchangeRate>
        <BuExchangeCyc>int</BuExchangeCyc>
        <PuExchangeRate>double</PuExchangeRate>
        <PuExchangeCyc>int</PuExchangeCyc>
        <DpPriceType>string</DpPriceType>
        <BalancePriceGetFromGoods>boolean</BalancePriceGetFromGoods>
        <AllowMinusStock>boolean</AllowMinusStock>
        <MarketPlaceDiscount>double</MarketPlaceDiscount>
        <BalancePriceType>string</BalancePriceType>
        <Country>string</Country>
        <ParentChannelID>string</ParentChannelID>
        <PrintPosSmallBill>boolean</PrintPosSmallBill>
        <NotIntegral>boolean</NotIntegral>
        <NotDiscount>boolean</NotDiscount>
        <NotSendMobileMsg>boolean</NotSendMobileMsg>
      </customer>
      <customerNo>
        <string>string</string>
        <string>string</string>
      </customerNo>
      <returnId>int</returnId>
      <returnMessage>string</returnMessage>
    </SaveCustomer>
  </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>
    <SaveCustomerResponse xmlns="http://www.myregent.cn/">
      <SaveCustomerResult>string</SaveCustomerResult>
      <returnId>int</returnId>
      <returnMessage>string</returnMessage>
    </SaveCustomerResponse>
  </soap12:Body>
</soap12:Envelope>