Take.API

<back to all web services

SearchComboboxDriverListRequest

The following routes are available for this service:
GET,POST/driver/SearchDriverList查询所有
SearchComboboxDriverListRequest Parameters:
NameParameterData TypeRequiredDescription
FleetIDbodyintNo车队ID
IsReceiptbodyintNo是否可接单(-1:全部 0:可以 1:不可以)
SearchComboboxDriverListResponse Parameters:
NameParameterData TypeRequiredDescription
DriverModelsformList<DriverModel>Yes详细列表
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 .xml suffix or ?format=xml

HTTP + XML

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

POST /xml/reply/SearchComboboxDriverListRequest HTTP/1.1 
Host: bookinglogin.hart-worldwide.com 
Content-Type: application/xml
Content-Length: length

<SearchComboboxDriverListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WinJo.Framing.DTO">
  <FleetID>0</FleetID>
  <IsReceipt>0</IsReceipt>
</SearchComboboxDriverListRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<SearchComboboxDriverListResponse 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>
  <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>
</SearchComboboxDriverListResponse>