broadcast_id, io_type, time_from, time_to, order_type, search_limit
This function allows users to list the talks of a broadcast. The results are grouped by contact. Note: For each contact, only the most recent message is shown.
*broadcast_id: broadcast ID.
*io_type: specifies the type of messages to be listed, either inbound or outbound. Value is "MCPTYPE_IN" and "MCPTYPE_OUT" respectively.
*time_from: the beginning of time frame. This field is used to filter results based on the date and time the message is sent or received. The date and time format is YYYY-MM-DD HH:MM:SS. Must be URL encoded.
*time_to: the end of time frame. This field is used to filter results based on the date and time the message is sent or received. The date and time format is YYYY-MM-DD HH:MM:SS. Must be URL encoded.
*order_type: specifies the list order.
*search_limit: constrains the number of search results that are returned. It can also be used for pagination of search results. Value is a number or two numbers split by a comma. With one number, the value specifies the maximum number of results to return from the beginning of the search results. With two numbers, the first number specifies the offset of the first result to return, and the second specifies the maximum number of results to return. Note: The offset of the first result is 0 (not 1). E.g., if value is "5", the first five search results will be returned; if value is "20,5", it will return maximum five results starting from the 21st result. Default value is 100.
The response contains the following attributes:
* mcp_talk_id: ID of the talk.
* mcp_channeltype_id: the channel type.
* sender: where the message appears to come from.
* recipient: the recipient that the message is sent to.
* contactbook_id: ID of the contact book.
* contact_id: ID of the contact.
* contact_name: name of the contact.
* content: message content which is encoded in hexadecimal format.
* task_io: specifies whether the message is inbound or outbound.
* status: status of the talk.
* talk_dt: the date and time of the talk.
* note: a note about the talk.
* msg_count: count of messages within the talk.
The following example shows a successful HTTP GET request and response.