Postman API tool requests example

Prerequisite:

  1. Subscription is registered for the company

  2. The subscription is active and has available calls for TMY API data requests

  3. The user is assigned to the active subscription (for the case of user tokens generation)

  4. A token is generated and can be used for TMY API calls

Note: in all requests, the same generated token was used

 


 

TMY data generation request

Request

POST: https://api.solargis.com/tmy/data-request

  • Authorization header

  • Body

 

 

 

Response

 

 

 


TMY data generation request status

GET: https://api.solargis.com/tmy/data-request/{requestId}

Request

  • Authorization header

 

Response

 

 

 


Generated output TMY data in message response

GET: https://api.solargis.com/tmy/data-request/{requestId}/{output format}

For testing purposes, the output format SOLARGIS_JSON has been used. Possible options: SOLARGIS_CSV, SOLARGIS_JSON, SAM, HELIOSCOPE

Request

  • Authorization header

 

Response

 

 

 


Subscriptions (Company + User) details request

URL: https://api.solagis.com/customer/company-subscription/status

Request

  • Authorization header

 

 

Response