Cannot access System endpoint from OpenSolar API... "Permission_error"

Opmerkingen

3 opmerkingen

  • Officiële opmerking
    OpenSolar Support

    Hey Ben and Michael,

    For accessing systems endpoint, adding a Query parameter fieldset=list is a must. 
    The endoint URL will look like this

    https://api.opensolar.com/api/orgs/:org_id/systems/?fieldset=list

    or

    https://api.opensolar.com/api/orgs/:org_id/systems/:system_id/?fieldset=list

    Kind regards,
    Gagan

    Acties voor opmerkingen Permalink
  • michael

    Hi Ben, 

    I am currently experiencing the same problem, can you confirm if you fixed this if you were able to. 

    0
    Acties voor opmerkingen Permalink
  • michael

    Thanks for that. That makes sense now, I was parsing the system sold parameter from the projects endpoint,  and using that to make the next call I have now added the static content  onto the end of the request. I was also making the assumption that you only required that query parameter if you were requesting a list.

    0
    Acties voor opmerkingen Permalink

U moet u aanmelden om een opmerking te plaatsen.