APIWebService
单击此处,获取完整的操作列表。
RelayData
中转数据:外部模式且子站未开放使用
测试
若要使用 HTTP POST 协议对操作进行测试,请单击“调用”按钮。SOAP 1.1
以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。
POST /APIWebService.asmx HTTP/1.1
Host: 116.204.98.179
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/RelayData"
<?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>
<RelayData xmlns="http://tempuri.org/">
<abilityID>string</abilityID>
<fGroupNo>string</fGroupNo>
<fSceneID>string</fSceneID>
<tGroupNo>string</tGroupNo>
<tSceneID>string</tSceneID>
<keyValue>string</keyValue>
<operType>string</operType>
<quyCndStr>string</quyCndStr>
<xmlstr>string</xmlstr>
<returnType>string</returnType>
<translateType>string</translateType>
</RelayData>
</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>
<RelayDataResponse xmlns="http://tempuri.org/">
<RelayDataResult />
</RelayDataResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。
POST /APIWebService.asmx HTTP/1.1
Host: 116.204.98.179
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>
<RelayData xmlns="http://tempuri.org/">
<abilityID>string</abilityID>
<fGroupNo>string</fGroupNo>
<fSceneID>string</fSceneID>
<tGroupNo>string</tGroupNo>
<tSceneID>string</tSceneID>
<keyValue>string</keyValue>
<operType>string</operType>
<quyCndStr>string</quyCndStr>
<xmlstr>string</xmlstr>
<returnType>string</returnType>
<translateType>string</translateType>
</RelayData>
</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>
<RelayDataResponse xmlns="http://tempuri.org/">
<RelayDataResult />
</RelayDataResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
以下是 HTTP GET 请求和响应示例。所显示的占位符需替换为实际值。
GET /APIWebService.asmx/RelayData?abilityID=string&fGroupNo=string&fSceneID=string&tGroupNo=string&tSceneID=string&keyValue=string&operType=string&quyCndStr=string&xmlstr=string&returnType=string&translateType=string HTTP/1.1 Host: 116.204.98.179
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <anyType xmlns="http://tempuri.org/" />
HTTP POST
以下是 HTTP POST 请求和响应示例。所显示的占位符需替换为实际值。
POST /APIWebService.asmx/RelayData HTTP/1.1 Host: 116.204.98.179 Content-Type: application/x-www-form-urlencoded Content-Length: length abilityID=string&fGroupNo=string&fSceneID=string&tGroupNo=string&tSceneID=string&keyValue=string&operType=string&quyCndStr=string&xmlstr=string&returnType=string&translateType=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <anyType xmlns="http://tempuri.org/" />