Hi,
As I can fetch tour planning response using "storedRequestId" for unschedule analysis. This response was available for a certain time.
How long is the tour planning result accessible in xTour2” ?
Where can I configure this value?
Regards,
Prakash
Access tourplanning response in xTour2
Access tourplanning response in xTour2
Prakash Kumar
Developer
Webdirekt India Pvt. Ltd.
Developer
Webdirekt India Pvt. Ltd.
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Access tourplanning response in xTour2
Hello Prakash,
check the section lifetime of stored requests in the Session Storage chapter:
check the section lifetime of stored requests in the Session Storage chapter:
Lifetime of stored requests
Requests in the session storage cannot be deleted via the PTV xServer API. However, there are two general parameters in the PTV xServer configuration file to limit the life span of the stored requests. These parameters are core.session.retentionTime and core.session.cleanupInterval, see Server Configuration.
Each stored request has a time stamp containing its creation time. A ToursInExecutionRequest resets the time stamp of the corresponding stored request to the current server time. A cleanup task is started once after every cleanup interval and deletes all requests whose time stamps are older than the retention time.
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...
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...