...
Tip |
---|
GoalEach of the data attributes sent to Freight Tiger platform using Trip APIs should be visible across all pages:
|
Overview
Following are the steps to demonstrate the calls that are made for an end to end trip integration:
Create a new trip
Update the same trip with reference of Trip - lrid (FT Trip ID which was returned in Add Trip API response or feedUniqueId which is a unique identifier added in Add Trip API payload)
Push User-defined Trip Milestone Events into the trip.
Validate the data created in above steps on FT screens.
Validate the data created in above steps on Analytics dashboards.
Prerequisites
To execute this script, you need following:
JSON Web Token: read more. If you don't have it already, kindly raise a ticket here.
Username & Password Credentials to your account on <URL> for checking the data on FT UI.
Ensure our IPs are whitelisted for both environments:
Sandbox - 13.126.98.143
Production - 13.234.139.9
Two-Tier Environments
Integration/Sandbox Environment (IP: 13.126.98.143)
URL: https://integration.freighttiger.com
...
Integration environment
https://www.getpostman.com/collections/1a6e67417ab24f076a05
Production environment
https://www.getpostman.com/collections/8df63ba972a509541cf3
View file | ||
---|---|---|
|
View file | ||
---|---|---|
|
Add Trip
Info |
---|
You may identify any uniqueID from your system to be added as “feedUniqueId”. This field can be used as a parameter for other API consumption and will also prevent any duplication of trips created. |
...
Check Data In Trip Analytics Report
Goto https://www.freighttiger.com, login
Go to report → Trip analysis
Select All Trips
Select period which consists of the date of trip that you created in this demo
Select all trips
Enter your mail ID
Click on EMAIL
Check your mail and download the sheet.
All the data you have sent should be in the sheet you received on mail.
Check Data In Trip Analytics Dashboard
Go to https://www.freighttiger.com, login
Go to Dashboards → Trip analytics
Enter a date range that includes the trip created in this demo script
Click on Number of Trips. This will open a pop-up.
Export as Excel or CSV
All the data Analytics data should be in the sheet.