BackstageWS
单击此处,获取完整的操作列表。
GetCategoryList
查询公共平台分类
测试
测试窗体只能用于使用基元类型作为参数的方法。SOAP 1.1
以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。
POST /BackstageWS.asmx HTTP/1.1 Host: qyyapi.dxda.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/GetCategoryList" <?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> <GetCategoryList xmlns="http://tempuri.org/"> <req> <type>string</type> <level>int</level> <parent_id>string</parent_id> <category_no>string</category_no> <keyword>string</keyword> <getlevel>int</getlevel> </req> <pageIndex>int</pageIndex> <pageSize>int</pageSize> </GetCategoryList> </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> <GetCategoryListResponse xmlns="http://tempuri.org/"> <GetCategoryListResult> <DataList> <p_category> <ID>int</ID> <category_no>string</category_no> <type>string</type> <description>string</description> <level>int</level> <create_time>dateTime</create_time> <edit_time>dateTime</edit_time> <parent_id>string</parent_id> <sort>int</sort> </p_category> <p_category> <ID>int</ID> <category_no>string</category_no> <type>string</type> <description>string</description> <level>int</level> <create_time>dateTime</create_time> <edit_time>dateTime</edit_time> <parent_id>string</parent_id> <sort>int</sort> </p_category> </DataList> <PageInfo> <PageSize xmlns="http://tempuri1.org/">long</PageSize> <CurrentPage xmlns="http://tempuri1.org/">long</CurrentPage> <TotleRecords xmlns="http://tempuri1.org/">long</TotleRecords> <TotlePage xmlns="http://tempuri1.org/">long</TotlePage> <MaxSelectRecords xmlns="http://tempuri1.org/">long</MaxSelectRecords> <IsFillTotleRecords xmlns="http://tempuri1.org/">boolean</IsFillTotleRecords> </PageInfo> </GetCategoryListResult> </GetCategoryListResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。
POST /BackstageWS.asmx HTTP/1.1 Host: qyyapi.dxda.com 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> <GetCategoryList xmlns="http://tempuri.org/"> <req> <type>string</type> <level>int</level> <parent_id>string</parent_id> <category_no>string</category_no> <keyword>string</keyword> <getlevel>int</getlevel> </req> <pageIndex>int</pageIndex> <pageSize>int</pageSize> </GetCategoryList> </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> <GetCategoryListResponse xmlns="http://tempuri.org/"> <GetCategoryListResult> <DataList> <p_category> <ID>int</ID> <category_no>string</category_no> <type>string</type> <description>string</description> <level>int</level> <create_time>dateTime</create_time> <edit_time>dateTime</edit_time> <parent_id>string</parent_id> <sort>int</sort> </p_category> <p_category> <ID>int</ID> <category_no>string</category_no> <type>string</type> <description>string</description> <level>int</level> <create_time>dateTime</create_time> <edit_time>dateTime</edit_time> <parent_id>string</parent_id> <sort>int</sort> </p_category> </DataList> <PageInfo> <PageSize xmlns="http://tempuri1.org/">long</PageSize> <CurrentPage xmlns="http://tempuri1.org/">long</CurrentPage> <TotleRecords xmlns="http://tempuri1.org/">long</TotleRecords> <TotlePage xmlns="http://tempuri1.org/">long</TotlePage> <MaxSelectRecords xmlns="http://tempuri1.org/">long</MaxSelectRecords> <IsFillTotleRecords xmlns="http://tempuri1.org/">boolean</IsFillTotleRecords> </PageInfo> </GetCategoryListResult> </GetCategoryListResponse> </soap12:Body> </soap12:Envelope>