beautypg.com

7 service procedures, 1 rpc_get_plant_overview, 1 version 1.0 – SMA SUNNY WEBBOX RPC User Manual

Page 14

background image

7  Service Procedures

SMA Solar Technology AG

14

SWebBoxRPC-BA-en-14

User Manual

7 Service Procedures

This section describes the structure of the available service procedures.
For each procedure, a brief description of its task is given. This is followed by the structure of the
request. Variable elements are represented by placeholders in upper-case characters. In this manual,
the placeholders VERSION, FORMAT, and ID are not described for each procedure, since their
meaning has already been described in Section 4 and it is not necessary to differentiate between all
procedures here.

7.1 RPC_GET_PLANT_OVERVIEW

7.1.1 Version 1.0

Returns an object with the following plant data:

• POWER
• DAILY-YIELD
• TOTAL-YIELD
• STATUS
• ERROR

Structure:

RPC={
"version": "1.0",
"proc": "GetPlantOverview",
"id": "ID",
"format": "FORMAT"
}

Sample request:

RPC={
"version": "1.0",
"proc": "GetPlantOverview",
"id": "1",
"format": "JSON"
}