To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
GET /app/settings-objects HTTP/1.1
Host: team.evovoice.io
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ListSettingsObjectsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.App">
<SettingsObjects>
<SettingsObject>
<Description>String</Description>
<EndpointType>PhoneNumber</EndpointType>
<Fields>
<SettingsField>
<DataField xmlns:d6p1="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data" i:nil="true" />
<DisplayName>String</DisplayName>
<Name>String</Name>
<PossibleValues>
<SettingsPossibleValue>
<DisplayName>String</DisplayName>
<Value xmlns:d8p1="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">
<d8p1:BoolValue>false</d8p1:BoolValue>
<d8p1:ListValue xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d9p1:ArrayOfKeyValueOfstringValue8Ahp2kgT i:nil="true" />
</d8p1:ListValue>
<d8p1:NumberValue>0</d8p1:NumberValue>
<d8p1:StringValue>String</d8p1:StringValue>
<d8p1:StructValue xmlns:d9p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
</Value>
</SettingsPossibleValue>
</PossibleValues>
<ReadOnly>false</ReadOnly>
<Type>NotSpecified</Type>
<Value xmlns:d6p1="http://schemas.datacontract.org/2004/07/Voice.Api.Flows.Data">
<d6p1:BoolValue>false</d6p1:BoolValue>
<d6p1:ListValue xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:ArrayOfKeyValueOfstringValue8Ahp2kgT i:nil="true" />
</d6p1:ListValue>
<d6p1:NumberValue>0</d6p1:NumberValue>
<d6p1:StringValue>String</d6p1:StringValue>
<d6p1:StructValue xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
</Value>
</SettingsField>
</Fields>
<Id>String</Id>
<Name>String</Name>
<ReadOnly>false</ReadOnly>
<Type>Endpoint</Type>
</SettingsObject>
</SettingsObjects>
</ListSettingsObjectsResponse>