Autoflex
Was dit behulpzaam?

From Acceptance (VIP) to Production (NL/EU)

What are the differences and how to proceed from Test to Production environment

Step 1: Authentication

The acceptance environment is hosted on this domain: autoflex10.vip

StepExplanation
api_keyOnly valid on Test environment. www.autoflex10.vip
After validation the api_key will be valid on Acceptance and/or Production
Authenticate endpointWill return the environment and api_url of the requested client (klant)

For subsequent calls always use the api_url returned bij the authentication endpoint
Response bodyoct_server_url = for internal Autoflex usage only
environment = Client environment, can be either: Acceptatie, Productie
api_url = URL to follow for the actual RESTP/API server-farm
token_valid_until = EPOC time until the token is valid
token = UUID token, to use for subsequent requests

VIP, NL & EU

The return value api_url, will point to the correct server-farm where the client is hosted.
Authentication after the acceptance period is always done on the www.autoflex10.nl domain, the api_url will then point to the correct client location. This will be one of the following domains:

  • autoflex10.vip
  • autoflex10.nl
  • autoflex10.eu

If the client location differs from www.autoflex10.nl. You'll have to do another authentication with the correct api_url to get the correct token.

Step 2: How to proceed to Production

StepExplanation
ValidationExplain your use of the API
Autoflex will test this and check the logs
api_keyWill now be valid on all our servers