Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: a little polish..

...

Download that document, sign, and send to roger@flexrentalsolutions.com. Once it's received, you will be provided a special "source" property you will need to get authentication tokens.

Accessing Your Own

...

API Documentation

Our API Documentation tool is Swagger UI. You can browse your own Swagger UI by using the template URL below.

Substitute in your own subdomain for "yourflexsite": https://yourflexsite.flexrentalsolutions.com/f5/swagger-ui.html

An Authentication Example With The Flex5 Dev

...

API

You can browse the cutting edge API's from Flex Dev here: https://flex5dev.flexrentalsolutions.com/f5/swagger-ui.html

...

Note: you will need to repeat this process for your own URL. Also note that your Flex site will only show the currently available public APIs which will differ from the flex5dev offerings.


Writing Your Own Code

When you write your code against the API, the process will be similar'ish. You'll have to post to the auth endpoint to get a token and then send it down in the X-Auth-Token header for ALL requests.

If you're token is close to expiring the server will kick out a refresh token in the X-Auth-Token-Refreshed header. Our app just sniffs for the refresh token on each request, and if it finds one, it just replaces the current one and starts sending the new one.

Good luck!