post deprecatedhttps://{instance}.response.lithium.com/api/v2/listening//discussion
Send one or more batches of messages to be assembled onto a case based on a reference message
Deprecated
Listening API v2 has been deprecated and should not be used for new custom integrations. For custom integrations, please contact your Khoros representative.
Details
Sends one or more batches of messages to be assembled onto a case based on a reference message. Each discussion can also accept an option network source name. For each discussion, there must be exactly one message with the isReferenceDoc
parameter set to true
. All parameters and messages in a discussion must be valid. Otherwise, the entire discussion will be rejected.
See Listening API object definitions to build your JSON payload.
[
{
"networkSourceName": "MicroSite A",
"messages": [
{
"network":"custom",
"networkinstance":"www.bricktube.com",
"id":"bt_ref_054",
"postContent":"Post 54: reference post",
"author":{
"name":"BT 001",
"screenName":"btsn 001",
"id":"bt_001",
"location":"bricks, TX",
"profileUrl":"http://brickset.com/sets/10679-1/Pirate-Treasure-Hunt",
"avatarUrl":"http://farm5.static.flickr.com/4064/4248967654_49ee7fc8b4.jpg"
},
"receiveDate":1433118485000,
"publishDate":1433118485000,
"url":"http://brickset.com/sets/10679-1/Pirate-Treasure-Hunt",
"isPrivate":false,
"title":"reference posts are cool",
"text":"reference posts are cool",
"isReferenceDoc": "true"
},
{
"network":"custom",
"networkinstance":"www.bricktube.com",
"id":"bt_child_054a",
"postContent":"54a: child post",
"author":{
"name":"BT 002",
"screenName":"btsn 002",
"id":"bt_002",
"location":"2bricks, TX",
"profileUrl":"http://brickset.com/sets/10247-1/Ferris-Wheel",
"avatarUrl":"http://www.wackyowl.com/wp-content/uploads/2010/02/Toruk-lego-avatar-2.jpg"
},
"receiveDate":1433118485001,
"publishDate":1433118485001,
"url":"http://brickset.com/sets/10247-1/Ferris-Wheel",
"isPrivate":false,
"title":"child documents are cool",
"text":"child documents are cool"
}
]
}
]