MyService


单击此处,获取完整的操作列表。

HandlerRequestFiles

新APP上传“测温测振”“图片或视屏”文件【压缩后的zip或者rar文件】,接收后,处理

上传 测温测振 数据的 zip 文件名称:S_59933176900600EA5AN5F63FD70E7CEB1A8FB76689FC41.zip 前缀 S_ 表示测温测振数据
上传 照片视屏 数据的 zip 文件名称:P_59933176900600EA5AN5F63FD70E7CEB1A8FB76689FC41.zip 前缀 P_ 表示视屏图片

参数:
数据方式使用 form-data
string Token: Token 数据
string RouteID: 线路ID,加密
string DeviceNo: 设备编码(13800138000),加密
string ReadCradTime: 刷卡时间(非照片拍摄时间、非txt生成时间,与 1970-01-01 00:00:00 之间的毫秒数),加密
string Timezone: 时区(东八区的时区为 480),加密
返回值:
结果描述
Result=0获取成功
Result=-1错误, Message 为错误信息
Result=-2Token非法
Result=-3接收到的文件为空
Result=-4接收到的文件已经存在【这种可能性很小,主要是防止重复上传】
Result=-5文件名称,命名错误
Result=-10当前登录帐号已经在其他机器上登录
Result=-31Token 失效

测试

若要使用 HTTP POST 协议对操作进行测试,请单击“调用”按钮。

SOAP 1.1

以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。

POST /MyService.asmx HTTP/1.1
Host: www.zooytech.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/HandlerRequestFiles"

<?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>
    <HandlerRequestFiles xmlns="http://tempuri.org/" />
  </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>
    <HandlerRequestFilesResponse xmlns="http://tempuri.org/">
      <HandlerRequestFilesResult>string</HandlerRequestFilesResult>
    </HandlerRequestFilesResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。

POST /MyService.asmx HTTP/1.1
Host: www.zooytech.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>
    <HandlerRequestFiles xmlns="http://tempuri.org/" />
  </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>
    <HandlerRequestFilesResponse xmlns="http://tempuri.org/">
      <HandlerRequestFilesResult>string</HandlerRequestFilesResult>
    </HandlerRequestFilesResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

以下是 HTTP GET 请求和响应示例。所显示的占位符需替换为实际值。

GET /MyService.asmx/HandlerRequestFiles? HTTP/1.1
Host: www.zooytech.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://tempuri.org/">string</string>

HTTP POST

以下是 HTTP POST 请求和响应示例。所显示的占位符需替换为实际值。

POST /MyService.asmx/HandlerRequestFiles HTTP/1.1
Host: www.zooytech.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://tempuri.org/">string</string>