Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

How to begin testing with the Autoflex 10 REST/API

Step 1:  Request an API_KEY

You will need to have an api_key, to request one:

Send an email to developer@autoflex.nl with your request.

Please specify why you want to have access to our REST/API

Step 2: Open our Swagger Tool page

Step

Explanation

  1. Start a browser

  2. https://openapi.autoflex10.dev/

  3. Supply api_key

  4. All the endpoint you have access to are shown

  1. Open te /authenticate endpoint

  2. Click 'Try out'

  3. Supply

    1. api_key

    2. username

    3. password

  4. Click 'Execute'

  1. If all parameters are correct

  2. The result will include token,
    this is the important part

  3. Copy token into clipboard CTRL-C
    Only the UUID value between the quotes

  1. Scroll to top of the Swagger page

  2. Click 'Authorize 🔒'

  3. Past token into 'Value:'

  4. Click 'Authorize'

  5. Click 'Close'

  1. The Swagger tool is ready to use

Other tools

Besides the Swagger tool other tools can be used to test the REST/API

  1. plain simple CURL

  2. Postman: https://www.postman.com/

  3. Insomnia REST client: https://insomnia.rest/

  4. SoapUI: https://www.soapui.org/

  5. and many other: https://alternativeto.net/software/postman/

Most tools can import the Swagger.json from this URL

https://www.autoflex10.dev/autoflex/servoy-service/velocity/webservice_v2/util/openapi?api-key=<api_key>

Related articles

  • No labels