RegentWarehouse
Click here for a complete list of operations.
GetChargesList
得到费用单列表。
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 /smpos/sposwebservice/RegentWarehouse.asmx HTTP/1.1 Host: 122.224.183.250 Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/GetChargesList" <?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://tempuri.org/"> <UserName>string</UserName> <Password>string</Password> </CredentialSoapHeader> </soap:Header> <soap:Body> <GetChargesList xmlns="http://tempuri.org/"> <filter> <CompareType>Like or Equels</CompareType> <Abbrev>string</Abbrev> <UserName>string</UserName> <PostedUserName>string</PostedUserName> <Charge_No>string</Charge_No> <Customer_ID>string</Customer_ID> <Charge_Date>dateTime</Charge_Date> <Item>string</Item> <Amount>decimal</Amount> <Remarks>string</Remarks> <Posted>boolean</Posted> <PostUser>string</PostUser> <PostedDate>dateTime</PostedDate> <Input_Date>dateTime</Input_Date> <Manual_ID>string</Manual_ID> <Modi_Date>dateTime</Modi_Date> <Operator>string</Operator> <BeginDate>dateTime</BeginDate> <BeginInputDate>dateTime</BeginInputDate> <BeginPostedDate>dateTime</BeginPostedDate> <EndDate>dateTime</EndDate> <EndInputDate>dateTime</EndInputDate> <EndPostedDate>dateTime</EndPostedDate> <PostedState>Posted or Unposted or All</PostedState> <UserNo>string</UserNo> <IsEditRight>boolean</IsEditRight> <IsContainsDownLineCust>boolean</IsContainsDownLineCust> </filter> <returnId>int</returnId> <returnMessage>string</returnMessage> </GetChargesList> </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> <GetChargesListResponse xmlns="http://tempuri.org/"> <GetChargesListResult> <Charges> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <BillDetail3> <BillDetail3 xsi:nil="true" /> <BillDetail3 xsi:nil="true" /> </BillDetail3> <BillDetail2> <BillDetail2 xsi:nil="true" /> <BillDetail2 xsi:nil="true" /> </BillDetail2> <Abbrev>string</Abbrev> <UserName>string</UserName> <PostedUserName>string</PostedUserName> <Charge_No>string</Charge_No> <Customer_ID>string</Customer_ID> <Charge_Date>dateTime</Charge_Date> <Item>string</Item> <Amount>decimal</Amount> <Remarks>string</Remarks> <Posted>boolean</Posted> <PostUser>string</PostUser> <PostedDate>dateTime</PostedDate> <Input_Date>dateTime</Input_Date> <Manual_ID>string</Manual_ID> <Modi_Date>dateTime</Modi_Date> <Operator>string</Operator> </Charges> <Charges> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <BillDetail3> <BillDetail3 xsi:nil="true" /> <BillDetail3 xsi:nil="true" /> </BillDetail3> <BillDetail2> <BillDetail2 xsi:nil="true" /> <BillDetail2 xsi:nil="true" /> </BillDetail2> <Abbrev>string</Abbrev> <UserName>string</UserName> <PostedUserName>string</PostedUserName> <Charge_No>string</Charge_No> <Customer_ID>string</Customer_ID> <Charge_Date>dateTime</Charge_Date> <Item>string</Item> <Amount>decimal</Amount> <Remarks>string</Remarks> <Posted>boolean</Posted> <PostUser>string</PostUser> <PostedDate>dateTime</PostedDate> <Input_Date>dateTime</Input_Date> <Manual_ID>string</Manual_ID> <Modi_Date>dateTime</Modi_Date> <Operator>string</Operator> </Charges> </GetChargesListResult> <returnId>int</returnId> <returnMessage>string</returnMessage> </GetChargesListResponse> </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 /smpos/sposwebservice/RegentWarehouse.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://tempuri.org/"> <UserName>string</UserName> <Password>string</Password> </CredentialSoapHeader> </soap12:Header> <soap12:Body> <GetChargesList xmlns="http://tempuri.org/"> <filter> <CompareType>Like or Equels</CompareType> <Abbrev>string</Abbrev> <UserName>string</UserName> <PostedUserName>string</PostedUserName> <Charge_No>string</Charge_No> <Customer_ID>string</Customer_ID> <Charge_Date>dateTime</Charge_Date> <Item>string</Item> <Amount>decimal</Amount> <Remarks>string</Remarks> <Posted>boolean</Posted> <PostUser>string</PostUser> <PostedDate>dateTime</PostedDate> <Input_Date>dateTime</Input_Date> <Manual_ID>string</Manual_ID> <Modi_Date>dateTime</Modi_Date> <Operator>string</Operator> <BeginDate>dateTime</BeginDate> <BeginInputDate>dateTime</BeginInputDate> <BeginPostedDate>dateTime</BeginPostedDate> <EndDate>dateTime</EndDate> <EndInputDate>dateTime</EndInputDate> <EndPostedDate>dateTime</EndPostedDate> <PostedState>Posted or Unposted or All</PostedState> <UserNo>string</UserNo> <IsEditRight>boolean</IsEditRight> <IsContainsDownLineCust>boolean</IsContainsDownLineCust> </filter> <returnId>int</returnId> <returnMessage>string</returnMessage> </GetChargesList> </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> <GetChargesListResponse xmlns="http://tempuri.org/"> <GetChargesListResult> <Charges> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <BillDetail3> <BillDetail3 xsi:nil="true" /> <BillDetail3 xsi:nil="true" /> </BillDetail3> <BillDetail2> <BillDetail2 xsi:nil="true" /> <BillDetail2 xsi:nil="true" /> </BillDetail2> <Abbrev>string</Abbrev> <UserName>string</UserName> <PostedUserName>string</PostedUserName> <Charge_No>string</Charge_No> <Customer_ID>string</Customer_ID> <Charge_Date>dateTime</Charge_Date> <Item>string</Item> <Amount>decimal</Amount> <Remarks>string</Remarks> <Posted>boolean</Posted> <PostUser>string</PostUser> <PostedDate>dateTime</PostedDate> <Input_Date>dateTime</Input_Date> <Manual_ID>string</Manual_ID> <Modi_Date>dateTime</Modi_Date> <Operator>string</Operator> </Charges> <Charges> <ObjectState>Added or Deleted or Modified or Unchanged</ObjectState> <BillDetail3> <BillDetail3 xsi:nil="true" /> <BillDetail3 xsi:nil="true" /> </BillDetail3> <BillDetail2> <BillDetail2 xsi:nil="true" /> <BillDetail2 xsi:nil="true" /> </BillDetail2> <Abbrev>string</Abbrev> <UserName>string</UserName> <PostedUserName>string</PostedUserName> <Charge_No>string</Charge_No> <Customer_ID>string</Customer_ID> <Charge_Date>dateTime</Charge_Date> <Item>string</Item> <Amount>decimal</Amount> <Remarks>string</Remarks> <Posted>boolean</Posted> <PostUser>string</PostUser> <PostedDate>dateTime</PostedDate> <Input_Date>dateTime</Input_Date> <Manual_ID>string</Manual_ID> <Modi_Date>dateTime</Modi_Date> <Operator>string</Operator> </Charges> </GetChargesListResult> <returnId>int</returnId> <returnMessage>string</returnMessage> </GetChargesListResponse> </soap12:Body> </soap12:Envelope>