NAV

Publication (Social Media)(Last Updated : 09/22/2020)

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 Facebook posts made. 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.
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

> 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,
  "facebook" :
  {
    "total" : 2,
    "posted" : 2,
    "failed" : 0
  }
}

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