PUT | /api/v1/configuration/application | Update application settings. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
BinFileName | body | string | No | Location of BIN files to be loaded from disk |
PinPadIdleMessage | body | string | No | Message to display on the PIN pad when it is idle. |
TestMode | body | string | No | Set to 'true' to be in Test/Certification mode or 'false' for Production mode. |
CorsAllowedOrigins | body | string | No | Sets the origins allowed to submit requests to triPOS using a comma separated string and HTTP prefix (Example: http://www.elementps.com, http://www.vantiv.com). To disable CORS support set the corsAllowedOrigins to an emptry string. To enable CORS for all domains set corsAllowOrigins to '*'. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ApplicationUpdated | body | bool | No | Success message for application settings update. |
BinFileName | body | string | No | Location of BIN files to be loaded from disk |
PinPadIdleMessage | body | string | No | Message to display on the PIN pad when it is idle. |
TestMode | body | string | No | Set to 'true' to be in Test/Certification mode or 'false' for Production mode. |
CorsAllowedOrigins | body | string | No | Sets the origins allowed to submit requests to triPOS |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Errors | body | List<ApiError> | No | A list of errors that occurred. |
HasErrors | body | bool | No | Indicates if there are errors. |
Links | body | IEnumerable<ApiLink> | No | A list of resource links |
Logs | body | List<string> | No | A list of log entries detailing what happened during the request. Ideally only used during development or troubleshooting as this can be quite verbose. |
Type | body | string | No | The type of object held in the result. |
Warnings | body | List<ApiWarning> | No | A list of warnings that occurred. |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/UpdateApplicationConfigurationRequest HTTP/1.1
Host: booking.pufferdayspa.com
Content-Type: application/json
Content-Length: length
{"binFileName":"String","pinPadIdleMessage":"String","testMode":"String","corsAllowedOrigins":"String"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"applicationUpdated":false,"binFileName":"String","pinPadIdleMessage":"String","testMode":"String","corsAllowedOrigins":"String","_errors":[{"userMessage":"String","developerMessage":"String","errorType":"String","exceptionMessage":"String","exceptionTypeFullName":"String","exceptionTypeShortName":"String"}],"_hasErrors":true,"_links":[{"href":"/api/v1/configuration/application","method":"GET","rel":"applicationConfiguration"},{"href":"/api/v1/configuration/application","method":"PUT","rel":"applicationConfiguration"}],"_logs":["String"],"_type":"String","_warnings":[{"developerMessage":"String","userMessage":"String"}]}