📄️ Step 1 - Endpoint
Now that we have the /search/create migrated over, and we have a SessionToken we can now migrate the /search/poll endpoint.
📄️ Step 2 - API key
Now that the endpoint has been updated we now need to update the API key as we did when migrating the /search/create. It used to be sent from the body with the apiKey attribute.
📄️ Step 3 - Status code
There is no change in the status code as the polling in v1.0 already returns 200 OK like v3.
📄️ Step 4 - Response status
The /search/poll endpoint Status key has been changed to lower case status in the body response to indicate when it's finished retrieving the flight's data.
📄️ Step 5 - Response data
In v3 the response data has been changed. We will need to map the new response data.