Take.API

<back to all web services

RouteIDModelRequest

根据提货路线编号获取提货路线信息
RouteIDModelRequest Parameters:
NameParameterData TypeRequiredDescription
RouteIDbodystringYes路线编号
RouteModelResponse Parameters:
NameParameterData TypeRequiredDescription
RouteModelsformRouteModelYes详情
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformintYes返回编码,200之外的值都表示有错误
ErrorMsgformstringYes返回的消息
RouteModel Parameters:
NameParameterData TypeRequiredDescription
IDformintYes主键
RouteIDformstringYes路线编号
DriverIDformstringYes司机编号
WarehouseCodeformstringYes终点仓库编号
StartAddressformstringYes车辆起点地址
EndAddressformstringYes车辆终点地址
StartDTformDateTime?Yes车辆到达起点时间
EndDTformDateTime?Yes车辆到达终点时间
Statusformint?Yes路线状态(0:待确认 1:进行中 2:已完成 3:已拒绝)
RemarksformstringYes备注
CostStatusformintYes 费用确认状态(-1:司机拒绝确认 1:司机待确认,2:待请款,3:请款待审核,4:请款已拒绝,5:请款已审核,6:已请款)
BasicCostRemarkformstringNo备注
FileStatusformintYes文件状态

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: RouteIDModelRequest

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

<RouteIDModelRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WinJo.Framing.DTO">
  <RouteID>String</RouteID>
</RouteIDModelRequest>

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

<RouteModelResponse 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>
  <RouteModels>
    <BasicCostRemark>String</BasicCostRemark>
    <CostStatus>0</CostStatus>
    <DriverID>String</DriverID>
    <EndAddress>String</EndAddress>
    <EndDT>0001-01-01T00:00:00</EndDT>
    <FileStatus>0</FileStatus>
    <ID>0</ID>
    <Remarks>String</Remarks>
    <RouteID>String</RouteID>
    <StartAddress>String</StartAddress>
    <StartDT>0001-01-01T00:00:00</StartDT>
    <Status>0</Status>
    <WarehouseCode>String</WarehouseCode>
  </RouteModels>
</RouteModelResponse>

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