Users management
The notion of user on the OGASYS side depends entirely on the rules specific to each of the installations. An introductory meeting should be scheduled at the beginning of the project to define the appropriate method.
You should know, however, that OGASYS does not keep any password which means that password management, and password changes, must be entirely managed by the service provider Web.
In addition, the process is different for B2B or B2C
B2C authentication process
The normal process for B2C transactions is as follows::
- The user logs in using their user/password
- A call must be made to the GET webusers?email={email}&session={session}&options={options} API to determine if the user is valid using the email address
- If the previous call is successful, the necessary information is retrieved
-
If this is not the case, registration must be carried out.
- Request the relevant information (Ex: name, address, etc.)
-
Make a call for creating the user via the API A call must be made to the POST webusers API to determine if the user is valid using the email address
It should be noted that according to the internal rules determined during the introductory meeting, a customer or delivery address may or may not be created.
B2B authentication process
The normal process for B2B transactions is as follows::
- Client activation is done at OGASYS level
- The user logs in using their user/password
- A call must be made to the GET webusers?email={email}&session={session}&options={options} API to determine if the user is valid using the email address
- If the previous call is successful, the necessary information is retrieved
- If this is not the case, the connection is refused. No user creation is done for B2B.