/
[v2.6] Mileage

[v2.6] Mileage

Overview

This endpoint allows the user to pass information to call out to a mileage calculation solution.


POST /Mileage


 Request Body
PropertyData TypeNotes
routeTypeenum
  • Practical
  • Shortest
  • Fastest
distanceUomenum
  • Miles
  • Kilometers


 shipFrom
PropertyData TypeNotes
namestringmax length: 100
companystringmax length: 150
attentionTostringmax length: 150
addressLinesstring
citystringmax length: 150
postalCodestringmax length: 15
stateProvinceCodestringmax length: 5
countrystring
countryCodestringmax length: 5
phoneNumberstringmax length: 20
residentialboolean
taxIdstring
emailAddressstringmax length: 400
countystringmax length: 30
latitudenumberdouble
longitudenumberdouble


 identificationNumbers
PropertyData TypeNotes
vatstring
eoristring
 shipStops
PropertyData TypeNotes
namestringmax length: 100
companystringmax length: 150
attentionTostringmax length: 150
addressLinesstring
citystringmax length: 150
postalCodestringmax length: 15
stateProvinceCodestringmax length: 5
countrystring
countryCodestringmax length: 5
phoneNumberstringmax length: 20
residentialboolean
taxIdstring
emailAddressstringmax length: 400
countystringmax length: 30
latitudenumberdouble
longitudenumberdouble


 identificationNumbers
PropertyData TypeNotes
vatstring
eoristring

 Response
PropertyData TypeNotes
distanceUomenum
  • Miles
  • Kilometers
mileagenumberdouble


 legs
PropertyData TypeNotes
mileagenumberdouble


 fromAddress
PropertyData TypeNotes
namestringmax length: 100
companystringmax length: 150
attentionTostringmax length: 150
addressLinesstring
citystringmax length: 150
postalCodestringmax length: 15
stateProvinceCodestringmax length: 5
countrystring
countryCodestringmax length: 5
phoneNumberstringmax length: 20
residentialboolean
taxIdstring
emailAddressstringmax length: 400
countystringmax length: 30
latitudenumberdouble
longitudenumberdouble


 identificationNumbers
PropertyData TypeNotes
vatstring
eoristring
 toAddress
PropertyData TypeNotes
namestringmax length: 100
companystringmax length: 150
attentionTostringmax length: 150
addressLinesstring
citystringmax length: 150
postalCodestringmax length: 15
stateProvinceCodestringmax length: 5
countrystring
countryCodestringmax length: 5
phoneNumberstringmax length: 20
residentialboolean
taxIdstring
emailAddressstringmax length: 400
countystringmax length: 30
latitudenumberdouble
longitudenumberdouble


 identificationNumbers
PropertyData TypeNotes
vatstring
eoristring



Related content

Feedback

Submit feedback.