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 /dashboard/call-center HTTP/1.1
Host: team.evovoice.io
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<CallCenterDashboard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Dashboard">
<Agents>
<CallCenterDashboardAgent>
<AgentState>String</AgentState>
<AvgBusyIn>String</AvgBusyIn>
<AvgWrapUp>String</AvgWrapUp>
<CallState>String</CallState>
<DateOfLastCall>String</DateOfLastCall>
<Id>String</Id>
<Name>String</Name>
<PercentAvailable>String</PercentAvailable>
<Queues xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1:string>
</Queues>
<SignInDuration>String</SignInDuration>
<SignInTime>String</SignInTime>
</CallCenterDashboardAgent>
</Agents>
<Calls>
<CallCenterDashboardCall>
<Agent>String</Agent>
<Customer>String</Customer>
<Duration>String</Duration>
<ExtraInfo>String</ExtraInfo>
<Hold>String</Hold>
<Id>String</Id>
<Queue>String</Queue>
<State>String</State>
</CallCenterDashboardCall>
</Calls>
<Queues>
<CallCenterDashboardQueue>
<AverageSpeedOfAnswer>String</AverageSpeedOfAnswer>
<ExpectedHoldTime>String</ExpectedHoldTime>
<ExpectedWaitTime>String</ExpectedWaitTime>
<IdleAgents>0</IdleAgents>
<LongestWaitingCall>String</LongestWaitingCall>
<Name>String</Name>
<NumAgents>0</NumAgents>
<NumCallsQueued>0</NumCallsQueued>
<UnavailableAgents>0</UnavailableAgents>
</CallCenterDashboardQueue>
</Queues>
</CallCenterDashboard>