I am trying to restore a User Story from Recycle bin, how do i do it (I only have the objectID of the user story available)?
Is there any examples?
There's no way to currently do this via WSAPI. The unsupported, undocumented way to do this is via the private /slm/recyclebin/restore.sp endpoint. You can see how it's used if you go to the recycle bin page and restore an item via the gear menu.