Forum Discussion

jgroves's avatar
jgroves
Expert
13 years ago

Create thread/post from scratch

Does anyone have an example of how to use an API call to create a thread or post from scratch? I can't seem to find any examples online or in the REST documentation.

 

Thanks

  • Hi there,

     

    It's buried in the java docs, but it's there.  If you look at the "Board" section and click on 'Topics" you should see the posting information as well as the query arguements to include in the POST.

     

    The initial posting of the topic will return an ID that will then be used to link up replies.

     

    Example POST:  http://yourcommunity.lithium.com/communitid/restapi/vc/boards/id/boardid/messages/post/?message.subject=hey!

     

    Hope this helps!

     

  • ScottR's avatar
    ScottR
    Khoros Expert

    Hi there,

     

    It's buried in the java docs, but it's there.  If you look at the "Board" section and click on 'Topics" you should see the posting information as well as the query arguements to include in the POST.

     

    The initial posting of the topic will return an ID that will then be used to link up replies.

     

    Example POST:  http://yourcommunity.lithium.com/communitid/restapi/vc/boards/id/boardid/messages/post/?message.subject=hey!

     

    Hope this helps!