Api
Table of Contents
Classes
- AnonymizeUsersController
- API endpoint to anonymize POS users tied to points of sale.
- CreateUserController
- API Platform action controller triggered when a user is created.
- EditSaleController
- GenerateReferenceSaleController
- Provides a unique invoice reference, consistent between web and mobile.
- GetFundInformation
- Provides the mobile application with a point of sale's revenue aggregated by
day, by month and by the current year.
- GetFundListAndStatsController
- API action controller returning the list of a POS's fund movements along with
the aggregated balances (inflows, outflows and net balance).
- GetInformationDashboard
- Provides the mobile application with a point of sale's dashboard indicators:
number of sales, customers, products, suppliers and aggregated revenue.
- GetUsersByPointOfSale
- Exposes the list of active users attached to a given point of sale, consumed
notably by the mobile application.
- IdentificationController
- Step prior to mobile authentication: from an email, returns the list of points
of sale the user is attached to so they can choose which one to log in to.
- MarkSaleAsPaidController
- Mobile endpoint marking a deferred sale as paid, delegating the business rules
(rights, fund consistency) to the dedicated service.
- RefreshTokenController
- Manages the lifecycle of the mobile API refresh tokens: renewal of a JWT access
token, revocation of a token and revocation of all of a user's tokens.
- SessionSaleController
- API Platform action controller for mobile cash sessions.
- SystemTokenController
- Issues a "system" JWT for server-to-server integrations (for example
b-connect-business), authenticated with a shared API key.
- UpdateUserController
- Updates a user from the mobile API.