I've defined a server action in Odoo 10. It's easy to create a button in a view to call that server action by using the server actions ID. For example, if there server action's ID was 123:
<button name="123" type="action" string="Run Action"/>
Is there any way to call this action via the API? I'm not sure how to do this since the server action does not have a method name. It's just an ID. I also need to able to pass context to the action. Is this possible?