| All Verbs | /userpreferences |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Result | form | List<UserPreference> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ErrorCodes | form | List<ErrorCode> | No | |
| Success | form | bool | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Code | form | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| UserId | form | int | No | |
| DisplayName | form | string | No | |
| PrefOnlineOnly | form | bool | No | |
| PrefLocationTotal | form | int | No | |
| PrefEmail | form | bool | No | |
| PrefServiceTotal | form | int | No | |
| PrefCommunicationTotal | form | int | No | |
| PrefLiteratureTotal | form | int | No | |
| MaintenanceDate | form | DateTime | No | |
| MaintenanceSource | 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 /userpreferences HTTP/1.1
Host: christiesscvreaderuat-ws.rapp-customers.co.uk
Accept: application/json
Content-Type: application/json
Content-Length: length
{}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"Result":[{"UserId":0,"DisplayName":"String","PrefOnlineOnly":false,"PrefLocationTotal":0,"PrefEmail":false,"PrefServiceTotal":0,"PrefCommunicationTotal":0,"PrefLiteratureTotal":0,"MaintenanceDate":"\/Date(-62135596800000-0000)\/","MaintenanceSource":"String"}],"ErrorCodes":[{"Code":0}],"Success":false,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}