| In order to be able to use the functional profile, the service access data must be configured in a similar way to the technical profile. Here, however, the access type needs to bew set to ‘AMPAREX user/password’. Now it is possible to access the API with ones AMPAREX login credentials. The use of the ‘Alias’ and the subsequent use of the ‘Bearer token’ remains unchanged. |
| The functional profile login initially applies to AMPAREX user’s standard branch. Möchte man sich für eine andere Filiale anmelden, kann die Methode /axlogin verwendet werden: If an API user wants to register for another branch, the ‘axlogin’ method could be used: - this method is similar to using the technical profile, but the target branch can also be entered here. It cannot be used to login, since such request requires a bearer token.
- the newly obtained bearer token matches each request with the employee and the specified branch. It is therefore necessary to carry out all further requests with a new token
- Der Aufruf ist ähnlich dem des technischen Logins, allerdings kann hier eine Zielfiliale mitgegeben werden. Dieser Aufruf kann nicht initial zum Login verwendet weren, da dieser Request bereits ein Bearer-Token voraussetzt.
- Das neue zu erhaltende Bearer-Token identifiziert nun jeden Aufruf mit dem Mitarbeiter und der angegebenen Filiale. Daher ist es nötig alle weiteren Requests nun mit dem neuen Token durchzuführen.
|