To create a private app, you will need programming skills, a programming environment suitable for creating internet base Restful application calls. Manu Online API uses the industry standard OAuth2 for authentication. You will need to be familiar with the concepts of OAuth2 to successfully create a program.
We support Swagger API documentation. You can browse and try out our API with your own data by going to https://api.manuonline.com/swagger/ui/index. You do not need a private app to browse our Swagger pages but you do need a user with API rights and to have the Public integrations extension licensed in your system.
It is also possible to create webhooks. These are used to trigger actions in your application as a result of a Manu Online user doing something in the system, for instance saving partner data or activating a sales order. Webhooks are associated with private apps for security reasons. Even if you only use webhooks then you will still need to register a private app even if you don’t create code for it.
IMPORTANT: the various API keys and logins issued as part of private apps will allow a developer to gain access to read and modify your corporate data. Treat keys as confidential information. Store them securely and do not send them by unsecured email.
To use private apps, you need to license the “Private apps (API)” extension. Depending on the Edition of Manu Online that you are using and our current pricing policies this extension there may or may not be a charge for this extension or you may need to upgrade your Manu Online account to access it.
Once your app has been approved then the keys will be available. Go back to the private apps screen and click the Edit button next your app.
In addition to the above redirect url’s and client credentials, you will need to use the following OAuth2 settings. You will need to code the logic of getting and refreshing the tokens. We follow industry standards for OAuth2. There are a lot of public resources and training materials for OAuth2 on the internet. One example would be https://www.oauth.com/oauth2-servers/accessing-data/
Access tokens are valid for 30 minutes. Refresh tokens are valid for two years.
In summary the process is as follows:
Choose an end point and press Try it out! Data should be returned. The endpoint “/me” is a good place to test. It will just return your authenticated user name. You will also see the curl code that can be used.New Paragraph
Postman is a utility that is widely used in the industry for working with API’s. Their smallest version is available for free.
Follow Postman’s instructions to set up a new endpoint. Select OAuth2 as the authentication method. Copy the Postman Callback URL back to your app settings in Manu Online.
This is how the OAuth2 set up screen looks for Manu Online in the Postman API test utility.
Notice that Manu api allows only “authorization code” grant type.
After you request the token, you can see that Postman has received the Refresh token and used it to get the Access token:
When sending refresh token notice that it is valid for only one access token to retrieve. When receiving the access token Manu Api returns also a new refresh token. Store new refresh token for next access token retrieve.
Refresh token is sent in this way:
Here you can see the Access Token in Postman’s header:
Webhooks are data transfers triggered by an action by a user in Manu Online. They send data out from the system to the address specified. The server on the receiving end is often called the “listener”. While it is also possible to “get” data from your Manu Online account by using the API, webhooks have a huge advantage in that if there is a transmission error or business logic error on the listener, then the user will get immediate feedback and can try again.
VAT reg: GB 995439263
United Kingdom
Manu Online Ltd
4500 Parkway, Whiteley
Fareham
PO15 7AZ
International
Manu Online Oy
Veikkointie 4
03100 Nummela
Finland