Belgeler

Introduction

The Goodloading application and API can suggest recommended loading spaces (vehicles or sea containers) to users for the carriage of their cargo.

The purpose of the recommendation is to select, from the list of loading spaces specified by the user, those that will accommodate the cargo items the user has entered.

The algorithm checks which loading space is the most cost-effective for carrying out the transport. The recommendation selects the smallest possible space for the transport order and, where there is a large number of cargo items, indicates how many spaces of a given type would have to be used, e.g. over “n” trips.

The algorithm can retrieve loading spaces:

  • from the user account in the application, or
  • directly from the query (Request) – default value

depending on the setting of the “includeSavedLoadingSpaces” parameter – described in Request Body

Example

"options": {
             "includeSavedLoadingSpaces": false
           }

The parameter is optional and its default value is “false”

Parameter settings:

  • “includeSavedLoadingSpaces”: false – retrieves the loading spaces defined in the Request, described in Request Body, or
  • “includeSavedLoadingSpaces”: true – retrieves the loading spaces defined by the user in the web application

The algorithm checks which loading space is the most cost-effective for carrying out the transport. The recommendation will select the smallest possible space for the transport order and, where there is a large number of cargo items, will indicate how many vehicles are required.