RegentModule
Click here for a complete list of operations.
SaveShopSales
保存销售信息。
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 /testpos/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/SaveShopSales" <?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> <SaveShopSales xmlns="http://www.myregent.cn/"> <shopSales> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <CheckVipAmount> <CheckVipAmount> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <CheckId>string</CheckId> <Vip>string</Vip> <Amount>decimal</Amount> </CheckVipAmount> <CheckVipAmount> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <CheckId>string</CheckId> <Vip>string</Vip> <Amount>decimal</Amount> </CheckVipAmount> </CheckVipAmount> <TokenCoil> <TokenCoil> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <Number>int</Number> <TokenCoilId>string</TokenCoilId> <PaymentId>string</PaymentId> <PaymentName>string</PaymentName> <Amount>decimal</Amount> <TakeEffectDt>dateTime</TakeEffectDt> <LapseDate>dateTime</LapseDate> <CustomerDefault>string</CustomerDefault> <CustomerDefaultAbbrev>string</CustomerDefaultAbbrev> <UserId>string</UserId> <UserName>string</UserName> <InputDate>dateTime</InputDate> <Depose>boolean</Depose> <DeposeDate>dateTime</DeposeDate> <DeposeOperator>string</DeposeOperator> <DeposeOperatorName>string</DeposeOperatorName> <Posted>boolean</Posted> <PostedUser>string</PostedUser> <PostedUserName>string</PostedUserName> <PostedDate>dateTime</PostedDate> <SalesId>string</SalesId> <Discount>decimal</Discount> <CustomerId>string</CustomerId> <CustomerAbbrev>string</CustomerAbbrev> <Remark>string</Remark> <ManualId>string</ManualId> <Vip>string</Vip> <TokenCoilType>string</TokenCoilType> <LowerLimit>string</LowerLimit> <IsOverlay>boolean</IsOverlay> </TokenCoil> <TokenCoil> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <Number>int</Number> <TokenCoilId>string</TokenCoilId> <PaymentId>string</PaymentId> <PaymentName>string</PaymentName> <Amount>decimal</Amount> <TakeEffectDt>dateTime</TakeEffectDt> <LapseDate>dateTime</LapseDate> <CustomerDefault>string</CustomerDefault> <CustomerDefaultAbbrev>string</CustomerDefaultAbbrev> <UserId>string</UserId> <UserName>string</UserName> <InputDate>dateTime</InputDate> <Depose>boolean</Depose> <DeposeDate>dateTime</DeposeDate> <DeposeOperator>string</DeposeOperator> <DeposeOperatorName>string</DeposeOperatorName> <Posted>boolean</Posted> <PostedUser>string</PostedUser> <PostedUserName>string</PostedUserName> <PostedDate>dateTime</PostedDate> <SalesId>string</SalesId> <Discount>decimal</Discount> <CustomerId>string</CustomerId> <CustomerAbbrev>string</CustomerAbbrev> <Remark>string</Remark> <ManualId>string</ManualId> <Vip>string</Vip> <TokenCoilType>string</TokenCoilType> <LowerLimit>string</LowerLimit> <IsOverlay>boolean</IsOverlay> </TokenCoil> </TokenCoil> <Detail> <BillDetail> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <Integral>decimal</Integral> <GoodsId>string</GoodsId> <ColorId>string</ColorId> <GoodsLong>string</GoodsLong> <GoodsSize>string</GoodsSize> <Number>int</Number> <UnitPrice>decimal</UnitPrice> <RetailPrice>decimal</RetailPrice> <BalancePrice>decimal</BalancePrice> <FactPrice>decimal</FactPrice> <Discount>decimal</Discount> <Status>string</Status> <SalesMan>string</SalesMan> <ShouQuanRen>string</ShouQuanRen> <SizeField>string</SizeField> <Explain>string</Explain> <PurchasePrice>decimal</PurchasePrice> <ExtData>string</ExtData> <SaleTypeID>int</SaleTypeID> <ExtDataSet xsi:nil="true" /> <Barcode>string</Barcode> <Warehouse_No>string</Warehouse_No> <Pre_DiscountPrice>decimal</Pre_DiscountPrice> <SPromoInfo>string</SPromoInfo> </BillDetail> <BillDetail> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <Integral>decimal</Integral> <GoodsId>string</GoodsId> <ColorId>string</ColorId> <GoodsLong>string</GoodsLong> <GoodsSize>string</GoodsSize> <Number>int</Number> <UnitPrice>decimal</UnitPrice> <RetailPrice>decimal</RetailPrice> <BalancePrice>decimal</BalancePrice> <FactPrice>decimal</FactPrice> <Discount>decimal</Discount> <Status>string</Status> <SalesMan>string</SalesMan> <ShouQuanRen>string</ShouQuanRen> <SizeField>string</SizeField> <Explain>string</Explain> <PurchasePrice>decimal</PurchasePrice> <ExtData>string</ExtData> <SaleTypeID>int</SaleTypeID> <ExtDataSet xsi:nil="true" /> <Barcode>string</Barcode> <Warehouse_No>string</Warehouse_No> <Pre_DiscountPrice>decimal</Pre_DiscountPrice> <SPromoInfo>string</SPromoInfo> </BillDetail> </Detail> <SalesPay> <SalesPay> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <SalesId>string</SalesId> <PaymentId>string</PaymentId> <PaymentName>string</PaymentName> <PayMoney>decimal</PayMoney> <Balance>decimal</Balance> </SalesPay> <SalesPay> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <SalesId>string</SalesId> <PaymentId>string</PaymentId> <PaymentName>string</PaymentName> <PayMoney>decimal</PayMoney> <Balance>decimal</Balance> </SalesPay> </SalesPay> <ReturnTokenCoil> <string>string</string> <string>string</string> </ReturnTokenCoil> <SalesId>string</SalesId> <UserId>string</UserId> <CustomerId>string</CustomerId> <SalesDate>dateTime</SalesDate> <InputDate>dateTime</InputDate> <SalesTime>dateTime</SalesTime> <VipId>string</VipId> <PostedUser>string</PostedUser> <PostedDate>dateTime</PostedDate> <ManualId>string</ManualId> <ClassName>string</ClassName> <Remark>string</Remark> <MachineID>string</MachineID> <PaymentWay>string</PaymentWay> <PaymentWay1>string</PaymentWay1> <CounteractIntegral>decimal</CounteractIntegral> <CounteractAmount>decimal</CounteractAmount> <IntegralAmount>decimal</IntegralAmount> <UseVipSystem>boolean</UseVipSystem> <DiscountTicketID>string</DiscountTicketID> <Recheck>boolean</Recheck> <CheckScale>xmlxml</CheckScale> <IsNewVipCard>boolean</IsNewVipCard> <CheckSPromoEx>xmlxml</CheckSPromoEx> <DepositCardUse>xmlxml</DepositCardUse> <Money3>decimal</Money3> <MarketCheckID>string</MarketCheckID> <MarketVip>string</MarketVip> <MarketSPromoID>string</MarketSPromoID> <CheckOrderID>string</CheckOrderID> <Weather>string</Weather> <Temperature1>int</Temperature1> <Temperature2>int</Temperature2> <GoodsLabelBill>xmlxml</GoodsLabelBill> <CreateVipFee>decimal</CreateVipFee> <NewVip>string</NewVip> <CheckBankCardTran>xmlxml</CheckBankCardTran> <ExtData>string</ExtData> <ExtDataSet> <xsd:schema>schema</xsd:schema>xml</ExtDataSet> <RetailOrderID>string</RetailOrderID> <PaymentStatusID>int</PaymentStatusID> <Pre_DiscountPrice>decimal</Pre_DiscountPrice> <Pre_DiscountAmount>decimal</Pre_DiscountAmount> </shopSales> <returnId>int</returnId> <returnMessage>string</returnMessage> </SaveShopSales> </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> <SaveShopSalesResponse xmlns="http://www.myregent.cn/"> <SaveShopSalesResult>string</SaveShopSalesResult> <returnId>int</returnId> <returnMessage>string</returnMessage> </SaveShopSalesResponse> </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 /testpos/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> <SaveShopSales xmlns="http://www.myregent.cn/"> <shopSales> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <CheckVipAmount> <CheckVipAmount> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <CheckId>string</CheckId> <Vip>string</Vip> <Amount>decimal</Amount> </CheckVipAmount> <CheckVipAmount> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <CheckId>string</CheckId> <Vip>string</Vip> <Amount>decimal</Amount> </CheckVipAmount> </CheckVipAmount> <TokenCoil> <TokenCoil> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <Number>int</Number> <TokenCoilId>string</TokenCoilId> <PaymentId>string</PaymentId> <PaymentName>string</PaymentName> <Amount>decimal</Amount> <TakeEffectDt>dateTime</TakeEffectDt> <LapseDate>dateTime</LapseDate> <CustomerDefault>string</CustomerDefault> <CustomerDefaultAbbrev>string</CustomerDefaultAbbrev> <UserId>string</UserId> <UserName>string</UserName> <InputDate>dateTime</InputDate> <Depose>boolean</Depose> <DeposeDate>dateTime</DeposeDate> <DeposeOperator>string</DeposeOperator> <DeposeOperatorName>string</DeposeOperatorName> <Posted>boolean</Posted> <PostedUser>string</PostedUser> <PostedUserName>string</PostedUserName> <PostedDate>dateTime</PostedDate> <SalesId>string</SalesId> <Discount>decimal</Discount> <CustomerId>string</CustomerId> <CustomerAbbrev>string</CustomerAbbrev> <Remark>string</Remark> <ManualId>string</ManualId> <Vip>string</Vip> <TokenCoilType>string</TokenCoilType> <LowerLimit>string</LowerLimit> <IsOverlay>boolean</IsOverlay> </TokenCoil> <TokenCoil> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <Number>int</Number> <TokenCoilId>string</TokenCoilId> <PaymentId>string</PaymentId> <PaymentName>string</PaymentName> <Amount>decimal</Amount> <TakeEffectDt>dateTime</TakeEffectDt> <LapseDate>dateTime</LapseDate> <CustomerDefault>string</CustomerDefault> <CustomerDefaultAbbrev>string</CustomerDefaultAbbrev> <UserId>string</UserId> <UserName>string</UserName> <InputDate>dateTime</InputDate> <Depose>boolean</Depose> <DeposeDate>dateTime</DeposeDate> <DeposeOperator>string</DeposeOperator> <DeposeOperatorName>string</DeposeOperatorName> <Posted>boolean</Posted> <PostedUser>string</PostedUser> <PostedUserName>string</PostedUserName> <PostedDate>dateTime</PostedDate> <SalesId>string</SalesId> <Discount>decimal</Discount> <CustomerId>string</CustomerId> <CustomerAbbrev>string</CustomerAbbrev> <Remark>string</Remark> <ManualId>string</ManualId> <Vip>string</Vip> <TokenCoilType>string</TokenCoilType> <LowerLimit>string</LowerLimit> <IsOverlay>boolean</IsOverlay> </TokenCoil> </TokenCoil> <Detail> <BillDetail> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <Integral>decimal</Integral> <GoodsId>string</GoodsId> <ColorId>string</ColorId> <GoodsLong>string</GoodsLong> <GoodsSize>string</GoodsSize> <Number>int</Number> <UnitPrice>decimal</UnitPrice> <RetailPrice>decimal</RetailPrice> <BalancePrice>decimal</BalancePrice> <FactPrice>decimal</FactPrice> <Discount>decimal</Discount> <Status>string</Status> <SalesMan>string</SalesMan> <ShouQuanRen>string</ShouQuanRen> <SizeField>string</SizeField> <Explain>string</Explain> <PurchasePrice>decimal</PurchasePrice> <ExtData>string</ExtData> <SaleTypeID>int</SaleTypeID> <ExtDataSet xsi:nil="true" /> <Barcode>string</Barcode> <Warehouse_No>string</Warehouse_No> <Pre_DiscountPrice>decimal</Pre_DiscountPrice> <SPromoInfo>string</SPromoInfo> </BillDetail> <BillDetail> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <Integral>decimal</Integral> <GoodsId>string</GoodsId> <ColorId>string</ColorId> <GoodsLong>string</GoodsLong> <GoodsSize>string</GoodsSize> <Number>int</Number> <UnitPrice>decimal</UnitPrice> <RetailPrice>decimal</RetailPrice> <BalancePrice>decimal</BalancePrice> <FactPrice>decimal</FactPrice> <Discount>decimal</Discount> <Status>string</Status> <SalesMan>string</SalesMan> <ShouQuanRen>string</ShouQuanRen> <SizeField>string</SizeField> <Explain>string</Explain> <PurchasePrice>decimal</PurchasePrice> <ExtData>string</ExtData> <SaleTypeID>int</SaleTypeID> <ExtDataSet xsi:nil="true" /> <Barcode>string</Barcode> <Warehouse_No>string</Warehouse_No> <Pre_DiscountPrice>decimal</Pre_DiscountPrice> <SPromoInfo>string</SPromoInfo> </BillDetail> </Detail> <SalesPay> <SalesPay> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <SalesId>string</SalesId> <PaymentId>string</PaymentId> <PaymentName>string</PaymentName> <PayMoney>decimal</PayMoney> <Balance>decimal</Balance> </SalesPay> <SalesPay> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <SalesId>string</SalesId> <PaymentId>string</PaymentId> <PaymentName>string</PaymentName> <PayMoney>decimal</PayMoney> <Balance>decimal</Balance> </SalesPay> </SalesPay> <ReturnTokenCoil> <string>string</string> <string>string</string> </ReturnTokenCoil> <SalesId>string</SalesId> <UserId>string</UserId> <CustomerId>string</CustomerId> <SalesDate>dateTime</SalesDate> <InputDate>dateTime</InputDate> <SalesTime>dateTime</SalesTime> <VipId>string</VipId> <PostedUser>string</PostedUser> <PostedDate>dateTime</PostedDate> <ManualId>string</ManualId> <ClassName>string</ClassName> <Remark>string</Remark> <MachineID>string</MachineID> <PaymentWay>string</PaymentWay> <PaymentWay1>string</PaymentWay1> <CounteractIntegral>decimal</CounteractIntegral> <CounteractAmount>decimal</CounteractAmount> <IntegralAmount>decimal</IntegralAmount> <UseVipSystem>boolean</UseVipSystem> <DiscountTicketID>string</DiscountTicketID> <Recheck>boolean</Recheck> <CheckScale>xmlxml</CheckScale> <IsNewVipCard>boolean</IsNewVipCard> <CheckSPromoEx>xmlxml</CheckSPromoEx> <DepositCardUse>xmlxml</DepositCardUse> <Money3>decimal</Money3> <MarketCheckID>string</MarketCheckID> <MarketVip>string</MarketVip> <MarketSPromoID>string</MarketSPromoID> <CheckOrderID>string</CheckOrderID> <Weather>string</Weather> <Temperature1>int</Temperature1> <Temperature2>int</Temperature2> <GoodsLabelBill>xmlxml</GoodsLabelBill> <CreateVipFee>decimal</CreateVipFee> <NewVip>string</NewVip> <CheckBankCardTran>xmlxml</CheckBankCardTran> <ExtData>string</ExtData> <ExtDataSet> <xsd:schema>schema</xsd:schema>xml</ExtDataSet> <RetailOrderID>string</RetailOrderID> <PaymentStatusID>int</PaymentStatusID> <Pre_DiscountPrice>decimal</Pre_DiscountPrice> <Pre_DiscountAmount>decimal</Pre_DiscountAmount> </shopSales> <returnId>int</returnId> <returnMessage>string</returnMessage> </SaveShopSales> </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> <SaveShopSalesResponse xmlns="http://www.myregent.cn/"> <SaveShopSalesResult>string</SaveShopSalesResult> <returnId>int</returnId> <returnMessage>string</returnMessage> </SaveShopSalesResponse> </soap12:Body> </soap12:Envelope>