If you are developing an Integration or creating a Javascript App that will be used in our BackOffice, or on the Till,
you can use this controller to save and retrieve settings for your Integration/App.
To retrieve your App Settings simply send a GET
request:
GET https://api.eposnowhq.com/api/integration/appsettings
Request body |
String | Required Your app settings as a JSON formated String |
To save your App Settings simply send a POST
request:
POST https://api.eposnowhq.com/api/integration/appsettings
Request Body |
String | Required Your app settings as a JSON formated String |
REQUEST: GET https://api.eposnowhq.com/API/Integrations/AppSettings/ { Authorization : Basic INSERT_API_ACCESS_TOKEN Content-Type: Application/json } RESPONSE: HTTP/1.1 200 OK { "Name": "My App Settings", "Customers": [{"Name":"Adam"},{"Name":"Tom"}] }
REQUEST: POST https://api.eposnowhq.com/API/Integrations/AppSettings/ { Authorization : Basic INSERT_API_ACCESS_TOKEN Content-Type: Application/json { "Name": "My App Settings", "Customers": [{"Name":"Adam"},{"Name":"Tom"}] } } RESPONSE: HTTP/1.1 200 OK { "Name": "My App Settings", "Customers": [{"Name":"Adam"},{"Name":"Tom"}] }