API reference

RoutiGo Core REST API

Version 1.0Base URL https://api.routigo.com/api/v1Format JSONSpec OpenAPI 3.0.1 · download

Authentication: API key or Bearer token

Send your key in the X-API-KEY header with every call.

Send a token in the Authorization: Bearer header.

How to get a key →

15 calls

Shipments

RoutiGo Core REST API · Shipments↑ Index

Create a shipment within the RoutiGo system

POST/shipment

Request body required

InputShipment
idoptional
string

An identifier for a given shipment. Identifier should contain between 8 and 80 characters, using only letters, numbers, dashes, and underscores.

e.g. 91a34a3e-6e84-11ee-b962-0242ac120002

scheduledDeliveryDaterequired
string· date

The day at which the shipment should take place (full-date notation as defined by RFC 3339, section 5.6)

e.g. 2023-08-10

pickUpLocationoptional
InputShipmentLocation 9 fields
identifieroptional
string

A unique identifier of the shipment. Identifier should contain between 8 and 80 characters, using only letters, numbers, dashes, and underscores.

e.g. 35463906-d19e-485d-9976-6e896046c685

addressInformationrequired
Address 8 fields

An objecting holding all information related to a single location

streetNameoptional
string

Indicates the precise street name

e.g. Bisonspoor

houseNumberrequired
string

Indicates the precise house number

e.g. 8006

houseNumberAdditionoptional
string

Indicates the precise house number addition

e.g. A

postcoderequired
string

Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces

e.g. 1234 AB

cityNameoptional
string

Indicates an incorporated city or town political entity

e.g. Maarsen

countryCoderequired
string

The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries

default NLe.g. NL

geolocationrequired
Geolocation 3 fields

The lat/lng of a location

latituderequired
number· double

The latitude of the location

e.g. 52.137105

longituderequired
number· double

The longitude of the location

e.g. 5.029677

courseoptional
number· double

The course of the location

e.g. 42.42

inZeroEmissionZoneoptional
boolean

Flag indicating if the address is within a zero emission zone

durationrequired
object 5 fields

The duration of the shipment.

e.g. PT30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
timeWindowsrequired
TimeWindow [ ] 3 fields

The time windows specify the time limitations for the driver's arrival at the location.

afteroptional
object 5 fields

The earliest time the driver is allowed to arrive at the location

e.g. PT09H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
beforeoptional
object 5 fields

The latest time the driver is allowed to arrive at the location

e.g. PT11H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
typerequired
stringPROPOSEDAREA_RESTRICTIONCONTRACTCOMMUNICATEDUNDEFINEDCONTRACTCOMMUNICATEDAREA_RESTRICTION

An enum indicating the type of time constraint

default CONTRACTe.g. CONTRACT

timeRestrictionsrequired
TimeRestriction [ ] 3 fields

The time restrictions specify when the driver's can not arrive at the location.

startrequired
object 5 fields

The start time of the restriction

e.g. PT09H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
endrequired
object 5 fields

The end time of the restriction

e.g. PT11H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
typerequired
stringAREA_RESTRICTIONUNDEFINEDAREA_RESTRICTIONUNKNOWN

An enum indicating the type of time restriction

default AREA_RESTRICTIONe.g. AREA_RESTRICTION

tasksrequired
Task [ ] 2 fields
descriptionrequired
string
mandatoryrequired
boolean
onRouteInstructionsoptional
string

An optional remark field where on route instructions can be placed. It will be shown to the courier while he is driving to this location.

e.g. The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.

onSiteInstructionsoptional
string

An optional remark field where on site instructions can be placed. It will be shown to the courier while he is driving to this location.

e.g. This customer has ordered a meal for the first time; introduce them to our concept and hand over a discount for the next order.

interactionsrequired
Interactions 1 field

Within RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.

alcoholCheckRequiredrequired
boolean

Indicates if an alcohol check should be performed

default falsee.g. true

deliveryLocationoptional
InputShipmentLocation 9 fields
identifieroptional
string

A unique identifier of the shipment. Identifier should contain between 8 and 80 characters, using only letters, numbers, dashes, and underscores.

e.g. 35463906-d19e-485d-9976-6e896046c685

addressInformationrequired
Address 8 fields

An objecting holding all information related to a single location

streetNameoptional
string

Indicates the precise street name

e.g. Bisonspoor

houseNumberrequired
string

Indicates the precise house number

e.g. 8006

houseNumberAdditionoptional
string

Indicates the precise house number addition

e.g. A

postcoderequired
string

Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces

e.g. 1234 AB

cityNameoptional
string

Indicates an incorporated city or town political entity

e.g. Maarsen

countryCoderequired
string

The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries

default NLe.g. NL

geolocationrequired
Geolocation 3 fields

The lat/lng of a location

latituderequired
number· double

The latitude of the location

e.g. 52.137105

longituderequired
number· double

The longitude of the location

e.g. 5.029677

courseoptional
number· double

The course of the location

e.g. 42.42

inZeroEmissionZoneoptional
boolean

Flag indicating if the address is within a zero emission zone

durationrequired
object 5 fields

The duration of the shipment.

e.g. PT30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
timeWindowsrequired
TimeWindow [ ] 3 fields

The time windows specify the time limitations for the driver's arrival at the location.

afteroptional
object 5 fields

The earliest time the driver is allowed to arrive at the location

e.g. PT09H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
beforeoptional
object 5 fields

The latest time the driver is allowed to arrive at the location

e.g. PT11H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
typerequired
stringPROPOSEDAREA_RESTRICTIONCONTRACTCOMMUNICATEDUNDEFINEDCONTRACTCOMMUNICATEDAREA_RESTRICTION

An enum indicating the type of time constraint

default CONTRACTe.g. CONTRACT

timeRestrictionsrequired
TimeRestriction [ ] 3 fields

The time restrictions specify when the driver's can not arrive at the location.

startrequired
object 5 fields

The start time of the restriction

e.g. PT09H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
endrequired
object 5 fields

The end time of the restriction

e.g. PT11H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
typerequired
stringAREA_RESTRICTIONUNDEFINEDAREA_RESTRICTIONUNKNOWN

An enum indicating the type of time restriction

default AREA_RESTRICTIONe.g. AREA_RESTRICTION

tasksrequired
Task [ ] 2 fields
descriptionrequired
string
mandatoryrequired
boolean
onRouteInstructionsoptional
string

An optional remark field where on route instructions can be placed. It will be shown to the courier while he is driving to this location.

e.g. The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.

onSiteInstructionsoptional
string

An optional remark field where on site instructions can be placed. It will be shown to the courier while he is driving to this location.

e.g. This customer has ordered a meal for the first time; introduce them to our concept and hand over a discount for the next order.

interactionsrequired
Interactions 1 field

Within RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.

alcoholCheckRequiredrequired
boolean

Indicates if an alcohol check should be performed

default falsee.g. true

supplieroptional
Supplier 2 fields

The supplier is a person, company, or organization selling/sending goods, equipment or services to customers. This field can be used to differentiate between various parties (e.g. restaurants, webshops, merchants) that deliver goods to a transport company.

identifierrequired
string

The technical code identifier. Usually this is a customer identifier or code. This code should be unique, because later this identifier can be used to retrieve all shipments for a single supplier.

e.g. ABS

namerequired
string

The human readable description of the supplier, which can be used in communication with the receiver e.g.

e.g. A Banana Store

routerequired
AssignedRoute 5 fields
identifierrequired
string

A unique identifier for the tour

e.g. 23487234-7623476236-B76

namerequired
string

The name of the tour

e.g. Ingeladen-1

