reportAccountAction

Sonos uses reportAccountAction to report account actions on a Sonos player. You must enable the "Account Logging" capability to receive these reports from players. See Add capabilities for details.

Request parameters

NameTypeDescription
typestring(128)The type of account action.

Response

None.

Account action type

NameTypeDescription
addAccountstring(128)Used when an account has been successfully added to the Sonos system for your service.

Sample request

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <reportAccountAction xmlns="http://www.sonos.com/Services/1.1">
      <type>addAccount</type>
    </reportAccountAction>
  </soap:Body>
</soap:Envelope>

Sample response

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <reportAccountActionResponse xmlns="http://www.sonos.com/Services/1.1">
      <reportAccountActionResult>
      </reportAccountActionResult>
    </reportAccountActionResponse>
  </soap:Body>
</soap:Envelope>