| Boldchat Web Service API Reference |
ChatInfo class contain information about one chat.
| Property Summary | |
|---|---|
| Date | answered The Answered timestamp. |
| Long | chatID The chat ID. |
| String | chatName The name of the chat visitor, if any. |
| Byte | chatStatusType The chat status. |
| Byte | chatType The chat type. |
| String | chatUrl The URL of the chat page. |
| Long | chatWindowDefID The ID of the chat window definition. |
| String | city The visitor's city. |
| Date | closed The Closed timestamp, if the chat is inactive. |
| String | countryCode The ISO 3166-1 country code. |
| Date | created The Created timestamp. |
| Long | customField1ID The first custom field ID. |
| Long | customField2ID The second custom field ID. |
| Long | departmentID The department ID. |
| Date | dueDate The due date. |
| Date | ended Gets the Ended timestamp of the chat. |
| Date | 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. |
| Byte | lastMessagePersonType The person type corresponding to the last chat message added to the 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. |
| 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. |
| String | reverseIP The visitor's reverse IP. |
| Date | started Gets the Started timestamp of the chat. |
| 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. |
| Date | 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. |
| Date | windowClosed The WindowClosed timestamp. |
| Long | visitorID The ID of the visitor. |
| Property Detail |
|---|
The Answered timestamp.
The chat ID.
The name of the chat visitor, if any.
The chat status.
- 0 - None
- 1 - Pre-Chat form
- 2 - In Chat
- 3 - Pre-Chat Form Closed
- 4 - Chat Ended
- 5 - Post-Chat Form
- 6 - Post-Chat Form Submitted
- 7 - Unavailable
- 8 - Unavailable Email Sent
The chat type.
- 0 - Chat Button
- 2 - Operator Invited
- 3 - Unavailable
- 4 - Auto Invited
The URL of the chat page.
The ID of the chat window definition.
The visitor's city.
The Closed timestamp, if the chat is inactive.
The ISO 3166-1 country code.
The Created timestamp.
The first custom field ID.
The second custom field ID.
The department ID.
The due date.
Gets the Ended timestamp of the chat. In chats that have started, this field is set only after the chat has ended.
The flagged timestamp.
The folder ID.
Gets the initial question, which is normally obtained either in the pre-chat survey or an auto-invite.
The visitor's IP address.
The visitor's ISO-639-1 language code.
The ID of the operator that last assigned a chat.
The person type corresponding to the last chat message added to the chat.
- 0 - Operator
- 1 - Visitor
The ID of the operator the chat is assigned to.
The count of messages sent by the operator.
The current page type.
- 0 Final
- 1 Chat
- 5 Post-Chat Form
- 6 Pre-Chat Form
- 7 Unavailable Form
- 9
- 10 Post-Chat Form Submitted
- 11 Unavailable Form Submitted
The visitor's region code.
The ID of the item the chat is related to.
The type of item the chat is related to.
- 2: Contact
- 3: Ticket
The visitor's reverse IP.
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).
The post-chat survey comments.
The "knowledge" evaluation from the post-chat survey.
The "overall" evaluation from the post-chat survey.
The "professionalism" evaluation from the post-chat survey.
The "responsiveness" evaluation from the post-chat survey.
The number of visitor messages without an answer.
Gets the Updated timestamp, which is the last time the chat record was updated.
The user category ID.
The user status ID.
The visitor's email address.
The visit ID.
The visit info field.
The number of visitor messages.
The visitor's phone number
The VisitRef field.
The website definition ID.
The WindowClosed timestamp.
The ID of the visitor.