Get current day time series¶
Get the detailed data of 5 minutes on the day of the target domain point.Only support single device of the day and single indicator.
Request Format¶
METHOD {URI-scheme}://{apigw-address}/solar-api/{version}/domainService/getPointDetailCurrentDay
Request Parameters¶
Name | Location | Required | Datatype | Description |
---|---|---|---|---|
token | Query | false | String | token, required when user account calls Solar API |
orgId | Query | false | String | orgnization Id, required when service account calls Solar API |
mdmid | Query | true | String | mdm ids with comma as splitter |
point | Query | true | String | domain point |
logic | Query | false | String | fill: auto fill missing timestamps(not case sensitive), other inputs mean no auto fill |
Response Parameters¶
Name | Datatype | Description |
---|---|---|
timestamp | String | timestamp |
value | String | point value |
mdmid | String | mdmid |
Error Codes¶
See Common response code.
Example¶
Request Example¶
GET
https://{apigw-address}/solar-api/v1.0/domainService/getPointDetailCurrentDay?mdmid=EL****yP&token=APP_PORTAL_S_LVtNJAjPp5nQbZ92QJaDna9n9yaQ3KLD&point=INV.APProduction
Response Example¶
{
"data": [
{
"timestamp": 1572393600000,
"value": "34415.0",
"mdmid": "xxxxxxxx"
},
{
"timestamp": 1572393900000,
"value": "34415.0",
"mdmid": "xxxxxxxx"
}
],
"status": 0,
"msg": "success"
}