GET Softphone/GetNextEvent?agentId={agentId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
agentId

integer

Required

Body Parameters

None.

Response Information

Resource Description

ObjDBEvent
NameDescriptionTypeAdditional information
EventId

integer

None.

EventTypeId

EnumEventTypeId

None.

EventData

string

None.

CampaignId

integer

None.

AgentId

integer

None.

EventTo

string

None.

AgentStatusId

EnumAgentStatusId

None.

Response Formats

application/json, text/json

Sample:
{
  "EventId": 1,
  "EventTypeId": 0,
  "EventData": "sample string 2",
  "CampaignId": 3,
  "AgentId": 4,
  "EventTo": "sample string 5",
  "AgentStatusId": 0
}

application/xml, text/xml

Sample:
<ObjDBEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DBSoftphone">
  <AgentId>4</AgentId>
  <AgentStatusId>Nothing</AgentStatusId>
  <CampaignId>3</CampaignId>
  <EventData>sample string 2</EventData>
  <EventId>1</EventId>
  <EventTo>sample string 5</EventTo>
  <EventTypeId>Nothing</EventTypeId>
</ObjDBEvent>