Xn
Last updated
Was this helpful?
Last updated
Was this helpful?
You will need an API user and an application in Xn. Reach out to your Xn rep. on how to do this.
You will need to enter the information from the new application that was just created as an API key entry in Middle. More information on Middle API Keys .
Follow these steps to set up a new API key for Xn in Middle:
Go to Apps in Middle
Go to the app
Click API Keys in the left-hand menu
Click to Add API key
Name the key and add whatever description you'd like
An API application will need to be created for each of your Xn customers. Because of this, you'll probably want to leave Is default? toggled off.
For the Payload you will need to get the following information from the Xn app that was created and enter it in JSON format (see below)
Toggle on Use allowed accounts?
Under Allowed Accounts search for the customer's account in Middle and select it
Click Save
Go to the customer account you are trying to authenticate and add a new Xn Leisure Hub app connection
Name the connection after the customer
Leave [Debug Display Only] Timestamp blank
Click Save
Enter the API user credentials created in Xn
Click Submit