Beta Server: https://wsapibeta.onefile.co.uk/api/v2.1
Practice Server: https://wsapi2.onefile.co.uk/api/v2.1
Live Server: https://wsapi.onefile.co.uk/api/v2.1
Firstly, submit a ticket to request an API Token. Once you've got a token:
- Call the POST /api/v2.1/Authentication endpoint
- Pass the X-CustomerToken in the header
- The Session will be returned in the body of the response
- Pass the Session as the X-TokenID in the header, to authenticate all other calls
The X-TokenID will expire 24 hours after being generated.
You'll need to Call the POST /api/v2.1/Authentication endpoint to get a new X-TokenID.