### GET /streaming/account/{{accountId}}/provider_settings
GET {{host}}/streaming/account/{{accountId}}/provider_settings
Accept: application/vnd.bose.streaming-v1.2+xml
Authorization: Bearer {{token}}
Content-Type: application/vnd.bose.streaming-v1.2+xml
User-Agent: Bose_Lisa/27.0.6

> {%
    client.test("Request executed successfully", function() {
        client.assert(response.status === 200, "Response status is not 200");
    });

    client.test("Response content-type is correct", function() {
        var type = response.contentType.mimeType;
        client.assert(type === "application/vnd.bose.streaming-v1.2+xml", "Expected 'application/vnd.bose.streaming-v1.2+xml' but received '" + type + "'");
    });

    client.test("Response body structure", function() {
        client.assert(response.body.getElementsByTagName("providerSettings").length > 0, "Missing 'providerSettings' root element");
        client.assert(response.body.getElementsByTagName("providerSetting").length > 0, "Missing 'providerSetting' elements");
    });

    client.test("All providerSettings have required children", function() {
        var settings = response.body.getElementsByTagName("providerSetting");
        for (var i = 0; i < settings.length; i++) {
            var setting = settings[i];
            client.assert(setting.getElementsByTagName("boseId")[0].textContent.length > 0, "Setting " + i + " missing or empty 'boseId'");
            client.assert(setting.getElementsByTagName("keyName")[0].textContent.length > 0, "Setting " + i + " missing or empty 'keyName'");
            client.assert(setting.getElementsByTagName("value")[0].textContent.length > 0, "Setting " + i + " missing or empty 'value'");
            client.assert(setting.getElementsByTagName("providerId")[0].textContent.length > 0, "Setting " + i + " missing or empty 'providerId'");
        }
    });
%}
