REST/API
NL: Informatie over de Autoflex 10 REST/API
EN: Information about the Autoflex 10 REST/API
API/REST
All API/REST documentation will be in English
Credentials
All Autoflex 10 REST/API endpoints need a token, the token can be requested with the following endpoint
/authenticate
For the authtenticate endpoint the following information is mandatory
Name | Purpose |
|---|---|
api_key | Specific api_key per 3rd party, this provides the filter for the allowed end-points An api_key can be requested by an email to api@autoflex.nl please supply the information why and what you want access The api_key is in the UUID format Please keep the api_key save and private to your organisation |
organization_name | Leave this empty, this is a special purpose field |
username password | Specify: username + password per client (klant) |
token | After providing the above information, the authenticate endpoint will return an unique token |
| For the rest of all our endpoints provide the token from the authenticate endpoint. This token is valid for 30 minutes make sure the token is still valid when making requests. e.g. CURL samplecurl -X GET "https://www.autoflex10.work/autoflex/servoy-service/velocity/webservice_v2/util/environment?username=<myusername>" -H "accept: */*" -H "token: 1112222-3344-5555-6666-888899999" |
Testing
To test our API/REST endpoint use the following Swagger tool page:
OpenAPI inteface |
|---|
|
With the openApi (Swagger) interface you can directly test the Autoflex 10 API, this is also the go to page to open the documentatie and start a Discord discussion with one of our developers. |
OpenAPI JSON |
|---|
|
Using the first link on the openAPI page, with the filled in API-key will give you alle the openAPI in JSON format, this link can be used in your favorite API tool. Some popular API tools are: |
Sample of Bruno |
|