|
ADAPI
|
Class describes one item (interaction) assigned to the user. This maybe phone call, chat session etc. More...
Public Member Functions | |||||||
| void | showPopup (string title, string parentTitle, string line1, string line2, string line3, string line4, string labelAnswer, string labelScreen, string labelHangup) | ||||||
| Show the inbound item popup window. The window has the icon reflecting its media type, four lines of text and threee buttons. More... | |||||||
| void | showPopupV2 (string title, string parentTitle, string[] lines, string labelAnswer, string labelScreen, string labelHangup, ContactSource source, CustomerSegment segment, string photoUrl) | ||||||
| Show the inbound item popup window (v2). The window has the icon reflecting its media type, up to 6 lines of text, customer photo, segment and source and threee buttons. More... | |||||||
| void | updatePopupLine (int lineId, string text) | ||||||
Update the inbound item popup window line text.
| |||||||
| void | updatePopupButton (PopupAction button, string label, bool show) | ||||||
Update the inbound item popup window button status and label.
| |||||||
| void | hidePopup () | ||||||
| Close the inbound item popup window previously created by Item.showPopup(). More... | |||||||
| void | accept () | ||||||
| Accept the item. More... | |||||||
| void | stop () | ||||||
| Reject the inbound item without accepting. More... | |||||||
| void | complete () | ||||||
| Complete the item. Once this request is called, the item is completed and Item object is destroyed. More... | |||||||
| void | activate () | ||||||
| Activate the item. Only one item can be active at any single moment; activating an item automatically deactivates currently active item. More... | |||||||
| void | flag (bool flagged) | ||||||
| Set or clear flag on the item for reporting. More... | |||||||
| ResultCode | disposition (string dispositionId, string notes, DateTime? reschFrom, DateTime? reschTo, string reschPhone, string reschTZ, bool bVoiceSignature) | ||||||
| Set disposition for an item. More... | |||||||
| ResultCode | sendScreenPop (KVList data) | ||||||
| Send screenpop information More... | |||||||
Properties | |
| string | id [get] |
| Unique item ID. More... | |
| string | globalInteractionId [get] |
| Global Interaction ID. More... | |
| DateTime | startTime [get] |
| Item stat time. More... | |
| string | stepId [get] |
| ID of the interaction step currently associated with the item. More... | |
| bool | wasAnswered [get] |
| Specifies if the item was answered (accepted) by user. More... | |
| bool | isFlagged [get] |
| Specifies if the item is flagged by user. More... | |
| ItemState | state [get] |
| Specifies the current item's state. More... | |
| Direction | direction [get] |
| Item direction. More... | |
| string? | callId [get] |
| ID of the Call object associated with an item, if any. More... | |
| Call | call [get] |
| Reference to the Call object associated with an item, if any. More... | |
| KVList | screenPopData [get, set] |
| Screenpop data. This is KVList, actual content is defined by server and client implementation. More... | |
| MediaType | mediaType [get] |
| Item's media type. More... | |
| InteractionType | interactionType [get] |
| Item's interaction type. More... | |
| string | serviceId [get] |
| ID of the service associated with an item, if any. More... | |
| Service? | service [get] |
| Reference to the Service object associated with an item, if any. More... | |
| string | dispositionId [get] |
| ID of the disposition set for an item, if any. More... | |
| string | dispositionNotes [get] |
| Disposition notes for an item. More... | |
| DateTime? | reschFrom [get] |
| For rescheduling, the start of the reschedule time frame. More... | |
| DateTime? | reschTo [get] |
| For rescheduling, the end of the reschedule time frame. More... | |
| string | reschPhone [get] |
| For rescheduling, the phone number the call should be initiated to when rescheduled. More... | |
| string | reschTZ [get] |
| For rescheduling, the timezone for the reschedule time frame. More... | |
| int | deliveredDuration [get] |
| Returns the duration of the active media phase of the item (in seconds). More... | |
| bool | isQm [get] |
| Specifies if the item is a Quality Management (agent monitoring). Supervisors only. More... | |
| bool | isRecordingBanned [get] |
| Specifies if call recording is banned by caller. More... | |
| bool | isMonitoringBanned [get] |
| Specifies if call monitoring is banned by caller. More... | |
| bool | isMonitored [get] |
| Specifies if an item is being monitored by the supervisor. More... | |
| string | monitorMode [get] |
| Specifies the monitoring mode (only when isQm is True). More... | |
| string | monitoredItemId [get] |
| Specifies the ID of the item being monitored (only when isQm is True). More... | |
| string | workitemId [get] |
| ID of the workitem associated with and item. More... | |
| Workitem? | workitem [get] |
| Workitem object associated with and item. Only available after ItemWorkitemDataReadyCallback More... | |
| KVList | applicationData [get] |
| ??? More... | |
| KVList | attachedData [get] |
| Application data associated with an item. Actual content is specified by server's scenario's Attach Data blocks. More... | |
| KVList | desktopData [get] |
| Client (desktop) data. More... | |
| KVList | extChatData [get] |
| The web/mobile chat data. Defined by chat scenario and only applicable to items of Chat media. More... | |
| bool | userPromptPlaying [get] |
| Specifies if user defined promtp is being playing on the item (voice media only). More... | |
| string | failedItemId [get] |
| ??? More... | |
| string | priorItemId [get] |
| For related items, specifies the ID of the previous item in chain. More... | |
Class describes one item (interaction) assigned to the user. This maybe phone call, chat session etc.
| void ADAPI.Item.accept | ( | ) |
Accept the item.
| void ADAPI.Item.activate | ( | ) |
Activate the item. Only one item can be active at any single moment; activating an item automatically deactivates currently active item.
| void ADAPI.Item.complete | ( | ) |
Complete the item. Once this request is called, the item is completed and Item object is destroyed.
| ResultCode ADAPI.Item.disposition | ( | string | dispositionId, |
| string | notes, | ||
| DateTime? | reschFrom, | ||
| DateTime? | reschTo, | ||
| string | reschPhone, | ||
| string | reschTZ, | ||
| bool | bVoiceSignature | ||
| ) |
Set disposition for an item.
| dispositionId | Disposition ID. Should be one of dispositions configured for the item's service |
| notes | Disposition notes |
| reschFrom | For rescheduling, the start of the reschedule time frame |
| reschTo | For rescheduling, the end of the reschedule time frame |
| reschPhone | For rescheduling, the phone number for the next call |
| reschTZ | For rescheduling, the reschedule time frame time zone |
| bVoiceSignature | Marks item as having voice signature |
| void ADAPI.Item.flag | ( | bool | flagged | ) |
Set or clear flag on the item for reporting.
| flagged | Set flag if True, clear flag is False |
| void ADAPI.Item.hidePopup | ( | ) |
Close the inbound item popup window previously created by Item.showPopup().
| ResultCode ADAPI.Item.sendScreenPop | ( | KVList | data | ) |
Send screenpop information
| data | Screenpop data |
| void ADAPI.Item.showPopup | ( | string | title, |
| string | parentTitle, | ||
| string | line1, | ||
| string | line2, | ||
| string | line3, | ||
| string | line4, | ||
| string | labelAnswer, | ||
| string | labelScreen, | ||
| string | labelHangup | ||
| ) |
Show the inbound item popup window. The window has the icon reflecting its media type, four lines of text and threee buttons.
| title | Title for the popup window |
| parentTitle | Title of the popup parent window. |
| line1 | Content of the first text line |
| line2 | Content of the second text line |
| line3 | Content of the third text line |
| line4 | Content of the fourth text line |
| labelAnswer | Label for the "Answer" button. Clicking this button closes the popup and raises the AgentPlace.itemPopupClosedCallback event. |
| labelScreen | Label for the "See Screen" button. Clicking this button attempts to bring the popup/s parent window on top. |
| labelHangup | Label for the "Hangup" button. Clicking this button closes the popup and raises the AgentPlace.itemPopupClosedCallback event. |
| void ADAPI.Item.showPopupV2 | ( | string | title, |
| string | parentTitle, | ||
| string[] | lines, | ||
| string | labelAnswer, | ||
| string | labelScreen, | ||
| string | labelHangup, | ||
| ContactSource | source, | ||
| CustomerSegment | segment, | ||
| string | photoUrl | ||
| ) |
Show the inbound item popup window (v2). The window has the icon reflecting its media type, up to 6 lines of text, customer photo, segment and source and threee buttons.
| title | Title for the popup window |
| parentTitle | Title of the popup parent window. |
| lines | Array of up to 6 text lines |
| labelAnswer | Label for the "Answer" button. Clicking this button closes the popup and raises the AgentPlace.itemPopupClosedCallback event. |
| labelScreen | Label for the "See Screen" button. Clicking this button attempts to bring the popup/s parent window on top. |
| labelHangup | Label for the "Hangup" button. Clicking this button closes the popup and raises the AgentPlace.itemPopupClosedCallback event. |
| source | Customer source |
| segment | Customer segment |
| photoUrl | Customer photo URL |
| void ADAPI.Item.stop | ( | ) |
Reject the inbound item without accepting.
| void ADAPI.Item.updatePopupButton | ( | PopupAction | button, |
| string | label, | ||
| bool | show | ||
| ) |
Update the inbound item popup window button status and label.
| button | ID of the button to update |
| label | New text label of the button |
| show | Boolean flag specifying if button should be shown or hidden |
| void ADAPI.Item.updatePopupLine | ( | int | lineId, |
| string | text | ||
| ) |
Update the inbound item popup window line text.
| lineId | ID of the line to be updated; 0 to 3 |
| text | New content of the text line |
|
get |
???
|
get |
Application data associated with an item. Actual content is specified by server's scenario's Attach Data blocks.
|
get |
ID of the Call object associated with an item, if any.
|
get |
Returns the duration of the active media phase of the item (in seconds).
|
get |
Client (desktop) data.
|
get |
ID of the disposition set for an item, if any.
|
get |
Disposition notes for an item.
|
get |
The web/mobile chat data. Defined by chat scenario and only applicable to items of Chat media.
|
get |
???
|
get |
Global Interaction ID.
|
get |
Unique item ID.
|
get |
Item's interaction type.
|
get |
Specifies if the item is flagged by user.
|
get |
Specifies if an item is being monitored by the supervisor.
|
get |
Specifies if call monitoring is banned by caller.
|
get |
Specifies if the item is a Quality Management (agent monitoring). Supervisors only.
|
get |
Specifies if call recording is banned by caller.
|
get |
Specifies the ID of the item being monitored (only when isQm is True).
|
get |
Specifies the monitoring mode (only when isQm is True).
|
get |
For related items, specifies the ID of the previous item in chain.
|
get |
For rescheduling, the start of the reschedule time frame.
|
get |
For rescheduling, the phone number the call should be initiated to when rescheduled.
|
get |
For rescheduling, the end of the reschedule time frame.
|
get |
For rescheduling, the timezone for the reschedule time frame.
|
getset |
Screenpop data. This is KVList, actual content is defined by server and client implementation.
|
get |
ID of the service associated with an item, if any.
|
get |
Item stat time.
|
get |
Specifies the current item's state.
|
get |
ID of the interaction step currently associated with the item.
|
get |
Specifies if user defined promtp is being playing on the item (voice media only).
|
get |
Specifies if the item was answered (accepted) by user.
|
get |
Workitem object associated with and item. Only available after ItemWorkitemDataReadyCallback
|
get |
ID of the workitem associated with and item.