Get
/customer/company-subscription/status
Request type: | GET |
URL: | https://api.solargis.com/customer/company-subscription/status |
Authorization: | Bearer {API token} |
Use this endpoint to download your subscription details such as registered email and name, subscription ID, validity dates, and your API request history. All you need is the API token associated with the account to execute the request. You can use the facility to the right to request the information. You will not get charged for this service.
Security
HTTP
Type bearer
Enter your Solargis TMY Bearer token.
Responses
200
Subscription details
object
user
object
firstName
string
middleName
string
lastName
string
email
string
company
object
sgCompanyId
string
name
string
subscriptions
Array of object
object
id
string
validFrom
string (date-time)
validTo
string (date-time)
type
string
consumptionActive
boolean
totalRequests
integer
pendingRequests
integer
finishedRequests
integer
name
string
401
Ivalid authorization
object
Ivalid authorization
error
string
Exampletoken.invalid