MyService


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

QueryPatrolSataDetailed

查询统计数据明细
参数
string Token:Token,
string RouteID:线路 ID,加密
string TypeID:查询数据类型(-1、所有数据;140、合格数据;2、漏检数据;3、待检数据;4、异常数据;),加密
string BeginDate:开始日期(格式: yyyy-MM-dd,不能为空),加密
string EndDate:结束日期(格式: yyyy-MM-dd,不能为空。查询某一天的数据,开始日期与结束日期相同),加密
string PageIndex: 页码,每页 100 条数据,页码从 0 开始,加密

返回结构:
ReturnValue<List<QueryDetailedModel>> json 字符串数据
public class ReturnValue<T>
{
    public long Result; //
    public int MaxCount;//总数
    public string Message;
    public T Values;
}

public class QueryDetailedModel
{
    public string UnsionID; //记录的唯一值
    public string RouteName; //线路名称
    public string StartTime; //计划起始时间
    public string EndTime; //计划结束时间
    public string CardNo; //地址卡卡号
    public string CardName; //地址卡名称
    public string PatrolTime; //巡检时间
    public string PatrolMan; //计划巡检人员/班组名称
    public string UserName; //实际巡检人员名称【漏检、待巡时,为空】
    public int PatrolResult; //巡检结果(-1:不再计划中,0:合格,1:误点,2:漏检,3、待检;4、异常;8、休息;)
    public int IsAgent; //是否代检(0:否;1:是;)
}

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

测试

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

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

<?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>
    <QueryPatrolSataDetailed xmlns="http://tempuri.org/">
      <Token>string</Token>
      <RouteID>string</RouteID>
      <TypeID>string</TypeID>
      <BeginDate>string</BeginDate>
      <EndDate>string</EndDate>
      <PageIndex>string</PageIndex>
    </QueryPatrolSataDetailed>
  </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>
    <QueryPatrolSataDetailedResponse xmlns="http://tempuri.org/">
      <QueryPatrolSataDetailedResult>string</QueryPatrolSataDetailedResult>
    </QueryPatrolSataDetailedResponse>
  </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>
    <QueryPatrolSataDetailed xmlns="http://tempuri.org/">
      <Token>string</Token>
      <RouteID>string</RouteID>
      <TypeID>string</TypeID>
      <BeginDate>string</BeginDate>
      <EndDate>string</EndDate>
      <PageIndex>string</PageIndex>
    </QueryPatrolSataDetailed>
  </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>
    <QueryPatrolSataDetailedResponse xmlns="http://tempuri.org/">
      <QueryPatrolSataDetailedResult>string</QueryPatrolSataDetailedResult>
    </QueryPatrolSataDetailedResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

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

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

Token=string&RouteID=string&TypeID=string&BeginDate=string&EndDate=string&PageIndex=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>