What means "There is no unique UTC offset determinable for"

Deals with generic topics such as logging, framework and so on. If you are not sure where to place your topic just put it here.
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2574
Joined: Mon Apr 14, 2014 10:28 am
Contact:

What means "There is no unique UTC offset determinable for"

Post by Bernd Welter »

Recently a client faced the following error message in xTour:

Code: Select all

{
  "faultInfo": {
    "$type": "InvalidValueFault",
    "hint": "Please provide a UTC offset for the planning horizon.",
    "parameter": "/PlanToursRequest/planToursOptions/@planningHorizon",
    "value": "the planning horizon"
  },
  "message": "There is no unique UTC offset determinable for the planning horizon."
}
Here's what triggers this message:
  • Usually the tour planning component uses a very detailed and complex structure of time intervals which should reflect international time zones.
  • To ensure that the timezones are properly described in your API call you are kindly requested to provide the UTC offsets.
  • The offset is optional - if you do not provide it we will try to determine the time zone based on the involved coordinates of your stops.
  • Sometimes these coordinates may be located in different timezones and so the determination fails.
How to get rid of this?
Provide the proper UTC!
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning... :twisted:
Post Reply