NAV

Publication (Social Media)(Last Updated : 01/04/2017)

PUT Publication

A report indicating whether your PUT Publication request was successfully posted or not will be pushed to your designated URL. If the post is successful, a summary of results will be returned for all the social-networking services that were included. If the post has failed, an error message will be returned that provides the reason for the failure.

Body Parameters

Parameter Description
push_id The key for the specific push message.
request_id The key for the specific request.
publication_id The keyword's unique ID number.
status The result of the request.
twitter The result of the Twitter post. See Twitter Object table below.
facebook The result of the Facebook posts. See Facebook Object table below.
status_code A code notifying the member of the reason for the error. Status Code List

> Twitter Object

Parameter Description
total Total amount of tweets posted.
posted Total number of tweets successfully posted.
failed Total number of failed tweets.

> Facebook Object

Parameter Description
total Total post amount.
posted Total number of successful posts.
failed Total number of failed posts.

Code sample for PUT Publication

"Example (Success):"
{
  "push_id" : 7778889990000,
  "request_id" : "1234561234567asdf123",
  "publication_id" : 987987987987,
  "twitter" :
  {
    "total" : 2,
    "posted" : 2,
    "failed" : 0
  },
  "facebook" :
  {
    "total" : 2,
    "posted" : 2,
    "failed" : 0
  }
}

"Example (Failure):"
{
  "push_id" : 7778889990000,
  "request_id" : "1234561234567asdf123",
  "status_code" : "MPPE2002"
}