Points of Interest API

Points-of-Interest (POI) is implemented as a REST API endpoint. The POI endpoint receives an HTTP post to this URL:

http://{WebSERVER path to POI endpoint}/api/v1/loads/poi

A load number is passed in the body of the request to make the response relative to a specific load for dispatch, pickup, or an associated less-than-load (LTL) order.

{

 "loadNumber": "1234567"

}

The API returns the POI items in Geo JSON format (to learn more, see http://geojson.org/geojson-spec.html). The response is a collection of Geo JSON features that contain an ID and the POI coordinates.

Note: The ID should be "FuelStop" and is needed for the app to show the POI.

The following POI properties are incorporated into this API for each point-of-interest (POI) and appear in the mobile app:

  • Name

  • CompanyID

  • Address

  • CustomNotes