Getting Started |
|
It's important that you read through this document
before getting started. The information below applies to
all of our api's and explains the core concepts used to
interact with them. There are 3 API's you can use to access/manipulate your data: Core API, Scheduling API and the Training API. You can explore these API's and their related endpoints in the API Reference section. |
Authentication |
|
You must have a valid API key to authenticate to our
APIs. You can obtain your keys by logging into Flight
Schedule Pro and navigating to the "API Access" tab in
the Settings section. Your user account must have the
"Can Manage Company Settings" permission to access and
generate API keys. Your company is also required to have
a valid API subscription before you can generate API
Keys.
Access Keys: Navigate to Settings → API Access
Once you have a key, you authenticate
by including the following header with each request:
OperatorId: Displayed as "FSP Company ID" in Settings → General → Company → Company Profile.
x-subscription-key : {api_key}
It should look something like this:
x-subscription-key :
1cd8e927-3740-49d5-88a1-d8c33ed5bd75
API keys provide full access to the data at your
organization. You should protect it just like you
would protect your password. Flight Schedule Pro does
not support client-side usage of our API's or using
API keys in mobile apps. The potential security risk
of key exposure is to high for these types of usage.
|
HTTP Methods |
||
Flight Schedule Pro API's support the following HTTP
method:
Note: The current API implementation is
read-only. Create (POST), update (PUT/PATCH), and delete
(DELETE) operations are not currently supported
through the API. Please use the Flight Schedule Pro
web application to create, modify, or delete existing resources.
|
Parameters |
||||||||||||||
| You'll use 4 types of parameters when making and consuming requests: URL, query string, request body and response body parameters. Each request will have it's own set of parameters as outlined in the API Reference. We'll discuss common parameters and how to use them below: | ||||||||||||||
|
Throttling |
| You're allowed to make 60 api calls every 60 seconds. If you go over that you'll get a 429 error code. If you get throttled you'll have to wait until you've made less than 60 calls in a 60 second period before the throttle will be lifted. |
Support |
| If you have any questions please fill out a support request. |