POST | /UserSettings | Creates or updates a user setting for the currently logged in user. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Section | form | string | No | |
IDKey | form | string | No | |
Contents | form | string | No |
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 /UserSettings HTTP/1.1
Host: api.jiwa.com.au
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Section":"String","IDKey":"String","Contents":"String"}