serviceCentreCoderequired
string

A unique identifier for the SVC

e.g. AMS

serviceCentreNameoptional
string

SVC name

e.g. Amsterdam

assignedTooptional
AssignedUser 3 fields

The assigned courier

userNamerequired
string

The username of the user

e.g. random-user@routigo.com

firstNameoptional
string

The first name of the user

e.g. Jaap

lastNameoptional
string

The last name of the user

e.g. Janssen

unitsoptional
Unit [ ] 3 fields
namerequired
string

A human readable description of the unit that needs to be picked up or delivered

e.g. BOX 1 - Bananas, apples and oranges

amountrequired
number· double

A number, describing the number of items that need to be picked up or delivered

e.g. 123

tagsoptional
PhysicalTag [ ] 2 fields

A set of physical tags that can be scanned to identify this unit

identifierrequired
string

The unique identifier for the physical tag

e.g. 762347623469

typerequired
stringBARCODENFCBLE

A type indicating the type of the physical tag

e.g. BARCODE

tagsoptional
PhysicalTag [ ] 2 fields

A set of physical tags

identifierrequired
string

The unique identifier for the physical tag

e.g. 762347623469

typerequired
stringBARCODENFCBLE

A type indicating the type of the physical tag

e.g. BARCODE

customFieldsoptional
map ofJsonNode

A map of custom key-value fields to persist with this shipment. Keys must not exceed 255 characters.

Returns

The shipment has been accepted and successfully added.

no body

No response body. A 201 status is the confirmation.

RoutiGo Core REST API · Shipments↑ Index

Retrieve a shipment by its id

GET/shipment/{id}

Parameters

Path
idrequired
string

A shipment ID

Returns

The shipment has been successfully retrieved.

Shipment
identifierrequired
string

An identifier for a given shipment

e.g. ASJHD-ASDJH-71235

externalIdrequired
string

An identifier provided by the user of RoutiGo, this identifier is unique per day

e.g. ASSIGNMENT-76

planDaterequired
string· date

The day at which the shipment should take place (full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21)

e.g. 2019-11-30

assignedRouteoptional
AssignedRoute 5 fields
identifierrequired
string

A unique identifier for the tour

e.g. 23487234-7623476236-B76

namerequired
string

The name of the tour

e.g. Ingeladen-1

serviceCentreCoderequired
string

A unique identifier for the SVC

e.g. AMS

serviceCentreNameoptional
string

SVC name

e.g. Amsterdam

assignedTooptional
AssignedUser 3 fields

The assigned courier

userNamerequired
string

The username of the user

e.g. random-user@routigo.com

firstNameoptional
string

The first name of the user

e.g. Jaap

lastNameoptional
string

The last name of the user

e.g. Janssen

pickUpLocationoptional
ShipmentLocation 15 fields
durationrequired
object 5 fields

The amount of time we expect to spend at the location for this shipment

e.g. PT0H5M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
originalAddressoptional
Address 8 fields

An objecting holding all information related to a single location

streetNameoptional
string

Indicates the precise street name

e.g. Bisonspoor

houseNumberrequired
string

Indicates the precise house number

e.g. 8006

houseNumberAdditionoptional
string

Indicates the precise house number addition

e.g. A

postcoderequired
string

Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces

e.g. 1234 AB

cityNameoptional
string

Indicates an incorporated city or town political entity

e.g. Maarsen

countryCoderequired
string

The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries

default NLe.g. NL

geolocationrequired
Geolocation 3 fields

The lat/lng of a location

latituderequired
number· double

The latitude of the location

e.g. 52.137105

longituderequired
number· double

The longitude of the location

e.g. 5.029677

courseoptional
number· double

The course of the location

e.g. 42.42

inZeroEmissionZoneoptional
boolean

Flag indicating if the address is within a zero emission zone

addressInformationoptional
Address 8 fields

An objecting holding all information related to a single location

streetNameoptional
string

Indicates the precise street name

e.g. Bisonspoor

houseNumberrequired
string

Indicates the precise house number

e.g. 8006

houseNumberAdditionoptional
string

Indicates the precise house number addition

e.g. A

postcoderequired
string

Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces

e.g. 1234 AB

cityNameoptional
string

Indicates an incorporated city or town political entity

e.g. Maarsen

countryCoderequired
string

The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries

default NLe.g. NL

geolocationrequired
Geolocation 3 fields

The lat/lng of a location

latituderequired
number· double

The latitude of the location

e.g. 52.137105

longituderequired
number· double

The longitude of the location

e.g. 5.029677

courseoptional
number· double

The course of the location

e.g. 42.42

inZeroEmissionZoneoptional
boolean

Flag indicating if the address is within a zero emission zone

interactionsrequired
Interactions 1 field

Within RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.

alcoholCheckRequiredrequired
boolean

Indicates if an alcohol check should be performed

default falsee.g. true

remarkoptionalDeprecated
string

Deprecated, use the onSiteInstructions field instead.

etaoptional
string· date-time

the estimated time of arrival

customerTrackingIdrequired
string

Identifier used to find tracking information as send to the receiver

e.g. 757e7190-f6c2-4732-8f94-2eab426ed020

onRouteInstructionsoptional
string

An optional remark field where on route instructions can be placed. These will be shown to the courier while he is driving to this location.

e.g. The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.

onSiteInstructionsoptional
string

An optional remark field where on site instructions can be placed. These will be shown to the courier while he is driving to this location. This field was formerly known as remark.

e.g. This customer has ordered a meal for the first time; introduce them to our concept and hand over a discount for the next order

clientInstructionsoptional
ClientInstruction [ ] 5 fields
creationMomentrequired
string· date-time

The moment at which the instruction was set, presented in ISO 8601 datetime with time zone format

e.g. 2024-01-01T14:26:51Z

instructionoptionalDeprecated
string

The actual instruction the client set.

e.g. If I'm not at home, you can leave it at the door.

instructionTypeoptional
stringNOT_HOMELEAVE_AT_NEIGHBOURSLEAVE_IN_SAFE_PLACE

This class specifies the preferred action to be taken by the courier if the client is unavailable at the delivery address or notifies that he/she is not at home. Instruction types include not at home remark, leaving the parcel at the neighbours and leaving the parcel in the safe space.

e.g. LEAVE_AT_NEIGHBOURS

detailsoptional
string

If the client chooses LEAVE_AT_NEIGHBOURS or LEAVE_IN_SAFE_PLACE delivery, he/she must provide a specific neighbour's address or the designated location accordingly.

e.g. Please, leave my parcel with the neighbours: Wibautstraat 123.

additionalMessageoptional
string

An optional field for any other details.

e.g. Please, do NOT leave parcels in the bin.

timeConstraintsoptional
TimeConstraint [ ] 3 fields
deliverAfteroptional
string· date-time

The earliest time the driver is allowed to arrive at the location

deliverBeforeoptional
string· date-time

The latest time the driver is allowed to arrive at the location

typerequired
stringPROPOSEDAREA_RESTRICTIONCONTRACTCOMMUNICATEDUNDEFINED

An enum indicating the type of time constraint

e.g. PROPOSED

timeRestrictionsoptional
TimeRestriction [ ] 3 fields
startrequired
object 5 fields

The start time of the restriction

e.g. PT09H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
endrequired
object 5 fields

The end time of the restriction

e.g. PT11H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
typerequired
stringAREA_RESTRICTIONUNDEFINEDAREA_RESTRICTIONUNKNOWN

An enum indicating the type of time restriction

default AREA_RESTRICTIONe.g. AREA_RESTRICTION

contactInformationoptional
ContactInformation [ ] 4 fields
nameoptional
string

