Showcase "Request Runner"

Questions refering to the Optiflow based API within PTV Developer (launched on 20.12.2023)
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2816
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Showcase "Request Runner"

Post by Bernd Welter »

Cheerio!

If you are familiar with our well known PTV xServers you are hopefully aware of the built-in magical tool called Raw Request Runner (RRR :twisted: ) which enables you to process requests against an xServer (both onPremise and XServer Internet).

Recently we launched a new showcase Request Runner in PTV Developer which serves as a compareable client towards the various APIs in the PTV Developer world, you just need
  • a valid API key
  • the request body
Here's how to use this in the context of PTV Developer Route Optimization Optiflow API:
  • Create the follwing envelope around the request body

    Code: Select all

    {
      "method": "POST",
      "url": "https://api.myptv.com/routeoptimization/optiflow/v1/optimizations",
      "body": {PUT THE BODY HERE}
    }
    
  • Upload the file
  • Press send to get the Job id
    rrr.startOptimization.png
  • Switch the operation to getOptimizationResult and press send to get the progress
    rrr.getStatus.png
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