Take.API

<back to all web services

ExportRouteRequest

批量打印提货单数据
ExportRouteRequest Parameters:
NameParameterData TypeRequiredDescription
RouteIDbodyList<string>Yes路线编号
ExportRouteResponse Parameters:
NameParameterData TypeRequiredDescription
ExportRouteModelsformList<ExportRouteModel>Yes路线数据
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformintYes返回编码,200之外的值都表示有错误
ErrorMsgformstringYes返回的消息
ExportRouteModel Parameters:
NameParameterData TypeRequiredDescription
RouteIDformstringYes路线编号
UserNameformstringYes司机姓名
PhoneNumberformstringYes司机电话
LicenseNumberformstringYes车牌
ExportPrepareModelsformList<ExportPrepareModel>Yes路线配货数据
ExportPrepareModel Parameters:
NameParameterData TypeRequiredDescription
IDformintYes序号
BookingNumberformstringYes订单号
FbaShipmentCodeformstringYesFBA货件码
ChannelformstringYes渠道
BoxNmberformintYes总箱数
BoxWeightformfloatYes总毛重
BoxCubeformfloatYes总立方

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

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

<ExportRouteRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WinJo.Framing.DTO">
  <RouteID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </RouteID>
</ExportRouteRequest>

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

<ExportRouteResponse 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>
  <ExportRouteModels>
    <ExportRouteModel>
      <ExportPrepareModels>
        <ExportPrepareModel>
          <BookingNumber>String</BookingNumber>
          <BoxCube>0</BoxCube>
          <BoxNmber>0</BoxNmber>
          <BoxWeight>0</BoxWeight>
          <Channel>String</Channel>
          <FbaShipmentCode>String</FbaShipmentCode>
          <ID>0</ID>
        </ExportPrepareModel>
      </ExportPrepareModels>
      <LicenseNumber>String</LicenseNumber>
      <PhoneNumber>String</PhoneNumber>
      <RouteID>String</RouteID>
      <UserName>String</UserName>
    </ExportRouteModel>
  </ExportRouteModels>
</ExportRouteResponse>

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