Request type: | POST |
URL: | https://api.solargis.com/ts-integration/data-request/ |
Authorization: | Bearer {API token} |
Body parameters: | See the specification below |
In this guide, we will provide information about how to set up the Time Series API integration to obtain the requestId required for obtaining the location data. The endpoint provided here is for integration purposes only and does not allow you to download location data from your live Solargis account.
Once you obtain the integration requestId, you can proceed to get the sample location data to understand the response.
Key points to remember before you proceed:
Our Sales team must create an integration account for you. Contact them if you do not have one already.
This integration endpoint shows how to set up the API request for Time Series API subscription to obtain the
requestId.You will need to generate an API token to authenticate calls to the integration account.
Calls to the integration API endpoint are free of charge.
You can test the endpoint in the API console to the right. Learn how to use the console in the Using the API console guide.
The request parameters can not be changed for the API integration call to work. Amending the request parameters will result in an error.
Integration setup request parameters
When setting up your integration and executing the API calls, use the API parameters provided below to prevent errors.
To test the request for Time Series API in the API console to the right, enter the generated API token in the console and amend the request parameters according to the following table:
Subscription type | Integration request parameters |
|---|---|
Solargis Time Series Pro | Change the following parameters in the API console:
|
Enter your Solargis TimeSeries Bearer token. Example: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
Start date in ISO 8601 format (YYYY-MM-DD). You can also use the keyword AUTODETECT to automatically select the earliest available start date.
End date in ISO 8601 format (YYYY-MM-DD). You can also use LAST_MONTH or LAST_YEAR for relative date selection.
RequestId retrieved
Ivalid authorization
Ivalid authorization