Forum Discussion

kjartan's avatar
kjartan
Contributor
10 years ago

Event subscription view_href

Hi,

 

Is there any way of getting restapi.response_style=view to work with event subscription? Everytime a new message is posted I receive a HTTP-POST XML call on my server but I cannot construct a URL of the message without doing a seperate external API-call (which I really don't want to do). I tried adding the parameter like this: /restapi/vc/events/subscriptions/events/name/MessageCreate/subscribe?restapi.response_style=view&event.callback_url=http://mywebsite.com/ without any success.... The XML I receive doesn't have the full nice view_href.

 

If this is not a possibility, is there any way I can construct the full forum message URL with only knowing the ID of the board, thread and message (without doing any API-call)?

 

Cheers,

Kjartan