The name of the contact person

e.g. Jan-Johan Janssen

emailoptional
string

The email-address used to send out emails regarding updates on the visit

e.g. no-reply@routigo.com

mobilePhoneoptional
string

The phone number used to send out text messages regarding updates on the visit

e.g. +31612345678

languageoptional
string

The customer language used for communication. Default NL.Described using: ISO 639-1:2002, Codes for the representation of names of languages

e.g. NL

completionDataoptional
CompletionData 3 fields

All data about the completion of a single assignment

timerequired
string· date-time

The time at which the assignment was marked as arrived

locationoptional
Geolocation 3 fields

The lat/lng of a location

latituderequired
number· double

The latitude of the location

e.g. 52.137105

longituderequired
number· double

The longitude of the location

e.g. 5.029677

courseoptional
number· double

The course of the location

e.g. 42.42

courierUsernameoptional
string

The username of the courier that arrived at this assignment.

e.g. random-user@routigo.com

arrivalDataoptional
CompletionData 3 fields

All data about the completion of a single assignment

timerequired
string· date-time

The time at which the assignment was marked as arrived

locationoptional
Geolocation 3 fields

The lat/lng of a location

latituderequired
number· double

The latitude of the location

e.g. 52.137105

longituderequired
number· double

The longitude of the location

e.g. 5.029677

courseoptional
number· double

The course of the location

e.g. 42.42

courierUsernameoptional
string

The username of the courier that arrived at this assignment.

e.g. random-user@routigo.com

deliveryLocationoptional
ShipmentLocation 15 fields
durationrequired
object 5 fields

The amount of time we expect to spend at the location for this shipment

e.g. PT0H5M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
originalAddressoptional
Address 8 fields

An objecting holding all information related to a single location

streetNameoptional
string

Indicates the precise street name

e.g. Bisonspoor

houseNumberrequired
string

Indicates the precise house number

e.g. 8006

houseNumberAdditionoptional
string

Indicates the precise house number addition

e.g. A

postcoderequired
string

Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces

e.g. 1234 AB

cityNameoptional
string

Indicates an incorporated city or town political entity

e.g. Maarsen

countryCoderequired
string

The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries

default NLe.g. NL

geolocationrequired
Geolocation 3 fields

The lat/lng of a location

latituderequired
number· double

The latitude of the location

e.g. 52.137105

longituderequired
number· double

The longitude of the location

e.g. 5.029677

courseoptional
number· double

The course of the location

e.g. 42.42

inZeroEmissionZoneoptional
boolean

Flag indicating if the address is within a zero emission zone

addressInformationoptional
Address 8 fields

An objecting holding all information related to a single location

streetNameoptional
string

Indicates the precise street name

e.g. Bisonspoor

houseNumberrequired
string

Indicates the precise house number

e.g. 8006

houseNumberAdditionoptional
string

Indicates the precise house number addition

e.g. A

postcoderequired
string

Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces

e.g. 1234 AB

cityNameoptional
string

Indicates an incorporated city or town political entity

e.g. Maarsen

countryCoderequired
string

The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries

default NLe.g. NL

geolocationrequired
Geolocation 3 fields

The lat/lng of a location

latituderequired
number· double

The latitude of the location

e.g. 52.137105

longituderequired
number· double

The longitude of the location

e.g. 5.029677

courseoptional
number· double

The course of the location

e.g. 42.42

inZeroEmissionZoneoptional
boolean

Flag indicating if the address is within a zero emission zone

interactionsrequired
Interactions 1 field

Within RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.

alcoholCheckRequiredrequired
boolean

Indicates if an alcohol check should be performed

default falsee.g. true

remarkoptionalDeprecated
string

Deprecated, use the onSiteInstructions field instead.

etaoptional
string· date-time

the estimated time of arrival

customerTrackingIdrequired
string

Identifier used to find tracking information as send to the receiver

e.g. 757e7190-f6c2-4732-8f94-2eab426ed020

onRouteInstructionsoptional
string

An optional remark field where on route instructions can be placed. These will be shown to the courier while he is driving to this location.

e.g. The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.

onSiteInstructionsoptional
string

An optional remark field where on site instructions can be placed. These will be shown to the courier while he is driving to this location. This field was formerly known as remark.

e.g. This customer has ordered a meal for the first time; introduce them to our concept and hand over a discount for the next order

clientInstructionsoptional
ClientInstruction [ ] 5 fields
creationMomentrequired
string· date-time

The moment at which the instruction was set, presented in ISO 8601 datetime with time zone format

e.g. 2024-01-01T14:26:51Z

instructionoptionalDeprecated
string

The actual instruction the client set.

e.g. If I'm not at home, you can leave it at the door.

instructionTypeoptional
stringNOT_HOMELEAVE_AT_NEIGHBOURSLEAVE_IN_SAFE_PLACE

This class specifies the preferred action to be taken by the courier if the client is unavailable at the delivery address or notifies that he/she is not at home. Instruction types include not at home remark, leaving the parcel at the neighbours and leaving the parcel in the safe space.

e.g. LEAVE_AT_NEIGHBOURS

detailsoptional
string

If the client chooses LEAVE_AT_NEIGHBOURS or LEAVE_IN_SAFE_PLACE delivery, he/she must provide a specific neighbour's address or the designated location accordingly.

e.g. Please, leave my parcel with the neighbours: Wibautstraat 123.

additionalMessageoptional
string

An optional field for any other details.

e.g. Please, do NOT leave parcels in the bin.

timeConstraintsoptional
TimeConstraint [ ] 3 fields
deliverAfteroptional
string· date-time

The earliest time the driver is allowed to arrive at the location

deliverBeforeoptional
string· date-time

The latest time the driver is allowed to arrive at the location

typerequired
stringPROPOSEDAREA_RESTRICTIONCONTRACTCOMMUNICATEDUNDEFINED

An enum indicating the type of time constraint

e.g. PROPOSED

timeRestrictionsoptional
TimeRestriction [ ] 3 fields
startrequired
object 5 fields

The start time of the restriction

e.g. PT09H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
endrequired
object 5 fields

The end time of the restriction

e.g. PT11H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
typerequired
stringAREA_RESTRICTIONUNDEFINEDAREA_RESTRICTIONUNKNOWN

An enum indicating the type of time restriction

default AREA_RESTRICTIONe.g. AREA_RESTRICTION

contactInformationoptional
ContactInformation [ ] 4 fields
nameoptional
string

The name of the contact person

e.g. Jan-Johan Janssen

emailoptional
string

The email-address used to send out emails regarding updates on the visit

e.g. no-reply@routigo.com

mobilePhoneoptional
string

The phone number used to send out text messages regarding updates on the visit

e.g. +31612345678

languageoptional
string

The customer language used for communication. Default NL.Described using: ISO 639-1:2002, Codes for the representation of names of languages

e.g. NL

completionDataoptional
CompletionData 3 fields

All data about the completion of a single assignment

timerequired
string· date-time

The time at which the assignment was marked as arrived

locationoptional
Geolocation 3 fields

The lat/lng of a location

latituderequired
number· double

The latitude of the location

e.g. 52.137105

longituderequired
number· double

The longitude of the location

e.g. 5.029677

courseoptional
number· double

The course of the location

e.g. 42.42

courierUsernameoptional
string

The username of the courier that arrived at this assignment.

e.g. random-user@routigo.com

arrivalDataoptional
CompletionData 3 fields

All data about the completion of a single assignment

timerequired
string· date-time

The time at which the assignment was marked as arrived

locationoptional
Geolocation 3 fields

