Postman
  • 1 Minute to read
  • Dark
    Light

Postman

  • Dark
    Light

Article summary

Before using our Analytics API, you need to be given access. Learn more about how to do this here.

  1. You can import the Postman collection with either this link or this file.

  2. Select Retrieve Token.

  3. Enter Client ID and Client Secret as your username and password.

  4. Select Retrieve Token, a token will be saved and used in the next call automatically.

  5. Open Create Calculation.

  6. Now you need a JSON query. You can create one from scratch or use one from Mapp Intelligence:

    1. for example, you could go to Visitors > Traffic.

    2. Then click on the 3 dots menu, and select Copy JSON Configuration. Now you can paste the query into Postman. 
       

  7. Add your Configuration into the Body.

  8. Select Create Calculation.

  9. Call a resultUrl or statusUrl from the response:

    • if the result is available, Create Calculation will return the resultURL

    • if the result is not ready yet, the Status and a status URL will be returned. Once the result is ready, the response will update to a result Url 

  10. Call resultUrl to get the result.

Please note that onsite, if there are no values returned, you will see a 0. However, When using an API this will return as null. 


Was this article helpful?