2 Replies Latest reply on May 14, 2018 1:19 AM by ankit17

    Error while adding authors on Idea

    ankit17

      Hi,

       

      I'm getting error while adding authors to Idea. I already used below link for reference to attach authors while creating Idea but still unable to pass the request.

       

      Error: The remote server returned an error: (400) Bad Request.

       

      Link: Jive REST API v3.14 → Idea entity

       

      Also, please find below details of the request.

       

      API: https://zsassociates-preview.jiveon.com/api/core/v3/contents

       

      JSON Payload:

      {

        "type": "idea",

        "parent": "https://zsassociates-preview.jiveon.com/api/core/v3/places/1005",

        "visibility": "place",

        "categories": [

          "Automation Tools"

        ],

        "authorshipPolicy": "open",

        "authorship": "limited",

        "content": {

          "type": "text/html",

          "text": "<body><p>test</p><p><b>Practice Area: </b></p><p><b>Mention the name of Client or POD or Space you innovated with: </b>BI</p><p><b>Are you willing to enhance this idea further?: </b>Yes</p></body>"

        },

        "subject": "Testing A",

        "authors": {

          "emails": [

            {

              "value": "emailid of user",

              "jive_label": "Email"

            }

          ]

        },

        "tags": [

          "BI"

        ]

      }

       

       

      Any help would be appreciated.

       

      Thanks & Regards,

      Ankit Shrivastav

       

      Asif Hashmi umesh chape Vinay Padam Arun Bhosle