The lat/lng of a location

latituderequired
number· double

The latitude of the location

e.g. 52.137105

longituderequired
number· double

The longitude of the location

e.g. 5.029677

courseoptional
number· double

The course of the location

e.g. 42.42

courierUsernameoptional
string

The username of the courier that arrived at this assignment.

e.g. random-user@routigo.com

supplieroptional
Supplier 2 fields

The supplier is a person, company, or organization selling/sending goods, equipment or services to customers. This field can be used to differentiate between various parties (e.g. restaurants, webshops, merchants) that deliver goods to a transport company.

identifierrequired
string

The technical code identifier. Usually this is a customer identifier or code. This code should be unique, because later this identifier can be used to retrieve all shipments for a single supplier.

e.g. ABS

namerequired
string

The human readable description of the supplier, which can be used in communication with the receiver e.g.

e.g. A Banana Store

unitoptional
Unit [ ] 3 fields
namerequired
string

A human readable description of the unit that needs to be picked up or delivered

e.g. BOX 1 - Bananas, apples and oranges

amountrequired
number· double

A number, describing the number of items that need to be picked up or delivered

e.g. 123

tagsoptional
PhysicalTag [ ] 2 fields

A set of physical tags that can be scanned to identify this unit

identifierrequired
string

The unique identifier for the physical tag

e.g. 762347623469

typerequired
stringBARCODENFCBLE

A type indicating the type of the physical tag

e.g. BARCODE

physicalTagoptional
PhysicalTag [ ] 2 fields
identifierrequired
string

The unique identifier for the physical tag

e.g. 762347623469

typerequired
stringBARCODENFCBLE

A type indicating the type of the physical tag

e.g. BARCODE

customFieldsoptional
map ofJsonNode
Example response · 200
{
  "identifier": "a4a1ebf3-c2d8-4f18-9a86-58621de05448",
  "externalId": "3159af5d-f910-4e79-984a-bf4e0423410c",
  "planDate": "2023-10-19",
  "assignedRoute": {
    "identifier": "DEMEERN|Rit|02|20231019",
    "name": "Rit-02",
    "serviceCentreCode": "DEMEERN",
    "serviceCentreName": "De Meern",
    "assignedTo": null
  },
  "pickUpLocation": null,
  "deliveryLocation": {
    "duration": "PT5M",
    "addressInformation": {
      "streetName": "Bisonspoor",
      "houseNumber": "3002A-901",
      "houseNumberAddition": null,
      "postcode": "3605LT",
      "cityName": "Maarssen",
      "countryCode": "NL",
      "geolocation": {
        "latitude": 52.1353694,
        "longitude": 5.0303715,
        "course": null
      }
    },
    "interactions": {
      "alcoholCheckRequired": false,
      "paymentRequired": {
        "currency": "EUR",
        "amount": 50
      }
    },
    "remark": "The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.\n\nThis customer has ordered a meal for the first time. Please, introduce them to our concept and hand over a discount for the next order.",
    "eta": "2023-12-20T15:11:57.901+01:00",
    "customerTrackingId": "0edd3699ffc2445aa87c94a9a8028249",
    "onRouteInstructions": "The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.",
    "onSiteInstructions": "This customer has ordered a meal for the first time. Please, introduce them to our concept and hand over a discount for the next order.",
    "timeConstraints": [
      {
        "deliverAfter": "2023-12-20T08:00:00+01:00",
        "deliverBefore": "2023-12-20T12:00:00+01:00",
        "type": "CONTRACT"
      }
    ],
    "contactInformation": [
      {
        "name": "Routigo",
        "email": null,
        "mobilePhone": null,
        "language": null
      }
    ],
    "completionData": null
  },
  "supplier": null,
  "unit": null,
  "physicalTag": []
}

RoutiGo Core REST API · Shipments↑ Index

Update a shipment by its id

PUT/shipment/{id}

Parameters

Path
idrequired
string

A shipment ID

Request body required

ShipmentUpdateDto
scheduledDeliveryDaterequired
string· date

The day at which the shipment should take place (full-date notation as defined by RFC 3339, section 5.6)

e.g. 2023-08-10

pickUpLocationoptional
InputShipmentLocation 9 fields
identifieroptional
string

A unique identifier of the shipment. Identifier should contain between 8 and 80 characters, using only letters, numbers, dashes, and underscores.

e.g. 35463906-d19e-485d-9976-6e896046c685

addressInformationrequired
Address 8 fields

An objecting holding all information related to a single location

streetNameoptional
string

Indicates the precise street name

e.g. Bisonspoor

houseNumberrequired
string

Indicates the precise house number

e.g. 8006

houseNumberAdditionoptional
string

Indicates the precise house number addition

e.g. A

postcoderequired
string

Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces

e.g. 1234 AB

cityNameoptional
string

Indicates an incorporated city or town political entity

e.g. Maarsen

countryCoderequired
string

The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries

default NLe.g. NL

geolocationrequired
Geolocation 3 fields

The lat/lng of a location

latituderequired
number· double

The latitude of the location

e.g. 52.137105

longituderequired
number· double

The longitude of the location

e.g. 5.029677

courseoptional
number· double

The course of the location

e.g. 42.42

inZeroEmissionZoneoptional
boolean

Flag indicating if the address is within a zero emission zone

durationrequired
object 5 fields

The duration of the shipment.

e.g. PT30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
timeWindowsrequired
TimeWindow [ ] 3 fields

The time windows specify the time limitations for the driver's arrival at the location.

afteroptional
object 5 fields

The earliest time the driver is allowed to arrive at the location

e.g. PT09H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
beforeoptional
object 5 fields

The latest time the driver is allowed to arrive at the location

e.g. PT11H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
typerequired
stringPROPOSEDAREA_RESTRICTIONCONTRACTCOMMUNICATEDUNDEFINEDCONTRACTCOMMUNICATEDAREA_RESTRICTION

An enum indicating the type of time constraint

default CONTRACTe.g. CONTRACT

timeRestrictionsrequired
TimeRestriction [ ] 3 fields

The time restrictions specify when the driver's can not arrive at the location.

startrequired
object 5 fields

The start time of the restriction

e.g. PT09H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
endrequired
object 5 fields

The end time of the restriction

e.g. PT11H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
typerequired
stringAREA_RESTRICTIONUNDEFINEDAREA_RESTRICTIONUNKNOWN

An enum indicating the type of time restriction

default AREA_RESTRICTIONe.g. AREA_RESTRICTION

tasksrequired
Task [ ] 2 fields
descriptionrequired
string
mandatoryrequired
boolean
onRouteInstructionsoptional
string

An optional remark field where on route instructions can be placed. It will be shown to the courier while he is driving to this location.

e.g. The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.

onSiteInstructionsoptional
string

An optional remark field where on site instructions can be placed. It will be shown to the courier while he is driving to this location.

e.g. This customer has ordered a meal for the first time; introduce them to our concept and hand over a discount for the next order.

interactionsrequired
Interactions 1 field

Within RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.

alcoholCheckRequiredrequired
boolean

Indicates if an alcohol check should be performed

default falsee.g. true

deliveryLocationoptional
InputShipmentLocation 9 fields
identifieroptional
string

A unique identifier of the shipment. Identifier should contain between 8 and 80 characters, using only letters, numbers, dashes, and underscores.

e.g. 35463906-d19e-485d-9976-6e896046c685

addressInformationrequired
Address 8 fields

An objecting holding all information related to a single location

streetNameoptional
string

Indicates the precise street name

e.g. Bisonspoor

houseNumberrequired
string

Indicates the precise house number

e.g. 8006

