HTTP Response

Ozeki HTTP API can return responses to HTTP requests in XML.

Example request using a HTTP GET command:

http://127.0.0.1:7780/command=ListActiveCalls
	

Example response:

<?xml version="1.0"?>
<Response>
<Code>200</Code>
<Message>Command successfully executed</Message>
<ActiveCalls>
<CallInfo>
<CallState>InCall</CallState>
<CallId>uteom</CallId>
<Source>1000</Source>
<CallerId>John Smith</CallerId>
<Destination>1001</Destination>
<StartTime>2013-07-01T10:49:07.9558+02:00</StartTime>
<RingDuration>2</RingDuration>
<TalkDuration>956</TalkDuration>
</CallInfo>
</ActiveCalls>
</Response>
	

More information