Get accumulated values

Get accumulated values of domain points,typical scenarios are current month production, current year production and so on.

Request Format

METHOD {URI-scheme}://{apigw-address}/solar-api/{version}/domainService/getAccumulatePoints

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
mdmids Query true String mdm ids using comma as splitter
points Query true String domain points using comma as splitter
time_group Query true String group type in time, D: day, M: month, Y: year, T: total

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/getAccumulatePoints?mdmids=ELNZj0yP&token=APP_PORTAL_S_LVtNJAjPp5nQbZ92QJaDna9n9yaQ3KLD&points=INV.a&time_group=D

Response Example

{
    "result": {
        "EL***yP": {
            "INV.a": 2213
        }
    },
    "status": 0,
    "msg": "success",
    "body": ""
}