This API is deprecated. See Add reporting for details.
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
Name | Type | Description |
---|---|---|
type |
string(128) | The type of account action. |
Response
None.
Account action type
Name | Type | Description |
---|---|---|
addAccount |
string(128) | Used when an account has been successfully added to the Sonos system for your service. |
Sample request
1 2 3 4 5 6 7 |
<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
1 2 3 4 5 6 7 8 |
<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> |