Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

A GC client can call this API to connect with Generic Connector.  

...

AttributeValueDescriptionSample Output
typeState


Code Block
languagejs
themeEclipse
titleAgent State
linenumberstrue
collapsetrue
{
  "type": "State",
  "agentId": "jehanzeb6",
  "state": "NOT_READY",
  "reasonCode": "8",
  "stateChangeTimeString": "",
  "pendingState": "",
  "stateChangeTime": "2019-09-17 12:46:21"
}


agentId
Agent ID
StateAgent state

From one of the following agent states: 

UNKNOWN,
READY,
NOT_READY,
LOGOUT,
TALKING,
RESERVED,
RESERVED_OUTBOUND,
RESERVED_OUTBOUND_PREVIEW,
WORK,
WORK_READY,
HOLD

reasonCode
Not Ready reason codes as defined in Finesse
stateChangeTimeString
not used
pendingState
Only available with UCCE and as passed by Cisco Finesse
stateChangeTime2019-09-17 12:46:21Date & Time of state change

...

Reason Codes 
Anchor
ReasonCodes
ReasonCodes

AttributeValueDescriptionSample Output
typeReasonCodes


Code Block
themeEclipse
titleReason Codes
linenumberstrue
collapsetrue
{
"type": "ReasonCodes",
"category": "WrapUp",
"reasonCodes": [
{
"1": "Complaint"
},
{
"2": "Inquiry New"
},
{
"3": "Conf call"
},
{
"4": "Transfer call"
},
{
"5": "Customer new call"
},
{
"6": "Old call customer"
},
{
"7": "Bill Inquiry"
}
],
"agentId": "jehanzeb4"
}


categoryWrapUp | LOGOUT | NOT_READYas passed in the request
reasonCodes
key-value pair of defined reason codes of the specified category
agentId
Agent ID


Consult Call State
Anchor
ConsultCall
ConsultCall

...