POST api/Service/UpdateUserPreferences
Request Information
URI Parameters
None.
Body Parameters
UpdateUserPreferencesRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Input | UpdateUserPreferencesInputModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"Input": {
"UserNo": 1,
"AppTheme": "sample string 2",
"NotificationsPaused": true
}
}
application/xml, text/xml
Sample:
<UpdateUserPreferencesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BizMate.BizLayer">
<Input>
<AppTheme>sample string 2</AppTheme>
<NotificationsPaused>true</NotificationsPaused>
<UserNo>1</UserNo>
</Input>
</UpdateUserPreferencesRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UpdateUserPreferencesResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| OutPut | UpdateUserPreferencesOutPutModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"OutPut": {
"Success": true,
"Message": "sample string 2",
"AppTheme": "sample string 3",
"NotificationsPaused": true
}
}
application/xml, text/xml
Sample:
<UpdateUserPreferencesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BizMate.BizLayer">
<OutPut>
<AppTheme>sample string 3</AppTheme>
<Message>sample string 2</Message>
<NotificationsPaused>true</NotificationsPaused>
<Success>true</Success>
</OutPut>
</UpdateUserPreferencesResponse>