RegentModule


Click here for a complete list of operations.

SaveCustomerVip2

保存VIP信息。

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

<?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>
    <SaveCustomerVip2 xmlns="http://www.myregent.cn/">
      <customerVip>
        <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState>
        <VipId>string</VipId>
        <VipName>string</VipName>
        <Discount>decimal</Discount>
        <BeginDate>dateTime</BeginDate>
        <ExpireDate>dateTime</ExpireDate>
        <Sex>string</Sex>
        <BirthDate>dateTime</BirthDate>
        <Height>string</Height>
        <Weight>string</Weight>
        <ShoeSize>string</ShoeSize>
        <Tel>string</Tel>
        <Email>string</Email>
        <Address>string</Address>
        <Remark>string</Remark>
        <EngName>string</EngName>
        <IdCard>string</IdCard>
        <Work>string</Work>
        <Earning>string</Earning>
        <MobileTel>string</MobileTel>
        <EncryptVIP>string</EncryptVIP>
        <FrockSize>string</FrockSize>
        <DownSize>string</DownSize>
        <LeiBie>string</LeiBie>
        <WaistLine>string</WaistLine>
        <CustomerId>string</CustomerId>
        <Group>string</Group>
        <VipGrade>string</VipGrade>
        <RgUser>string</RgUser>
        <JbUser>string</JbUser>
        <PayCardUser>string</PayCardUser>
        <UseStatus>string</UseStatus>
        <HisIntegral>string</HisIntegral>
        <Information>string</Information>
        <Imprest>string</Imprest>
        <InputDate>dateTime</InputDate>
        <PostalCode>string</PostalCode>
        <Nationality>string</Nationality>
        <MobileTel2>string</MobileTel2>
        <MarketCodeType>string</MarketCodeType>
        <Status>string</Status>
        <FeedBackMode>string</FeedBackMode>
        <ExchangeCard>string</ExchangeCard>
        <ExchangeDate>dateTime</ExchangeDate>
        <Passwords>string</Passwords>
        <OriginalCustomer>string</OriginalCustomer>
        <Flag>int</Flag>
        <Integral>decimal</Integral>
        <UpdateTime>dateTime</UpdateTime>
        <LossReportTime>dateTime</LossReportTime>
        <OldVip>string</OldVip>
        <AgeBound>string</AgeBound>
        <IsExchange>boolean</IsExchange>
      </customerVip>
      <autoNo>boolean</autoNo>
      <returnId>int</returnId>
      <returnMessage>string</returnMessage>
    </SaveCustomerVip2>
  </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>
    <SaveCustomerVip2Response xmlns="http://www.myregent.cn/">
      <SaveCustomerVip2Result>string</SaveCustomerVip2Result>
      <returnId>int</returnId>
      <returnMessage>string</returnMessage>
    </SaveCustomerVip2Response>
  </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/RegentModule.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>
    <SaveCustomerVip2 xmlns="http://www.myregent.cn/">
      <customerVip>
        <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState>
        <VipId>string</VipId>
        <VipName>string</VipName>
        <Discount>decimal</Discount>
        <BeginDate>dateTime</BeginDate>
        <ExpireDate>dateTime</ExpireDate>
        <Sex>string</Sex>
        <BirthDate>dateTime</BirthDate>
        <Height>string</Height>
        <Weight>string</Weight>
        <ShoeSize>string</ShoeSize>
        <Tel>string</Tel>
        <Email>string</Email>
        <Address>string</Address>
        <Remark>string</Remark>
        <EngName>string</EngName>
        <IdCard>string</IdCard>
        <Work>string</Work>
        <Earning>string</Earning>
        <MobileTel>string</MobileTel>
        <EncryptVIP>string</EncryptVIP>
        <FrockSize>string</FrockSize>
        <DownSize>string</DownSize>
        <LeiBie>string</LeiBie>
        <WaistLine>string</WaistLine>
        <CustomerId>string</CustomerId>
        <Group>string</Group>
        <VipGrade>string</VipGrade>
        <RgUser>string</RgUser>
        <JbUser>string</JbUser>
        <PayCardUser>string</PayCardUser>
        <UseStatus>string</UseStatus>
        <HisIntegral>string</HisIntegral>
        <Information>string</Information>
        <Imprest>string</Imprest>
        <InputDate>dateTime</InputDate>
        <PostalCode>string</PostalCode>
        <Nationality>string</Nationality>
        <MobileTel2>string</MobileTel2>
        <MarketCodeType>string</MarketCodeType>
        <Status>string</Status>
        <FeedBackMode>string</FeedBackMode>
        <ExchangeCard>string</ExchangeCard>
        <ExchangeDate>dateTime</ExchangeDate>
        <Passwords>string</Passwords>
        <OriginalCustomer>string</OriginalCustomer>
        <Flag>int</Flag>
        <Integral>decimal</Integral>
        <UpdateTime>dateTime</UpdateTime>
        <LossReportTime>dateTime</LossReportTime>
        <OldVip>string</OldVip>
        <AgeBound>string</AgeBound>
        <IsExchange>boolean</IsExchange>
      </customerVip>
      <autoNo>boolean</autoNo>
      <returnId>int</returnId>
      <returnMessage>string</returnMessage>
    </SaveCustomerVip2>
  </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>
    <SaveCustomerVip2Response xmlns="http://www.myregent.cn/">
      <SaveCustomerVip2Result>string</SaveCustomerVip2Result>
      <returnId>int</returnId>
      <returnMessage>string</returnMessage>
    </SaveCustomerVip2Response>
  </soap12:Body>
</soap12:Envelope>