Invoking Actions or Functions
NoteNote
Custom actions and functions are not supported in the current release of the REST API. The only functions available are the built-in Codes endpoint and Me endpoint.
While previous chapters have illustrated that basic CRUD operations are relatively easy, there may be scenarios where custom operations are needed.
OData provides support for functions and actions:
- Functions: Return data and must not have side effects.
- Actions: May change data and contain more complex logic.
Both can be treated as resources themselves and can be bound to existing resources.
Back to top