M4 API v2

From Kolmisoft Wiki
Revision as of 09:07, 3 June 2024 by Edvardas (talk | contribs)
Jump to navigationJump to search

About

M4 API lets other software interact with M4 without knowing the internal structure of the database (DB) and other logic.



M4 users that are allowed to use M4 API v2

  • Admin
  • Manager



Usage

Open GUI using M4 IP/domain http://IP_or_Domain/billing/api/v2 and put M4 IP/Domain to host.

M4 api v2 host.png

Expand the authentication and press on Try it out.

M4 api v2 tryitout.png

Enter User credentials (Admin or Manager) and press Execute.

M4 api v2 user credentials.png

Copy the token and use it for authorization.
Note: the token is valid for 2 hours.

M4 api v2 token.png

M4 api v2 authorize.png

M4 api v2 authorize2.png

Close the window when authorized.

M4 api v2 authorize3.png

Now you can use available APIs.

M4 api v2 available apis.png