| Boldchat Web Service API Reference |
CustomerService class provides access to
account data with queries that are functionally similar
to those found in Boldchat client grids.
| General Method Summary | |
|---|---|
| OperatorsResult | getOperators()
Gets login records belonging to the current account. |
| OperatorInfo | getOperatorByID(Long operatorID)
Looks up an account operator given an ID. |
| OperatorClientsResult | getOperatorClients()
Gets operator clients currently logged in to the server. |
| FoldersResult | getFolders()
Gets folders associated with the account. |
| FoldersResult | getChatFolders()
Gets chat folders associated with the account. |
| FoldersResult | getContactFolders()
Gets contact folders associated with the account. |
| FoldersResult | getEmailFolders()
Gets email folders associated with the account. |
| FoldersResult | getTicketFolders()
Gets ticket folders associated with the account. |
| FoldersResult | getVisitFolders()
Gets visit folders associated with the account. |
| FolderInfo | getFolderByID(Long folderID)
Gets a folder record given its ID. |
| Chats Method Summary | |
|---|---|
| ChatsResult | getInactiveChats(GetInactiveChatsInfo getChatsInfo)
For a given folder, this method gets chats that are closed. |
| CustomFieldsResult | getChatCustomFields(Long chatID)
Gets the custom fields of a chat. |
| ChatMessagesResult | getChatMessages(GetChatMessagesInfo getChatMessagesInfo)
This method gets all chat messages belonging to a chat. |
| ChatInfo | getChatByID(Long chatID)
Gets a chat given its ID. |
| Calls Method Summary | |
|---|---|
| CustomFieldsResult | getCallCustomFields(Long callID)
Gets the custom fields of a call. |
| CallsResult | getInactiveCalls(GetInactiveCallsInfo getCallsInfo)
For a given folder, this method returns a collection of calls that are closed. |
| CallInfo | getCallByID(Long callID)
Gets a call given an ID. |
| Contacts Method Summary | |
|---|---|
| ContactsResult | getContacts(GetContactsInfo getContactsInfo)
This method gets all contacts in a folder. |
| ContactInfo | getContactByID(Long contactID)
Gets a contact given its ID. |
| Tickets Method Summary | |
|---|---|
| TicketsResult | getOpenTickets(GetTicketsInfo getTicketsInfo)
For a given folder, this method gets tickets that are not closed. |
| TicketsResult | getClosedTickets(GetTicketsWithDateRangeInfo getTicketsInfo)
For a given folder, this method gets tickets that are closed. |
| TicketsResult | getTickets(GetTicketsWithDateRangeInfo getTicketsInfo)
This method gets all tickets in a folder. |
| TicketInfo | getTicketByID(Long ticketID)
Gets a ticket given its ID. |
| Visits Method Summary | |
|---|---|
| VisitsResult | getInactiveVisits(GetVisitsWithDateRangeInfo getVisitsInfo)
For a given folder, this method gets all visits that are closed. |
| PageViewsResult | getPageViews(GetPageViewsInfo getPageViewsInfo)
This method gets all page views belonging to a visit. |
| VisitInfo | getVisitByID(Long visitID)
Gets a visit given its ID. |
| Conversions Method Summary | |
|---|---|
| ConversionsResult | getConversions(GetConversionsWithDateRangeInfo getConversionsInfo)
For a given folder, this method gets all conversions created in the given date range. |
| Emails Method Summary | |
|---|---|
| EmailThreadsResult | getOpenEmailThreads(GetEmailThreadsInfo getEmailThreadsInfo)
For a given folder, this method gets all email threads that are not closed. |
| EmailThreadsResult | getClosedEmailThreads(GetEmailThreadsWithDateRangeInfo getEmailThreadsInfo)
For a given folder, this method gets all email threads that are closed. |
| EmailThreadsResult | getEmailThreads(GetEmailThreadsWithDateRangeInfo getEmailThreadsInfo)
This method gets all email threads in a folder. |
| EmailsResult | getEmails(GetEmailsInfo getEmailsInfo)
This method gets all emails belonging to an email thread. |
| EmailThreadInfo | getEmailThreadByID(Long emailThreadID)
Gets an email thread given its ID. |
| Method Detail |
|---|
OperatorsResult getOperators()
Gets login records belonging to the current account.
Returns:An array of OperatorInfo instances.
OperatorInfo getOperatorByID(Long operatorID)
Looks up an account operator given an ID.
Parameters:operatorID - The unique ID of the operator.
Returns:An instance of OperatorInfo .
OperatorClientsResult getOperatorClients()
Gets operator clients currently logged in to the server.
Returns:An array of OperatorClientInfo instances.
FoldersResult getFolders()
Gets folders associated with the account.
Returns:An array of FolderInfo records.
FoldersResult getChatFolders()
Gets chat folders associated with the account.
Returns:An array of FolderInfo records.
FoldersResult getContactFolders()
Gets contact folders associated with the account.
Returns:An array of FolderInfo records.
FoldersResult getEmailFolders()
Gets email folders associated with the account.
Returns:An array of FolderInfo records.
FoldersResult getTicketFolders()
Gets ticket folders associated with the account.
Returns:An array of FolderInfo records.
FoldersResult getVisitFolders()
Gets visit folders associated with the account.
Returns:An array of FolderInfo records.
ChatsResult getInactiveChats(GetInactiveChatsInfo getChatsInfo)
For a given folder, this method gets chats that are closed. Account folders can be obtained by invoking getFolders .
Parameters:getChatsInfo - An instance ofGetInactiveChatsInfocontaining a folder ID, and optionally start and end dates.
Returns:An instance ofChatsResultcontaining an array of chat records.
CustomFieldsResult getChatCustomFields(Long chatID)
Gets the custom fields of a chat.
Parameters:chatID - A valid chat ID.
CustomFieldsResult getCallCustomFields(Long callID)
Gets the custom fields of a call.
Parameters:callID - A valid call ID.
CallsResult getInactiveCalls(GetInactiveCallsInfo getCallsInfo)
For a given folder, this method returns a collection of calls that are closed. Account folders can be obtained by invoking getFolders .
Parameters:getCallsInfo - An object with query parameters.
ContactsResult getContacts(GetContactsInfo getContactsInfo)
This method gets all contacts in a folder. Account folders can be obtained by invoking getFolders .
Parameters:getContactsInfo - An instance ofGetContactsInfocontaining a folder ID.
Returns:An instance ofContactsResultcontaining an array of contact records.
TicketsResult getOpenTickets(GetTicketsInfo getTicketsInfo)
For a given folder, this method gets tickets that are not closed. Account folders can be obtained by invoking getFolders .
Parameters:getTicketsInfo - An instance ofGetTicketsInfocontaining a folder ID.
Returns:An instance ofTicketsResultcontaining an array of ticket records.
TicketsResult getClosedTickets(GetTicketsWithDateRangeInfo getTicketsInfo)
For a given folder, this method gets tickets that are closed. Account folders can be obtained by invoking getFolders .
Parameters:getTicketsInfo - An instance ofGetTicketsWithDateRangeInfocontaining a folder ID and optionally start and end dates.
Returns:An instance ofTicketsResultcontaining an array of ticket records.
TicketsResult getTickets(GetTicketsWithDateRangeInfo getTicketsInfo)
This method gets all tickets in a folder. Account folders can be obtained by invoking getFolders .
Parameters:getTicketsInfo - An instance ofGetTicketsWithDateRangeInfocontaining a folder ID and optionally start and end dates.
Returns:An instance ofTicketsResultcontaining an array of ticket records.
VisitsResult getInactiveVisits(GetVisitsWithDateRangeInfo getVisitsInfo)
For a given folder, this method gets all visits that are closed. Account folders can be obtained by invoking getFolders .
Parameters:getVisitsInfo - An instance ofGetVisitsWithDateRangeInfocontaining a folder ID and optionally start and end dates.
Returns:An instance ofVisitsResultcontaining an array of visit records.
ConversionsResult getConversions(GetConversionsWithDateRangeInfo getConversionsInfo)
For a given folder, this method gets all conversions created in the given date range. Account folders can be obtained by invoking getFolders .
Parameters:getConversionsInfo - An instance ofGetConversionsWithDateRangeInfocontaining a folder ID and optionally start and end dates.
Returns:An instance ofConversionsResultcontaining an array of conversion records.
EmailThreadsResult getOpenEmailThreads(GetEmailThreadsInfo getEmailThreadsInfo)
For a given folder, this method gets all email threads that are not closed. Account folders can be obtained by invoking getFolders .
Parameters:getEmailThreadsInfo - An instance ofGetEmailThreadsInfocontaining a folder ID.
Returns:An instance ofEmailThreadsResultcontaining an array of email thread records.
EmailThreadsResult getClosedEmailThreads(GetEmailThreadsWithDateRangeInfo getEmailThreadsInfo)
For a given folder, this method gets all email threads that are closed. Account folders can be obtained by invoking getFolders .
Parameters:getEmailThreadsInfo - An instance ofGetEmailThreadsWithDateRangeInfocontaining a folder ID and optionally start and end dates.
Returns:An instance ofEmailThreadsResultcontaining an array of email thread records.
EmailThreadsResult getEmailThreads(GetEmailThreadsWithDateRangeInfo getEmailThreadsInfo)
This method gets all email threads in a folder. Account folders can be obtained by invoking getFolders .
Parameters:getEmailThreadsInfo - An instance ofGetEmailThreadsWithDateRangeInfocontaining a folder ID and optionally start and end dates.
Returns:An instance ofEmailThreadsResultcontaining an array of email thread records.
ChatMessagesResult getChatMessages(GetChatMessagesInfo getChatMessagesInfo)
This method gets all chat messages belonging to a chat.
Parameters:getChatMessagesInfo - An instance ofGetChatMessageInfocontaining a chat identifier.
Returns:AChatMessagesResultinstance containing an array of chat message records.
EmailsResult getEmails(GetEmailsInfo getEmailsInfo)
This method gets all emails belonging to an email thread.
Parameters:getEmailsInfo - An instance ofGetEmailsInfocontaining an email thread identifier.
Returns:AEmailsResultinstance containing an array of email records.
PageViewsResult getPageViews(GetPageViewsInfo getPageViewsInfo)
This method gets all page views belonging to a visit.
Parameters:getPageViewsInfo - An instance ofGetPageViewsInfocontaining a visit identifier.
Returns:APageViewsResultinstance containing an array of page view records.
ChatInfo getChatByID(Long chatID)
Gets a chat given its ID.
Parameters:chatID - A valid chat ID.
CallInfo getCallByID(Long callID)
Gets a call given an ID.
Parameters:callID - The unique ID identifying the call.
ContactInfo getContactByID(Long contactID)
Gets a contact given its ID.
Parameters:contactID - A valid contact ID.
TicketInfo getTicketByID(Long ticketID)
Gets a ticket given its ID.
Parameters:ticketID - A valid ticket ID.
EmailThreadInfo getEmailThreadByID(Long emailThreadID)
Gets an email thread given its ID.
Parameters:emailThreadID - A valid email thread ID.
VisitInfo getVisitByID(Long visitID)
Gets a visit given its ID.
Parameters:visitID - A valid visit ID.
FolderInfo getFolderByID(Long folderID)
Gets a folder record given its ID.