houseNumberAdditionoptional
string

Indicates the precise house number addition

e.g. A

postcoderequired
string

Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces

e.g. 1234 AB

cityNameoptional
string

Indicates an incorporated city or town political entity

e.g. Maarsen

countryCoderequired
string

The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries

default NLe.g. NL

geolocationrequired
Geolocation 3 fields

The lat/lng of a location

latituderequired
number· double

The latitude of the location

e.g. 52.137105

longituderequired
number· double

The longitude of the location

e.g. 5.029677

courseoptional
number· double

The course of the location

e.g. 42.42

inZeroEmissionZoneoptional
boolean

Flag indicating if the address is within a zero emission zone

durationrequired
object 5 fields

The duration of the shipment.

e.g. PT30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
timeWindowsrequired
TimeWindow [ ] 3 fields

The time windows specify the time limitations for the driver's arrival at the location.

afteroptional
object 5 fields

The earliest time the driver is allowed to arrive at the location

e.g. PT09H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
beforeoptional
object 5 fields

The latest time the driver is allowed to arrive at the location

e.g. PT11H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
typerequired
stringPROPOSEDAREA_RESTRICTIONCONTRACTCOMMUNICATEDUNDEFINEDCONTRACTCOMMUNICATEDAREA_RESTRICTION

An enum indicating the type of time constraint

default CONTRACTe.g. CONTRACT

timeRestrictionsrequired
TimeRestriction [ ] 3 fields

The time restrictions specify when the driver's can not arrive at the location.

startrequired
object 5 fields

The start time of the restriction

e.g. PT09H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
endrequired
object 5 fields

The end time of the restriction

e.g. PT11H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
typerequired
stringAREA_RESTRICTIONUNDEFINEDAREA_RESTRICTIONUNKNOWN

An enum indicating the type of time restriction

default AREA_RESTRICTIONe.g. AREA_RESTRICTION

tasksrequired
Task [ ] 2 fields
descriptionrequired
string
mandatoryrequired
boolean
onRouteInstructionsoptional
string

An optional remark field where on route instructions can be placed. It will be shown to the courier while he is driving to this location.

e.g. The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.

onSiteInstructionsoptional
string

An optional remark field where on site instructions can be placed. It will be shown to the courier while he is driving to this location.

e.g. This customer has ordered a meal for the first time; introduce them to our concept and hand over a discount for the next order.

interactionsrequired
Interactions 1 field

Within RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.

alcoholCheckRequiredrequired
boolean

Indicates if an alcohol check should be performed

default falsee.g. true

supplieroptional
Supplier 2 fields

The supplier is a person, company, or organization selling/sending goods, equipment or services to customers. This field can be used to differentiate between various parties (e.g. restaurants, webshops, merchants) that deliver goods to a transport company.

identifierrequired
string

The technical code identifier. Usually this is a customer identifier or code. This code should be unique, because later this identifier can be used to retrieve all shipments for a single supplier.

e.g. ABS

namerequired
string

The human readable description of the supplier, which can be used in communication with the receiver e.g.

e.g. A Banana Store

routerequired
AssignedRoute 5 fields
identifierrequired
string

A unique identifier for the tour

e.g. 23487234-7623476236-B76

namerequired
string

The name of the tour

e.g. Ingeladen-1

serviceCentreCoderequired
string

A unique identifier for the SVC

e.g. AMS

serviceCentreNameoptional
string

SVC name

e.g. Amsterdam

assignedTooptional
AssignedUser 3 fields

The assigned courier

userNamerequired
string

The username of the user

e.g. random-user@routigo.com

firstNameoptional
string

The first name of the user

e.g. Jaap

lastNameoptional
string

The last name of the user

e.g. Janssen

unitsoptional
Unit [ ] 3 fields
namerequired
string

A human readable description of the unit that needs to be picked up or delivered

e.g. BOX 1 - Bananas, apples and oranges

amountrequired
number· double

A number, describing the number of items that need to be picked up or delivered

e.g. 123

tagsoptional
PhysicalTag [ ] 2 fields

A set of physical tags that can be scanned to identify this unit

identifierrequired
string

The unique identifier for the physical tag

e.g. 762347623469

typerequired
stringBARCODENFCBLE

A type indicating the type of the physical tag

e.g. BARCODE

customFieldsoptional
map ofJsonNode

A map of custom key-value fields to persist with this shipment. Keys must not exceed 255 characters.

Returns

The shipment has been successfully updated.

no body

No response body. A 200 status is the confirmation.

RoutiGo Core REST API · Shipments↑ Index

Delete a shipment by its id

DELETE/shipment/{id}

Parameters

Path
idrequired
string

A shipment ID

Returns

The shipment has successfully been deleted.

no body

No response body. A 200 status is the confirmation.

RoutiGo Core REST API · Shipments↑ Index

GET /shipment/{id}/{planDate}

GET/shipment/{id}/{planDate}

Returns

OK

ServerResponse

RoutiGo Core REST API · Shipments↑ Index

Get all shipments related to the given search term(s)

GET/shipments/search

Parameters

Query
fromoptional
string

Sets up the earliest date for the search query (full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21). It must be used alongside the "to" parameter. Incompatible with the "planDate" parameter.

tooptional
string

Sets up the latest date for the search query (full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21). It must be used alongside the "from" parameter. Incompatible with the "planDate" parameter.

planDateoptional
string

Sets up the specific date for the search query (full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21)

queryoptional
string

Specifies a search term which is used to find a set of shipments. The term is used to search in all properties of a shipment, such as description(s), name(s) and address details

Returns

A list of all found shipments

Shipment
identifierrequired
string

An identifier for a given shipment

e.g. ASJHD-ASDJH-71235

externalIdrequired
string

An identifier provided by the user of RoutiGo, this identifier is unique per day

e.g. ASSIGNMENT-76

planDaterequired
string· date

The day at which the shipment should take place (full-date notation as defined by RFC 3339, section 5.6, for example, 2017-07-21)

e.g. 2019-11-30

assignedRouteoptional
AssignedRoute 5 fields
identifierrequired
string

A unique identifier for the tour

e.g. 23487234-7623476236-B76

namerequired
string

The name of the tour

e.g. Ingeladen-1

serviceCentreCoderequired
string

A unique identifier for the SVC

e.g. AMS

serviceCentreNameoptional
string

SVC name

e.g. Amsterdam

assignedTooptional
AssignedUser 3 fields

The assigned courier

userNamerequired
string

The username of the user

e.g. random-user@routigo.com

firstNameoptional
string

The first name of the user

e.g. Jaap

lastNameoptional
string

The last name of the user

e.g. Janssen

pickUpLocationoptional
ShipmentLocation 15 fields
durationrequired
object 5 fields

The amount of time we expect to spend at the location for this shipment

e.g. PT0H5M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
originalAddressoptional
Address 8 fields

An objecting holding all information related to a single location

streetNameoptional
string

Indicates the precise street name

e.g. Bisonspoor

houseNumberrequired
string

Indicates the precise house number

e.g. 8006

houseNumberAdditionoptional
string

Indicates the precise house number addition

e.g. A

postcoderequired
string

Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces

e.g. 1234 AB

cityNameoptional
string

Indicates an incorporated city or town political entity

e.g. Maarsen

countryCoderequired
string

The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries

default NLe.g. NL

geolocationrequired
Geolocation 3 fields

The lat/lng of a location

latituderequired
number· double

The latitude of the location

e.g. 52.137105

longituderequired
number· double

The longitude of the location

e.g. 5.029677

courseoptional
number· double

The course of the location

e.g. 42.42

