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!
Step | Explanation |
---|---|
api_key | Only valid on Test environment. www.autoflex10.vip After validation the api_key will be valid on Acceptance and/or Production |
Authenticate endpoint | Will 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 body | oct_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
Step | Explanation |
---|---|
Validation | Explain your use of the API Autoflex will test this and check the logs |
api_key | Will now be valid on all our servers |
Related articles