Articles in this section
Category / Section

Connect Carton Cloud in Bold BI via REST API

Published:

The Generic Web data source can be utilized to establish a connection between Carton Cloud and Bold BI through REST API.

Steps to connect Carton Cloud via the WEB API

  1. Obtain the client ID and client secret from Carton Cloud by referring to this link: https://help.cartoncloud.com/help/s/article/API-Clients.
  2. Create a Web API data source to retrieve the access token by performing the following actions:
    • Set the URL to https://api.cartoncloud.com/uaa/oauth/token.
    • Choose the POST method.
    • Set the parameters as follows:
      • grant_type: client_credentials.
    • Set the headers as follows:
      • Accept-Version: 1.
      • Content-Type: application/x-www-form-urlencoded.
      • Authentication type: Basic.
      • Username: Your client ID.
      • Password: Client secret.
  3. Create the data source and save the access token in the dashboard parameter.
    • Configure the dashboard parameter as shown in the image below:
      web1.png
  4. Save the data source.

The access token will expire after 1 hour. Configure the data source refresh to 1 hour or lesser to obtain a new access token automatically.

  1. Then, create another Web API data source for Carton Cloud endpoint.
  2. Here we will retrieve data from the Transport endpoint - https://api.cartoncloud.com/tenants/{tenantId}/products
  • carton token – Name of the previously created data source.
  • Parameter1 – Name of the dashboard parameter.
  1. Create the data source and save it.
  2. Utilize the data source to create dashboards.

Additional References

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
SM
Written by Siranjeevi Murugan
Updated:
Comments (0)
Please  to leave a comment
Access denied
Access denied