Forum Discussion
Payal
Director
Hi akashm,
Can you please try this one?
[COMMUNITY_URL]/restapi/vc/boards/id/[BOARD_ID]/message_statuses/available/add?message.status=key/pending_closure
Thanks!
akashm
3 years agoMentor
Thanks Payal didn't really work.
Request:
https://<MY URL>/restapi/vc/boards/id/<My Board ID>/message_statuses/add?message_status=key/pending_closure
Response:
<response status="error">
<error code="501">
<message>
Unknown path element at node 'board_message_status_context'.
</message>
</error>
</response>
- AdamN3 years agoKhoros Oracle
akashm It looks like you're missing the /available path in the request.
At community level, when creating the status, the path is:
/restapi/vc/message_statuses/add
At the board level, when associating the already created status with the board, the path is:
/restapi/vc/boards/id/<board id>/message_statuses/available/add
So for your last example, it would be something like:
https://<MY URL>/restapi/vc/boards/id/<My Board ID>/message_statuses/available/add?message_status=key/pending_closure
Please give this a try instead
Related Content
- 9 months ago
- 12 months ago
- 2 years ago