MyService


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

QueryPlanReport

查询计划报表
参数
string Token:Token,
string RouteID:线路 ID,加密
string Language:语言,加密【返回的数据中,有部分数据需要定义,非数据库数据;;需要软件接口能够返回软件的语言:zh_CN、简体中文;en、英文;……】

返回结构:
ReturnValue<List<QueryDetailedModel>> json 字符串数据
public class PlanReportModel<T>
{
    public long Result; //
    public int MaxCount;//本线路计划的个数
    public string Message;
    public T Values;
}

public class PlanReportModel
{
    public int PlanCount; //计划明细数量
    public string PlanName; //计划名称
    public string StateTime; //计划开始执行日期时间
    public List PlanDetailed; //计划明细的详细信息
}

public class PlanDetailedModel
{
    public string ModelName; //模式名称
    public string PlanTime; //计划时间段
    public string PatrolMan; //计划人员
}

返回值
Result描述
Result=0执行成功,Message为Token数据
Result=-1程序错误,Message为错误信息
Result=-2公司不存在

测试

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

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/QueryPlanReport"

<?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>
    <QueryPlanReport xmlns="http://tempuri.org/">
      <Token>string</Token>
      <RouteID>string</RouteID>
      <Language>string</Language>
    </QueryPlanReport>
  </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>
    <QueryPlanReportResponse xmlns="http://tempuri.org/">
      <QueryPlanReportResult>string</QueryPlanReportResult>
    </QueryPlanReportResponse>
  </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>
    <QueryPlanReport xmlns="http://tempuri.org/">
      <Token>string</Token>
      <RouteID>string</RouteID>
      <Language>string</Language>
    </QueryPlanReport>
  </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>
    <QueryPlanReportResponse xmlns="http://tempuri.org/">
      <QueryPlanReportResult>string</QueryPlanReportResult>
    </QueryPlanReportResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

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

GET /MyService.asmx/QueryPlanReport?Token=string&RouteID=string&Language=string 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/QueryPlanReport HTTP/1.1
Host: www.zooytech.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

Token=string&RouteID=string&Language=string
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>