Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Release 138

...

  • Encoding: The CSV-file is assumed to be encoded as ISO-8859-1.
  • Columns
    • The order of the columns is not important.
    • The header-line (with the column names) is essential. Each column MUST have our documented names (i.e. ORDER_ID or PRODUCT). 
    • Status
      colourGreen
      titleNEW
       We We now give an error if there are any unknown column names in the file. The file should therefore not have any other column names than those documented here. 
  • Field separator is semi colon (;).
  • The columns can be quoted, if so, use ("").

...

YellowExternal order ID
Typically identifies each customer for this distribution.

New
NameMandatoryStandard (if empty)DescriptionMax lengthTypeExample
ORDER_ID
Status
colour

titleChanged
30StringA345
ORDER_LINE_ID
Status
colourGreen
title

External order line ID
Typically identifies each package for this distribution. If given, it must be unique. 

30String891837
TIMEWINDOW_START
Start time of routeCriteria for when the customer can receive the package (start time)
String/text "HH:MM" or "HHMM"1700
TIMEWINDOW_STOP
End time of routeCriteria for when the customer can receive the package (end time)
String/text "HH:MM" or "HHMM"1900
PRODUCT(tick)
Product name/number (must be recognised by driver)100String/textMatkasse liten
PRODUCT_COUNT
1Product quantity
Integer1
CUSTOMER_NAME(tick)
Customer name100String/textOla Hansen
CUSTOMER_CO

Optional Care Of (if the carrier should look for other names when delivering)50String/textFam. Olsen
CUSTOMER_DIRECTIVE

Notes about how the delivery should take place. Can be a note from the customer about where to deliver the package or what to do if they are not home.

To preserv linebreaks, use "\n" so the driver sees the message the same way it was written.

Sanitize
Remember to sanitize the data. Would be wise to use quotes and to replace double-quotes in the comment with single-quote.

Example:
This unquoted with problem-characters (;) is INVALID:
User's; "comment"
By adding quotes and replace double with single it's VALID:
"User's; 'comment'"

Note: For this field to be helpful, the drivers must understand the customer's language.

2000String/text

"Hvis ikke vi er hjemme, så ring på hos <nabo-navn> på samme adresse, og hun vil slippe dere inn. \nSett kassen i boden i 4.etg. Takk."

CUSTOMER_PHONE_1

Customer's primary phone (with or without country code), so the driver easily can contact the customer.
Assumed to be a mobile number (so we can send SMS to it).

12String/text004792929393
CUSTOMER_PHONE_2

Customer's secondary phone (with or without country code), so the driver easily can contact the customer.
12String/text92929393
CUSTOMER_EMAIL

Email address for the customer, so direct contact is possible

String/textane@epost.no
ADDRESS(tick)
Street address100String/textMøllergata 3 A
ZIP(tick)
Zip (can be integer or string)
String/text or Integer0366
CITY(tick)
City30String/textOSLO
LATITUDE

Status
colourGreen
titlein testNEW
Optional - if you want to use your own coordinates, else we will perform geocoding.


Double59.915165 or 59,915165
LONGITUDE

Status
colourGreen
titlein TESTNEW
Optional - if you want to use your own coordinates, else we will perform geocoding.


Double10.743319 or 10,743319
ROUTE_NAME

Status
colourGreen
titlein testNEW
Optional - If you want full control of how the routes are made, you can skip the optimization and use your own routes. You can still optimize the order within the routes afterwards.


String/textRøa or 201
WEIGHT

Status
colourGrey
titleNot implemented
Weight of the package (gram).

Integer250
HEIGHT

Status
colourGrey
titleNot implemented
Volume. Height/width/depth. All dimensions must be given to use (cm).


Integer30
WIDTH

Status
colourGrey
titleNot implemented
Volume. Height/width/depth. All dimensions must be given to use (cm).

Integer40
DEPTH

Status
colourGrey
titleNot implemented
Volume. Height/width/depth. All dimensions must be given to use (cm).  


Integer20

...