Take.API

<back to all web services

SearchDriverListRequest

分页查询司机
SearchDriverListRequest Parameters:
NameParameterData TypeRequiredDescription
FleetIDbodyintNo车队ID
DriverNamebodystringNo司机姓名
DriverTelbodystringNo司机电话
IsReceiptbodyintNo是否可接单(-1:全部 0:可以 1:不可以)
KeyWordbodystringNo检索
RequestPaging Parameters:
NameParameterData TypeRequiredDescription
PageSizeformintYes每页最多记录数(默认每页20条)
PageIndexformintYes页索引
SearchDriverListResponse Parameters:
NameParameterData TypeRequiredDescription
DriverModelsformList<DriverModel>Yes详细列表
ResponsePaging Parameters:
NameParameterData TypeRequiredDescription
PageSizeformintYes每页最多记录数
PageIndexformintYes页索引
RowCountformintYes总记录数
PageCountformintYes总页数
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformintYes返回编码,200之外的值都表示有错误
ErrorMsgformstringYes返回的消息
DriverModel Parameters:
NameParameterData TypeRequiredDescription
IDformintYes自增ID
FleetIDformintYes车队ID
FleetNameformstringYes车队名称
DriverNameformstringYes司机姓名
DriverTelformstringYes司机电话
IsReceiptformintYes是否可接单(0:可以 1:不可以)
CreateByformstringYes创建人
CreateDTformDateTimeYes创建时间
UpdateByformstringYes修改人
UpdateDTformDateTime?Yes修改时间
IsCooperationformintYes是否是合作司机(1-是,0-否)
IsPushSmsformintYes是否推送短信(1-是,0-否)

To override the Content-type in your clients, use the HTTP Accept Header, append the .soap11 suffix or ?format=soap11

HTTP + SOAP11

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /soap11 HTTP/1.1 
Host: bookinglogin.hart-worldwide.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: SearchDriverListRequest

<?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>

<SearchDriverListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WinJo.Framing.DTO">
  <PageIndex>0</PageIndex>
  <PageSize>0</PageSize>
  <DriverName>String</DriverName>
  <DriverTel>String</DriverTel>
  <FleetID>0</FleetID>
  <IsReceipt>0</IsReceipt>
  <KeyWord>String</KeyWord>
</SearchDriverListRequest>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
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>

<SearchDriverListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WinJo.Framing.DTO">
  <ErrorCode>0</ErrorCode>
  <ErrorMsg>String</ErrorMsg>
  <PageIndex>0</PageIndex>
  <PageSize>0</PageSize>
  <RowCount>0</RowCount>
  <DriverModels>
    <DriverModel>
      <CreateBy>String</CreateBy>
      <CreateDT>0001-01-01T00:00:00</CreateDT>
      <DriverName>String</DriverName>
      <DriverTel>String</DriverTel>
      <FleetID>0</FleetID>
      <FleetName>String</FleetName>
      <ID>0</ID>
      <IsCooperation>0</IsCooperation>
      <IsPushSms>0</IsPushSms>
      <IsReceipt>0</IsReceipt>
      <UpdateBy>String</UpdateBy>
      <UpdateDT>0001-01-01T00:00:00</UpdateDT>
    </DriverModel>
  </DriverModels>
</SearchDriverListResponse>

    </soap:Body>
</soap:Envelope>