Hi everyone!
I want to assign the following to a Body String Variable
“projectkey”: “testProject”,
“requestid”: “daily”,
“timezone”: “Europe/London”,
“datatype”: “daily”,
“dataunits”:
{
“availability.inverter”: “”,
“irradiation”: “KWh/m2”,
“specific_production.inverter”: “KWh/KWp”,
“production.inverter”: “KWh”,
“pr.inverter”: “”,
},
“data”:
{
“2019-05-01T00:00:00”:
{
“availability.inverter”: 1,
“irradiation”: 5.3934,
“specific_production.inverter”: 4.62,
“production.inverter”: 84961.323,
“pr.inverter”: 0.8571,
}
}
}
I tried to escape the quotes as follow:
"
““projectkey””: ““supernova””,
““requestid””: ““SNA_20190628_daily””,
““timezone””: ““Europe/London””,
““datatype””: ““daily””,
““dataunits””:
{
““availability.inverter””: “”“”,
““irradiation””: ““KWh/m2"”,
““specific_production.inverter””: ““KWh/KWp””,
““production.inverter””: ““KWh””,
““pr.inverter””: “””",
},
““data””:
{
"“2019-05-01T00:00:00"”:
{
““availability.inverter””: 1,
““irradiation””: 5.3934,
““specific_production.inverter””: 4.62,
““production.inverter””: 84961.323,
““pr.inverter””: 0.8571,
}
}
}
"
But i have this error:
[The last line says: “String Constants should end with quotes”]
I can’t catch the error, can somebody spot where the error is?