GET | /customer/agent/callhistory | Get agent call history. |
---|
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /customer/agent/callhistory HTTP/1.1 Host: api.systematix.solutions Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ApiResponseOfCustomerAgentCallHistoryGetCustomerAgentCallHistoryGetResponsetxEhri_SY xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systematix.ExternalAPI.Model"> <Error> <_x003C_Code_x003E_k__BackingField>String</_x003C_Code_x003E_k__BackingField> <_x003C_Message_x003E_k__BackingField>String</_x003C_Message_x003E_k__BackingField> </Error> <Result> <History xmlns:d3p1="http://schemas.datacontract.org/2004/07/Systematix.Portal.ServiceModel.DTO"> <d3p1:ApiAgentCallHistory> <d3p1:AgentKey>String</d3p1:AgentKey> <d3p1:AgentName>String</d3p1:AgentName> <d3p1:CallId>String</d3p1:CallId> <d3p1:CallingNumber>String</d3p1:CallingNumber> <d3p1:Destination>String</d3p1:Destination> <d3p1:DnisPresentation>String</d3p1:DnisPresentation> <d3p1:Duration>0</d3p1:Duration> <d3p1:InSession>false</d3p1:InSession> <d3p1:SessionEndUtc>0001-01-01T00:00:00</d3p1:SessionEndUtc> <d3p1:SessionStartUtc>0001-01-01T00:00:00</d3p1:SessionStartUtc> <d3p1:WaitTime>0</d3p1:WaitTime> </d3p1:ApiAgentCallHistory> </History> </Result> </ApiResponseOfCustomerAgentCallHistoryGetCustomerAgentCallHistoryGetResponsetxEhri_SY>