post https://api.astaraconnect.com/v1/credentials/register
A company can have got none, one or multiple provider credentials and this endpoint register new provider credentials for a company.
The providers that we manage at this moment with credentials are: 'cartrack', 'tuya', 'invoxia', 'silence' and 'targa'.
Register provider credentials with:
- data
- provider
- auto_import
- company_oid
For each provider we need the following data:
- Cartrack: 'url' and 'token'
- Tuya: 'client_id', 'client_secret' and 'api_endpoint'
- Invoxia: 'email' and 'password'
- Silence: 'login_id' and 'password'
- Targa: 'client_id' and 'client_secret'