POST api/ingest/realtime
Request Information
URI Parameters
None.
Body Parameters
RealtimeBundle| Name | Description | Type | Additional information |
|---|---|---|---|
| Serial | string |
None. |
|
| Inverters | Collection of InverterReading |
None. |
|
| Jbs | Collection of JbReading |
None. |
|
| Sensors | Collection of SensorReading |
None. |
|
| Alarms | Collection of AlarmRow |
None. |
|
| Audits | Collection of AuditRow |
None. |
Request Formats
application/json, text/json
Sample:
{
"serial": "sample string 1",
"inverters": [
{
"power": 1.1,
"lineVoltage": 1.1,
"pvVoltage": 1.1,
"pvCurrent": 1.1,
"pvPower": 1.1,
"l1Voltage": 1.1,
"l2Voltage": 1.1,
"l3Voltage": 1.1,
"l1Current": 1.1,
"l2Current": 1.1,
"l3Current": 1.1,
"hz": 1.1,
"reverse": 1.1,
"powerLoss": 1.1,
"total": 1.1,
"fault": "sample string 1",
"state": 1,
"id": 2,
"date": "sample string 3",
"time": "sample string 4"
},
{
"power": 1.1,
"lineVoltage": 1.1,
"pvVoltage": 1.1,
"pvCurrent": 1.1,
"pvPower": 1.1,
"l1Voltage": 1.1,
"l2Voltage": 1.1,
"l3Voltage": 1.1,
"l1Current": 1.1,
"l2Current": 1.1,
"l3Current": 1.1,
"hz": 1.1,
"reverse": 1.1,
"powerLoss": 1.1,
"total": 1.1,
"fault": "sample string 1",
"state": 1,
"id": 2,
"date": "sample string 3",
"time": "sample string 4"
}
],
"jbs": [
{
"averageVoltage": 1.1,
"totalCurrent": 1.1,
"fireState": 1.1,
"insideTemp": 1.1,
"voltages": [
1.1,
1.1
],
"currents": [
1.1,
1.1
],
"id": 1,
"date": "sample string 2",
"time": "sample string 3"
},
{
"averageVoltage": 1.1,
"totalCurrent": 1.1,
"fireState": 1.1,
"insideTemp": 1.1,
"voltages": [
1.1,
1.1
],
"currents": [
1.1,
1.1
],
"id": 1,
"date": "sample string 2",
"time": "sample string 3"
}
],
"sensors": [
{
"outTemp": 1.1,
"moduleTemp": 1.1,
"slopeSolar": 1.1,
"horizontalSolar": 1.1,
"windRoute": 1.1,
"windSpeed": 1.1,
"id": 1,
"date": "sample string 2",
"time": "sample string 3"
},
{
"outTemp": 1.1,
"moduleTemp": 1.1,
"slopeSolar": 1.1,
"horizontalSolar": 1.1,
"windRoute": 1.1,
"windSpeed": 1.1,
"id": 1,
"date": "sample string 2",
"time": "sample string 3"
}
],
"alarms": [
{
"rowId": 1,
"key": "sample string 2",
"level": 3,
"source": "sample string 4",
"message": "sample string 5",
"raisedAt": "sample string 6",
"clearedAt": "sample string 7"
},
{
"rowId": 1,
"key": "sample string 2",
"level": 3,
"source": "sample string 4",
"message": "sample string 5",
"raisedAt": "sample string 6",
"clearedAt": "sample string 7"
}
],
"audits": [
{
"rowId": 1,
"at": "sample string 2",
"loginId": "sample string 3",
"role": 1,
"action": "sample string 4",
"target": "sample string 5",
"detail": "sample string 6"
},
{
"rowId": 1,
"at": "sample string 2",
"loginId": "sample string 3",
"role": 1,
"action": "sample string 4",
"target": "sample string 5",
"detail": "sample string 6"
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.