discussion/add - DiscussionID not returned?
Hi,
the idea for me using this plugin is, to implement discussions into certain pages of my application that are stored and managed in Vanilla.
If a user creates a discussion on a certain page, I want to store the new DiscussionID as a relation in my app.
So I call the "discussion/add"-method of the API.
It works great. The discussion is created and I can see it in the Vanilla Forum. But the problme now is, that the response of the "discussion/add"-call does not return the new DiscussionID which would be essential for me.
the idea for me using this plugin is, to implement discussions into certain pages of my application that are stored and managed in Vanilla.
If a user creates a discussion on a certain page, I want to store the new DiscussionID as a relation in my app.
So I call the "discussion/add"-method of the API.
It works great. The discussion is created and I can see it in the Vanilla Forum. But the problme now is, that the response of the "discussion/add"-call does not return the new DiscussionID which would be essential for me.
0
Comments
$this->SetJSON("DiscussionID", $DiscussionID);
Then the new discussion-id is also returned in the JSON-response.
David