GET Solar Farm Data

GET {{url}}/solar_farms?org_id={{org_id}}

This request requires a bearer token for authentication and an organization ID (org_id) for proper filtering. It will return a list of farm objects that belong to the specified organization.

Each farm object should look like this:

{
        "address": "string",
        "asset_id": "string", // optional field, only appears if populated
        "client_org_id": "int",
        "country": "string",
        "created_tsecs": "double", // time farm was create
        "id": "int",
        "latitude": "float",
        "longitude": "float",
        "module_layout": "string",
        "module_mount": "string",
        "name": "string",
        "site_layout": "string",
        "size": "float",
        "state": "string",
        "status": "int",
        "updated_tsecs": "double",
        "uuid": "string"
}

Looking at the pre-request scripts one can see an example of how to parametrize this request to cover multiple org_ids.

Looking at the post-request scripts there is an example of how to capture the resulting data and log it out. There are also examples of basic tests that ensure the request is responding correctly.

Request Params

KeyDatatypeRequiredDescription
org_idstring