API Reference Visma v0.1.0
modules
Modules
Visma module is the main interface used to communicate with visma API.
It required to have :visma
application started and a valid configuration
in config/config.exs
Visma API Elixir implementation. This module offers a way to play with visma API. It has been tested on the demo API, and should work as well on the main one. This is a low level interface, you should probably use other module to directly craft the correct request.
Visma API tokens lifetime is short. When using the API, after few minutes of usage, an expired token is returned. When dealing with document signature we cannot have this kind of error and we find a way to never lose our transaction. Visma.Manager was created to always maintain a correct state.
A more Elixir way to deal with API based on one data-structure updated with some functions. The final data-structure can be converted in map() and/or json() and sent into the wire.