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

This forum deals with any kind of trip optimization whether it is automatic planning or manual dispatching, refering to transport orders or service planning.
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2545
Joined: Mon Apr 14, 2014 10:28 am
Contact:

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

Post by Bernd Welter »

Hi there,

an xBuddy gets the following error message through his xTour2 planTours call:

Code: Select all

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
  <soap:Body>
    <soap:Fault>
      <soap:Code>
        <soap:Value>soap:Receiver</soap:Value>
      </soap:Code>
      <soap:Reason>
        <soap:Text xml:lang="en">There is no unique UTC offset determinable for a driver operating interval.</soap:Text>
      </soap:Reason>
      <soap:Detail>
        <ns3:XServerWebFault xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xmlns:ns3="http://exceptions.xserver.ptvgroup.com" 
  xmlns:ns2="http://xtour.xserver.ptvgroup.com"  
  hint="Please provide a UTC offset for the driver operating interval." 
  parameter="/PlanToursRequest/fleet/drivers[1]/@operatingIntervals[1]" 
  value="" xsi:type="ns3:InvalidValueFault"/>
      </soap:Detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>
The one and only time value he mentioned in his request is

Code: Select all

<drivers id="Paul" vehicleId="Auto">
<operatingIntervals 
  xmlns:q601="http://time.xserver.ptvgroup.com" 
  xsi:type="q601:StartDurationInterval" 
  start="2019-12-17T14:33:43.9624685" 
  duration="28800"/>
</drivers>
What exactly does it mean? OK, I immediately told him to add an UTC offset, but: the message didn't appear with other coordinates being involved - so we try to understand the circumstances...

This worked fine...

Code: Select all

<drivers id="Paul" vehicleId="Auto">
<operatingIntervals 
 xmlns:q601="http://time.xserver.ptvgroup.com" 
 xsi:type="q601:StartDurationInterval" 
 start="2019-12-17T14:33:43.9624685+01:00" 
 duration="28800"/>
</drivers>

Best regards,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany

Bernd at Youtube
I like the smell of PTV Developer in the morning... :twisted:
Post Reply