live chat,live help,live support Boldchat Web Service
API Reference
 
[ Programmer's Guide | API Reference Home ]


Class CallInfo

Instances of the CallInfo class contain information about one call.

Property Summary
Stringnotes
Operator notes about the call.
Calendaranswered
The Answered timestamp.
LongchatID
The chat ID.
StringchatName
The name of the chat visitor, if any.
Stringcity
The visitor's city.
Calendarclosed
The Closed timestamp, if the chat is inactive.
StringcountryCode
The ISO 3166-1 country code.
Calendarcreated
The Created timestamp.
LongcustomField1ID
The first custom field ID.
LongcustomField2ID
The second custom field ID.
LongdepartmentID
The department ID.
CalendardueDate
The due date.
Calendarended
Gets the Ended timestamp of the chat.
Calendarflagged
The flagged timestamp.
LongfolderID
The folder ID.
StringinitialQuestion
Gets the initial question, which is normally obtained either in the pre-chat survey or an auto-invite.
StringiP
The visitor's IP address.
StringlanguageCode
The visitor's ISO-639-1 language code.
LonglastAssignedByOperatorID
The ID of the operator that last assigned a chat.
LongoperatorID
The ID of the operator the chat is assigned to.
IntegeroperatorMessageCount
The count of messages sent by the operator.
BytepageType
The current page type.
StringregionCode
The visitor's region code.
LongrelatedToItemID
The ID of the item the chat is related to.
ByterelatedToItemType
The type of item the chat is related to.
StringreverseIP
The visitor's reverse IP.
Calendarstarted
Gets the Started timestamp of the chat.
StringsurveyComments
The post-chat survey comments.
IntegersurveyKnowledge
The "knowledge" evaluation from the post-chat survey.
IntegersurveyOverall
The "overall" evaluation from the post-chat survey.
IntegersurveyProfessionalism
The "professionalism" evaluation from the post-chat survey.
IntegersurveyResponsiveness
The "responsiveness" evaluation from the post-chat survey.
IntegerunrespondedMessageCount
The number of visitor messages without an answer.
Calendarupdated
Gets the Updated timestamp, which is the last time the chat record was updated.
LonguserCategoryID
The user category ID.
LonguserStatusID
The user status ID.
StringvisitEmailAddress
The visitor's email address.
LongvisitID
The visit ID.
StringvisitInfo
The visit info field.
LongvisitorClientID
IntegervisitorMessageCount
The number of visitor messages.
StringvisitPhone
The visitor's phone number
StringvisitRef
The VisitRef field.
LongwebsiteDefID
The website definition ID.
CalendarwindowClosed
The WindowClosed timestamp.
LongvisitorID
The ID of the visitor.

Property Detail
String notes

Operator notes about the call.

Calendar answered

The Answered timestamp.

Long chatID

The chat ID.

String chatName

The name of the chat visitor, if any.

String city

The visitor's city.

Calendar closed

The Closed timestamp, if the chat is inactive.

String countryCode

The ISO 3166-1 country code.

Calendar created

The Created timestamp.

Long customField1ID

The first custom field ID.

Long customField2ID

The second custom field ID.

Long departmentID

The department ID.

Calendar dueDate

The due date.

Calendar ended

Gets the Ended timestamp of the chat. In chats that have started, this field is set only after the chat has ended.

Calendar flagged

The flagged timestamp.

Long folderID

The folder ID.

String initialQuestion

Gets the initial question, which is normally obtained either in the pre-chat survey or an auto-invite.

String iP

The visitor's IP address.

String languageCode

The visitor's ISO-639-1 language code.

Long lastAssignedByOperatorID

The ID of the operator that last assigned a chat.

Long operatorID

The ID of the operator the chat is assigned to.

Integer operatorMessageCount

The count of messages sent by the operator.

Byte pageType

The current page type.
  • 0 - The "final" page type (where the call window is closed)
  • 1 - The pre-call survey form
  • 2 - The call page
  • 3 - The call was killed
  • 4 - The post-call survey form
  • 5 - The unavailable email form
  • 6 - The unavailable email submitted notice page
  • 7 - The "browser unsupported" page
  • 9 - The post-call survey submitted notice page
  • 10 - The call was blocked
  • 11 - The call was scheduled
  • 12 - The call was canceled
  • 13 - The call is joining

String regionCode

The visitor's region code.

Long relatedToItemID

The ID of the item the chat is related to.

Byte relatedToItemType

The type of item the chat is related to.
  • 2 - Contact
  • 3 - Ticket

String reverseIP

The visitor's reverse IP.

Calendar started

Gets the Started timestamp of the chat. The Started timestamp is set when the chat window is shown (not when the pre-chat survey is shown, for example).

String surveyComments

The post-chat survey comments.

Integer surveyKnowledge

The "knowledge" evaluation from the post-chat survey.

Integer surveyOverall

The "overall" evaluation from the post-chat survey.

Integer surveyProfessionalism

The "professionalism" evaluation from the post-chat survey.

Integer surveyResponsiveness

The "responsiveness" evaluation from the post-chat survey.

Integer unrespondedMessageCount

The number of visitor messages without an answer.

Calendar updated

Gets the Updated timestamp, which is the last time the chat record was updated.

Long userCategoryID

The user category ID.

Long userStatusID

The user status ID.

String visitEmailAddress

The visitor's email address.

Long visitID

The visit ID.

String visitInfo

The visit info field.

Long visitorClientID


Integer visitorMessageCount

The number of visitor messages.

String visitPhone

The visitor's phone number

String visitRef

The VisitRef field.

Long websiteDefID

The website definition ID.

Calendar windowClosed

The WindowClosed timestamp.

Long visitorID

The ID of the visitor.