RegentGeneric
单击此处,获取完整的操作列表。
GetCustomerListByUserAndMathod
得到用户能够操作的店铺(相同店铺性质)列表。
测试
测试窗体只能用于来自本地计算机的请求。SOAP 1.1
以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。
POST /myregentwebservice/RegentGeneric.asmx HTTP/1.1 Host: 110.41.14.48 Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.myregent.cn/GetCustomerListByUserAndMathod" <?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> <GetCustomerListByUserAndMathod xmlns="http://www.myregent.cn/"> <userId>string</userId> <customerId>string</customerId> <returnId>int</returnId> <returnMessage>string</returnMessage> </GetCustomerListByUserAndMathod> </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> <GetCustomerListByUserAndMathodResponse xmlns="http://www.myregent.cn/"> <GetCustomerListByUserAndMathodResult> <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> <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> </GetCustomerListByUserAndMathodResult> <returnId>int</returnId> <returnMessage>string</returnMessage> </GetCustomerListByUserAndMathodResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。
POST /myregentwebservice/RegentGeneric.asmx HTTP/1.1 Host: 110.41.14.48 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> <GetCustomerListByUserAndMathod xmlns="http://www.myregent.cn/"> <userId>string</userId> <customerId>string</customerId> <returnId>int</returnId> <returnMessage>string</returnMessage> </GetCustomerListByUserAndMathod> </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> <GetCustomerListByUserAndMathodResponse xmlns="http://www.myregent.cn/"> <GetCustomerListByUserAndMathodResult> <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> <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> </GetCustomerListByUserAndMathodResult> <returnId>int</returnId> <returnMessage>string</returnMessage> </GetCustomerListByUserAndMathodResponse> </soap12:Body> </soap12:Envelope>