inZeroEmissionZoneoptional
boolean

Flag indicating if the address is within a zero emission zone

addressInformationoptional
Address 8 fields

An objecting holding all information related to a single location

streetNameoptional
string

Indicates the precise street name

e.g. Bisonspoor

houseNumberrequired
string

Indicates the precise house number

e.g. 8006

houseNumberAdditionoptional
string

Indicates the precise house number addition

e.g. A

postcoderequired
string

Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces

e.g. 1234 AB

cityNameoptional
string

Indicates an incorporated city or town political entity

e.g. Maarsen

countryCoderequired
string

The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries

default NLe.g. NL

geolocationrequired
Geolocation 3 fields

The lat/lng of a location

latituderequired
number· double

The latitude of the location

e.g. 52.137105

longituderequired
number· double

The longitude of the location

e.g. 5.029677

courseoptional
number· double

The course of the location

e.g. 42.42

inZeroEmissionZoneoptional
boolean

Flag indicating if the address is within a zero emission zone

interactionsrequired
Interactions 1 field

Within RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.

alcoholCheckRequiredrequired
boolean

Indicates if an alcohol check should be performed

default falsee.g. true

remarkoptionalDeprecated
string

Deprecated, use the onSiteInstructions field instead.

etaoptional
string· date-time

the estimated time of arrival

customerTrackingIdrequired
string

Identifier used to find tracking information as send to the receiver

e.g. 757e7190-f6c2-4732-8f94-2eab426ed020

onRouteInstructionsoptional
string

An optional remark field where on route instructions can be placed. These will be shown to the courier while he is driving to this location.

e.g. The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.

onSiteInstructionsoptional
string

An optional remark field where on site instructions can be placed. These will be shown to the courier while he is driving to this location. This field was formerly known as remark.

e.g. This customer has ordered a meal for the first time; introduce them to our concept and hand over a discount for the next order

clientInstructionsoptional
ClientInstruction [ ] 5 fields
creationMomentrequired
string· date-time

The moment at which the instruction was set, presented in ISO 8601 datetime with time zone format

e.g. 2024-01-01T14:26:51Z

instructionoptionalDeprecated
string

The actual instruction the client set.

e.g. If I'm not at home, you can leave it at the door.

instructionTypeoptional
stringNOT_HOMELEAVE_AT_NEIGHBOURSLEAVE_IN_SAFE_PLACE

This class specifies the preferred action to be taken by the courier if the client is unavailable at the delivery address or notifies that he/she is not at home. Instruction types include not at home remark, leaving the parcel at the neighbours and leaving the parcel in the safe space.

e.g. LEAVE_AT_NEIGHBOURS

detailsoptional
string

If the client chooses LEAVE_AT_NEIGHBOURS or LEAVE_IN_SAFE_PLACE delivery, he/she must provide a specific neighbour's address or the designated location accordingly.

e.g. Please, leave my parcel with the neighbours: Wibautstraat 123.

additionalMessageoptional
string

An optional field for any other details.

e.g. Please, do NOT leave parcels in the bin.

timeConstraintsoptional
TimeConstraint [ ] 3 fields
deliverAfteroptional
string· date-time

The earliest time the driver is allowed to arrive at the location

deliverBeforeoptional
string· date-time

The latest time the driver is allowed to arrive at the location

typerequired
stringPROPOSEDAREA_RESTRICTIONCONTRACTCOMMUNICATEDUNDEFINED

An enum indicating the type of time constraint

e.g. PROPOSED

timeRestrictionsoptional
TimeRestriction [ ] 3 fields
startrequired
object 5 fields

The start time of the restriction

e.g. PT09H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
endrequired
object 5 fields

The end time of the restriction

e.g. PT11H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
typerequired
stringAREA_RESTRICTIONUNDEFINEDAREA_RESTRICTIONUNKNOWN

An enum indicating the type of time restriction

default AREA_RESTRICTIONe.g. AREA_RESTRICTION

contactInformationoptional
ContactInformation [ ] 4 fields
nameoptional
string

The name of the contact person

e.g. Jan-Johan Janssen

emailoptional
string

The email-address used to send out emails regarding updates on the visit

e.g. no-reply@routigo.com

mobilePhoneoptional
string

The phone number used to send out text messages regarding updates on the visit

e.g. +31612345678

languageoptional
string

The customer language used for communication. Default NL.Described using: ISO 639-1:2002, Codes for the representation of names of languages

e.g. NL

completionDataoptional
CompletionData 3 fields

All data about the completion of a single assignment

timerequired
string· date-time

The time at which the assignment was marked as arrived

locationoptional
Geolocation 3 fields

The lat/lng of a location

latituderequired
number· double

The latitude of the location

e.g. 52.137105

longituderequired
number· double

The longitude of the location

e.g. 5.029677

courseoptional
number· double

The course of the location

e.g. 42.42

courierUsernameoptional
string

The username of the courier that arrived at this assignment.

e.g. random-user@routigo.com

arrivalDataoptional
CompletionData 3 fields

All data about the completion of a single assignment

timerequired
string· date-time

The time at which the assignment was marked as arrived

locationoptional
Geolocation 3 fields

The lat/lng of a location

latituderequired
number· double

The latitude of the location

e.g. 52.137105

longituderequired
number· double

The longitude of the location

e.g. 5.029677

courseoptional
number· double

The course of the location

e.g. 42.42

courierUsernameoptional
string

The username of the courier that arrived at this assignment.

e.g. random-user@routigo.com

deliveryLocationoptional
ShipmentLocation 15 fields
durationrequired
object 5 fields

The amount of time we expect to spend at the location for this shipment

e.g. PT0H5M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
originalAddressoptional
Address 8 fields

An objecting holding all information related to a single location

streetNameoptional
string

Indicates the precise street name

e.g. Bisonspoor

houseNumberrequired
string

Indicates the precise house number

e.g. 8006

houseNumberAdditionoptional
string

Indicates the precise house number addition

e.g. A

postcoderequired
string

Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces

e.g. 1234 AB

cityNameoptional
string

Indicates an incorporated city or town political entity

e.g. Maarsen

countryCoderequired
string

The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries

default NLe.g. NL

geolocationrequired
Geolocation 3 fields

The lat/lng of a location

latituderequired
number· double

The latitude of the location

e.g. 52.137105

longituderequired
number· double

The longitude of the location

e.g. 5.029677

courseoptional
number· double

The course of the location

e.g. 42.42

inZeroEmissionZoneoptional
boolean

Flag indicating if the address is within a zero emission zone

addressInformationoptional
Address 8 fields

An objecting holding all information related to a single location

streetNameoptional
string

Indicates the precise street name

e.g. Bisonspoor

houseNumberrequired
string

Indicates the precise house number

e.g. 8006

houseNumberAdditionoptional
string

Indicates the precise house number addition

e.g. A

postcoderequired
string

Indicates a postal code as used to address postal mail within the country with a maximum of 8 characters, allowing only letters, numbers, and spaces

e.g. 1234 AB

cityNameoptional
string

Indicates an incorporated city or town political entity

e.g. Maarsen

countryCoderequired
string

The country code of the location. Default NL. Described using: ISO 3166-1 alpha-2, Codes for the representation of countries

default NLe.g. NL

geolocationrequired
Geolocation 3 fields

The lat/lng of a location

latituderequired
number· double

The latitude of the location

e.g. 52.137105

longituderequired
number· double

The longitude of the location

e.g. 5.029677

courseoptional
number· double

The course of the location

e.g. 42.42

inZeroEmissionZoneoptional
boolean

Flag indicating if the address is within a zero emission zone

