dear all
I want to query some data using rest integration.
To access the source I need to enter the AccessKeyId and AccessKeyValue
using the curl command
curl -X GET "https://api.solarweb.com/swqapi/pvsystems/myPVSystemID/weather/forecast?channel=EnergyExpected&timezone=local&duration=2" -H "accept: application/json" -H "AccessKeyId: myAccessKeyId" -H "AccessKeyValue: myAccessKeyValue"
the output is:
{
"pvSystemId": "myPVSystemID",
"data": [
{
"logDateTime": "2022-09-10T00:00:00+02:00",
"channels": [
{
"channelName": "EnergyExpected",
"channelType": "Energy",
"value": 16445.750325,
"unit": "Wh"
}
]
},
{
"logDateTime": "2022-09-11T00:00:00+02:00",
"channels": [
{
"channelName": "EnergyExpected",
"channelType": "Energy",
"value": 32722.528025,
"unit": "Wh"
}
]
}
]
}
At the end I want to have “data[0].channels[0].value” (16445.750325) and “data[1].channels[0].value” (32722.528025)
What is the correct entry for the rest integration? I have no idea how to enter the AccessKeyId and AccessKeyValue