SunnyPortalWebBoxBaseService


Click here for a complete list of operations.

RegisterDevice

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /SunnyPortalWebBoxBaseService/SunnyPortalWebBoxBaseService.asmx HTTP/1.1
Host: com.sunny-portal.de
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "www.sunny-portal.de/WebServices/SunnyPortalWebBoxBaseService/RegisterDevice"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <RegisterDevice xmlns="www.sunny-portal.de/WebServices/SunnyPortalWebBoxBaseService">
      <plantIdentifier>string</plantIdentifier>
      <device>
        <SerialNumber>string</SerialNumber>
        <FriendlyName>string</FriendlyName>
        <DeviceClass>UNKNOWN or OTHER or PV_PLANT or BEAM_PLANT or WEBBOX_PLANT or SI_PLANT or PV_INVERTER or SI_INVERTER or SC_INVERTER or DATALOGGER or WEBBOX or SBEAM or SBCL or SBC or SBCPLUS or SENSOR or SENSOR_COUNTER or SBEAM2 or SC_STRING_MONITOR_UNIT or SC_OPERATION_CONTROL or SC_PLANT or UNKNOWN_PLANT or TRACKING_DEVICE or POWERREDUCERBOX or HOMEMANAGER or HOMAN_PLANT or POWERSOCKET or WIND_INVERTER or MULTIGATE_PLANT or MULTIGATE or MODULE_INVERTER or DATAMODULE or IED_INVERTER or MOLDAU_PLANT or CLUSTERCONTROLLER or PV_INVERTER_BATTERY or IED_INVERTER_BATTERY or CONSUMER or SC_INVERTER_UPS or MLXINVERTERMANAGER or FUELSAVECONTROLLER or DC_MONITOR_UNIT or SOLARLOG or IED_BATTERY or MODULE_MAXIMIZER or COMGATEWAY</DeviceClass>
        <DeviceType>string</DeviceType>
        <MacAddress>string</MacAddress>
        <Version>string</Version>
      </device>
      <userAuthentication>
        <User>string</User>
        <Password>string</Password>
      </userAuthentication>
    </RegisterDevice>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <RegisterDeviceResponse xmlns="www.sunny-portal.de/WebServices/SunnyPortalWebBoxBaseService">
      <RegisterDeviceResult>
        <Result>int</Result>
        <SmaId>int</SmaId>
        <Parameters>
          <string>string</string>
          <string>string</string>
        </Parameters>
        <DebugMessage>string</DebugMessage>
      </RegisterDeviceResult>
    </RegisterDeviceResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /SunnyPortalWebBoxBaseService/SunnyPortalWebBoxBaseService.asmx HTTP/1.1
Host: com.sunny-portal.de
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <RegisterDevice xmlns="www.sunny-portal.de/WebServices/SunnyPortalWebBoxBaseService">
      <plantIdentifier>string</plantIdentifier>
      <device>
        <SerialNumber>string</SerialNumber>
        <FriendlyName>string</FriendlyName>
        <DeviceClass>UNKNOWN or OTHER or PV_PLANT or BEAM_PLANT or WEBBOX_PLANT or SI_PLANT or PV_INVERTER or SI_INVERTER or SC_INVERTER or DATALOGGER or WEBBOX or SBEAM or SBCL or SBC or SBCPLUS or SENSOR or SENSOR_COUNTER or SBEAM2 or SC_STRING_MONITOR_UNIT or SC_OPERATION_CONTROL or SC_PLANT or UNKNOWN_PLANT or TRACKING_DEVICE or POWERREDUCERBOX or HOMEMANAGER or HOMAN_PLANT or POWERSOCKET or WIND_INVERTER or MULTIGATE_PLANT or MULTIGATE or MODULE_INVERTER or DATAMODULE or IED_INVERTER or MOLDAU_PLANT or CLUSTERCONTROLLER or PV_INVERTER_BATTERY or IED_INVERTER_BATTERY or CONSUMER or SC_INVERTER_UPS or MLXINVERTERMANAGER or FUELSAVECONTROLLER or DC_MONITOR_UNIT or SOLARLOG or IED_BATTERY or MODULE_MAXIMIZER or COMGATEWAY</DeviceClass>
        <DeviceType>string</DeviceType>
        <MacAddress>string</MacAddress>
        <Version>string</Version>
      </device>
      <userAuthentication>
        <User>string</User>
        <Password>string</Password>
      </userAuthentication>
    </RegisterDevice>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <RegisterDeviceResponse xmlns="www.sunny-portal.de/WebServices/SunnyPortalWebBoxBaseService">
      <RegisterDeviceResult>
        <Result>int</Result>
        <SmaId>int</SmaId>
        <Parameters>
          <string>string</string>
          <string>string</string>
        </Parameters>
        <DebugMessage>string</DebugMessage>
      </RegisterDeviceResult>
    </RegisterDeviceResponse>
  </soap12:Body>
</soap12:Envelope>