interactionsrequired
Interactions 1 field

Within RoutiGo we have a number of predefined interactions which can easily be enabled by setting the appropriate values on the property.These predefined interactions can trigger predefined actions, such as showing an Nix18 to indicate an alcohol check should be performed abd adds an extra question to the delivery/pick-up survey to register if the alcohol check was performed.

alcoholCheckRequiredrequired
boolean

Indicates if an alcohol check should be performed

default falsee.g. true

remarkoptionalDeprecated
string

Deprecated, use the onSiteInstructions field instead.

etaoptional
string· date-time

the estimated time of arrival

customerTrackingIdrequired
string

Identifier used to find tracking information as send to the receiver

e.g. 757e7190-f6c2-4732-8f94-2eab426ed020

onRouteInstructionsoptional
string

An optional remark field where on route instructions can be placed. These will be shown to the courier while he is driving to this location.

e.g. The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.

onSiteInstructionsoptional
string

An optional remark field where on site instructions can be placed. These will be shown to the courier while he is driving to this location. This field was formerly known as remark.

e.g. This customer has ordered a meal for the first time; introduce them to our concept and hand over a discount for the next order

clientInstructionsoptional
ClientInstruction [ ] 5 fields
creationMomentrequired
string· date-time

The moment at which the instruction was set, presented in ISO 8601 datetime with time zone format

e.g. 2024-01-01T14:26:51Z

instructionoptionalDeprecated
string

The actual instruction the client set.

e.g. If I'm not at home, you can leave it at the door.

instructionTypeoptional
stringNOT_HOMELEAVE_AT_NEIGHBOURSLEAVE_IN_SAFE_PLACE

This class specifies the preferred action to be taken by the courier if the client is unavailable at the delivery address or notifies that he/she is not at home. Instruction types include not at home remark, leaving the parcel at the neighbours and leaving the parcel in the safe space.

e.g. LEAVE_AT_NEIGHBOURS

detailsoptional
string

If the client chooses LEAVE_AT_NEIGHBOURS or LEAVE_IN_SAFE_PLACE delivery, he/she must provide a specific neighbour's address or the designated location accordingly.

e.g. Please, leave my parcel with the neighbours: Wibautstraat 123.

additionalMessageoptional
string

An optional field for any other details.

e.g. Please, do NOT leave parcels in the bin.

timeConstraintsoptional
TimeConstraint [ ] 3 fields
deliverAfteroptional
string· date-time

The earliest time the driver is allowed to arrive at the location

deliverBeforeoptional
string· date-time

The latest time the driver is allowed to arrive at the location

typerequired
stringPROPOSEDAREA_RESTRICTIONCONTRACTCOMMUNICATEDUNDEFINED

An enum indicating the type of time constraint

e.g. PROPOSED

timeRestrictionsoptional
TimeRestriction [ ] 3 fields
startrequired
object 5 fields

The start time of the restriction

e.g. PT09H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
endrequired
object 5 fields

The end time of the restriction

e.g. PT11H30M

secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
unitsoptional
object [ ] 4 fields
dateBasedoptional
boolean
timeBasedoptional
boolean
durationoptional
object 4 fields
secondsoptional
integer· int64
nanooptional
integer· int32
negativeoptional
boolean
zerooptional
boolean
durationEstimatedoptional
boolean
zerooptional
boolean
typerequired
stringAREA_RESTRICTIONUNDEFINEDAREA_RESTRICTIONUNKNOWN

An enum indicating the type of time restriction

default AREA_RESTRICTIONe.g. AREA_RESTRICTION

contactInformationoptional
ContactInformation [ ] 4 fields
nameoptional
string

The name of the contact person

e.g. Jan-Johan Janssen

emailoptional
string

The email-address used to send out emails regarding updates on the visit

e.g. no-reply@routigo.com

mobilePhoneoptional
string

The phone number used to send out text messages regarding updates on the visit

e.g. +31612345678

languageoptional
string

The customer language used for communication. Default NL.Described using: ISO 639-1:2002, Codes for the representation of names of languages

e.g. NL

completionDataoptional
CompletionData 3 fields

All data about the completion of a single assignment

timerequired
string· date-time

The time at which the assignment was marked as arrived

locationoptional
Geolocation 3 fields

The lat/lng of a location

latituderequired
number· double

The latitude of the location

e.g. 52.137105

longituderequired
number· double

The longitude of the location

e.g. 5.029677

courseoptional
number· double

The course of the location

e.g. 42.42

courierUsernameoptional
string

The username of the courier that arrived at this assignment.

e.g. random-user@routigo.com

arrivalDataoptional
CompletionData 3 fields

All data about the completion of a single assignment

timerequired
string· date-time

The time at which the assignment was marked as arrived

locationoptional
Geolocation 3 fields

The lat/lng of a location

latituderequired
number· double

The latitude of the location

e.g. 52.137105

longituderequired
number· double

The longitude of the location

e.g. 5.029677

courseoptional
number· double

The course of the location

e.g. 42.42

courierUsernameoptional
string

The username of the courier that arrived at this assignment.

e.g. random-user@routigo.com

supplieroptional
Supplier 2 fields

The supplier is a person, company, or organization selling/sending goods, equipment or services to customers. This field can be used to differentiate between various parties (e.g. restaurants, webshops, merchants) that deliver goods to a transport company.

identifierrequired
string

The technical code identifier. Usually this is a customer identifier or code. This code should be unique, because later this identifier can be used to retrieve all shipments for a single supplier.

e.g. ABS

namerequired
string

The human readable description of the supplier, which can be used in communication with the receiver e.g.

e.g. A Banana Store

unitoptional
Unit [ ] 3 fields
namerequired
string

A human readable description of the unit that needs to be picked up or delivered

e.g. BOX 1 - Bananas, apples and oranges

amountrequired
number· double

A number, describing the number of items that need to be picked up or delivered

e.g. 123

tagsoptional
PhysicalTag [ ] 2 fields

A set of physical tags that can be scanned to identify this unit

identifierrequired
string

The unique identifier for the physical tag

e.g. 762347623469

typerequired
stringBARCODENFCBLE

A type indicating the type of the physical tag

e.g. BARCODE

physicalTagoptional
PhysicalTag [ ] 2 fields
identifierrequired
string

The unique identifier for the physical tag

e.g. 762347623469

typerequired
stringBARCODENFCBLE

A type indicating the type of the physical tag

e.g. BARCODE

customFieldsoptional
map ofJsonNode
Example response · 200
{
  "searchResults": [
    {
      "identifier": "a4a1ebf3-c2d8-4f18-9a86-58621de05448",
      "externalId": "3159af5d-f910-4e79-984a-bf4e0423410c",
      "planDate": "2023-10-19",
      "assignedRoute": {
        "identifier": "DEMEERN|Rit|02|20231019",
        "name": "Rit-02",
        "serviceCentreCode": "DEMEERN",
        "serviceCentreName": "De Meern",
        "assignedTo": null
      },
      "pickUpLocation": null,
      "deliveryLocation": {
        "duration": "PT5M",
        "addressInformation": {
          "streetName": "Bisonspoor",
          "houseNumber": "3002A-901",
          "houseNumberAddition": null,
          "postcode": "3605LT",
          "cityName": "Maarssen",
          "countryCode": "NL",
          "geolocation": {
            "latitude": 52.1353694,
            "longitude": 5.0303715,
            "course": null
          }
        },
        "interactions": {
          "alcoholCheckRequired": false,
          "paymentRequired": {
            "currency": "EUR",
            "amount": 50
          }
        },
        "remark": "The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.\n\nThis customer has ordered a meal for the first time. Please, introduce them to our concept and hand over a discount for the next order.",
        "eta": "2023-12-20T15:11:57.901+01:00",
        "customerTrackingId": "0edd3699ffc2445aa87c94a9a8028249",
        "onRouteInstructions": "The office is located on the 8th floor above a mall. Parking can be done in the parking garage allocated next to the office building.",
        "onSiteInstructions": "This customer has ordered a meal for the first time. Please, introduce them to our concept and hand over a discount for the next order.",
        "timeConstraints": [
          {
            "deliverAfter": "2023-12-20T08:00:00+01:00",
            "deliverBefore": "2023-12-20T12:00:00+01:00",
            "type": "CONTRACT"
          }
        ],
        "contactInformation": [
          {
            "name": "Routigo",
            "email": null,
            "mobilePhone": null,
            "language": null
          }
        ],
        "completionData": null
      },
      "supplier": null,
      "unit": null,
      "physicalTag": []
    }
  ]
}

