Insights
Get insights
GET https://api.basset.ws/insights
Query Parameters
Name
Type
Description
flow
string
AVAILABILITY or BOOKING
product
string
FLIGHTS
since
string
Indicate the lapse time to get information. Format: 'n {unit} ago'. Available unit values are: "minutes", "hour", "day" or "week"
limit
string
Events limit. Default 100. Max 1000
{
"results": [
{
"events": [
{
"origin": "ROS",
"departure_month": "January",
"site": "AR",
"destination": "MDQ",
"agency_id": "0a9vsje7-a307-42a2-ac06-736easfc417d",
"app_name": "api-flights",
"channel": "WEB",
"provider_time": 2397,
"provider_name": "624e15f76fc2-40da-3f5c-add9-c4be4aee",
"app_id": 97645550,
"host": "d680e44b18ad",
"success_request": true,
"flight_type": "ROUND_TRIP",
"real_agent_id": 229721864,
"timestamp": 1542055821253
}
]
}
],
"event_type": "FlightsAvailability",
"begin_time": "2018-11-11T20:52:30Z",
"end_time": "2018-11-12T20:52:30Z",
"agency_id": "0a9vsje7-a307-42a2-ac06-736easfc417d"
}Last updated