Tours

RoutiGo Core REST API · Tours↑ Index

Retrieve planning details of tours on a given date

GET/planning/tours

Parameters

Query
planDateoptional
string

The date at which the tour is planned (full-date notation as defined by RFC 3339, section 5.6, for example, 2023-09-18)

Returns

The available tours have been successfully retrieved.

any

RoutiGo Core REST API · Tours↑ Index

Retrieve an overview of available tours on a given date

GET/planning/tours/overview

Parameters

Query
planDateoptional
string

The date at which the tour is planned (full-date notation as defined by RFC 3339, section 5.6, for example, 2023-09-18)

Returns

The available tours have been successfully retrieved.

any

RoutiGo Core REST API · Tours↑ Index

Retrieve an overview of available tours in a service center on a given date

GET/planning/tours/overview/{svcId}

Parameters

Path
svcIdrequired
string

The id of the service center where to look for the tours

Query
planDateoptional
string

The date at which the tour is planned (full-date notation as defined by RFC 3339, section 5.6, for example, 2023-09-18)

Returns

The available tours have been successfully retrieved.

any

RoutiGo Core REST API · Tours↑ Index

Get planning details of tours in a service center on a given date

GET/planning/tours/{svcId}

Parameters

Path
svcIdrequired
string

The id of the service center where to look for the tours

Query
planDateoptional
string

The date at which the tour is planned (full-date notation as defined by RFC 3339, section 5.6, for example, 2023-09-18)

Returns

The available tours have been successfully retrieved.

any

destinations-handler

RoutiGo Core REST API · destinations-handler↑ Index

Retrieve all available destinations for user in every company and service center allowed

GET/destinations

Parameters

Query
planDateoptional
string

A date used for finding relevant destinations. This refers to the date the destination is planned to be visited. (full-date notation as defined by RFC 3339, section 5.6, for example, 2023-09-18)

fromoptional
string

Sets up the earliest date for search query (full-date notation as defined by RFC 3339, section 5.6, for example, 2023-05-07). It must be used alongside the "to" parameter. Incompatible with the "planDate" parameter.

tooptional
string

Sets up the latest date for search query (full-date notation as defined by RFC 3339, section 5.6, for example, 2023-05-10). It must be used alongside the "from" parameter. Incompatible with the "planDate" parameter.

Returns

The available destinations have been successfully retrieved.

AvailableDestinationsByCompany
companyContextrequired
CompanyContext 3 fields
companyCoderequired
string
companyNamerequired
string
countryCoderequired
string
destinationsrequired
DestinationSummary [ ] 5 fields
identifierrequired
string

A unique identifier within the system

e.g. 1236123-HGDFHG-236523JH-ASHGF67

namerequired
string

A human readable description for this destination which can be used for visualisation

e.g. Inladen fiets-1

stopsAmountrequired
integer· int32

Amount of stops in this destination

e.g. 42

vehicleTypeoptional
stringCARSMALL_TRUCKEVBIKETRUCK

The type of the vehicle, used during planning to assume driving speed and accessible roads

typerequired
stringSTASHTOUR

Can either be a STASH, indicating a place where stops are set aside for later optimisation, or a TOUR meaning a route that can be driven

Example response · 200
{
  "companyContext": {
    "companyCode": "string",
    "companyName": "string",
    "countryCode": "string"
  },
  "destinations": [
    {
      "identifier": "1236123-HGDFHG-236523JH-ASHGF67",
      "name": "Inladen fiets-1",
      "stopsAmount": 42,
      "vehicleType": "CAR",
      "type": "STASH"
    }
  ]
}

service-centre-handler

RoutiGo Core REST API · service-centre-handler↑ Index

Retrieve available service centres

GET/serviceCentres

Returns

The available service centres have been successfully retrieved.

list ofServiceCentre [ ]
countryCoderequired
string
serviceCentreCoderequired
string
serviceCentreNamerequired
string
latituderequired
string
longituderequired
string
addressoptional
string
Example response · 200
[
  {
    "companyCode": "ELLINA-T",
    "serviceCentres": [
      {
        "identifier": "DEMEERN",
        "name": "De Meern",
        "address": {
          "streetName": "",
          "houseNumber": "",
          "houseNumberAddition": "",
          "postcode": "",
          "cityName": "",
          "countryCode": "",
          "geolocation": {
            "latitude": 5.0425669,
            "longitude": 52.0727817,
            "course": null
          }
        }
      }
    ]
  }
]

stashes-handler

RoutiGo Core REST API · stashes-handler↑ Index

Retrieve a list of stashes that contain shipments that have to be planned

GET/stashes

Parameters

Query
planDateoptional
string

The date at which the destination is placed (full-date notation as defined by RFC 3339, section 5.6, for example, 2023-09-18)

fromoptional
string

Sets up the earliest date for search query (full-date notation as defined by RFC 3339, section 5.6, for example, 2023-05-07). It must be used alongside the "to" parameter. Incompatible with the "planDate" parameter.

tooptional
string

Sets up the latest date for search query (full-date notation as defined by RFC 3339, section 5.6, for example, 2023-05-10). It must be used alongside the "from" parameter. Incompatible with the "planDate" parameter.

Returns

The available stashes have been successfully retrieved.

list ofStashSummary [ ]
identifierrequired
string

A unique identifier within the system

e.g. 1236123-HGDFHG-236523JH-ASHGF67

namerequired
string

A human readable description for this stash which can be used for visualisation

e.g. Inladen fiets-1

stopsAmountrequired
integer· int32

Amount of stops in this stash

e.g. 42

Example response · 200
[
  {
    "identifier": "DEMEERN|ROUTE|A|20231222",
    "name": "ROUTE-A",
    "stopsAmount": 2
  },
  {
    "identifier": "DEMEERN|Ingeladen stops|3|20231222",
    "name": "Ingeladen stops-3",
    "stopsAmount": 1
  }
]

tours-handler

RoutiGo Core REST API · tours-handler↑ Index

Retrieve a stop sequence

GET/tours/{tourId}/sequence

Parameters

Path
tourIdrequired
string

A tour ID in the format serviceCentreCode|tourName|tourCode|plannedDate

Returns

The stop sequence has been successfully retrieved.

list ofstring [ ]
Example response · 200
[
  "string"
]

RoutiGo Core REST API · tours-handler↑ Index

Create a stop sequence

PUT/tours/{tourId}/sequence

Parameters

Path
tourIdrequired
string

A tour ID in the format serviceCentreCode|tourName|tourCode|plannedDate

Request body required

A list of assignment identifiers

list ofstring [ ]

Returns

The stop sequence has been successfully created.

no body

No response body. A 200 status is the confirmation.