POST api/OmsUserProfile/UpdateUserPreferences
Request Information
URI Parameters
None.
Body Parameters
| Name | Description | Type | Additional Information |
|---|---|---|---|
| SitePreferenceID | integer |
None. |
|
| LocalePreferenceID | integer |
None. |
|
| LandingPagePreferenceID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"SitePreferenceID": 1,
"LocalePreferenceID": 2,
"LandingPagePreferenceID": 3
}
application/xml, text/xml
Sample:
<UpdateUserPreferencesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DECK.OMS.Domain.Models.API"> <LandingPagePreferenceID>3</LandingPagePreferenceID> <LocalePreferenceID>2</LocalePreferenceID> <SitePreferenceID>1</SitePreferenceID> </UpdateUserPreferencesRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
| Name | Description | Type | Additional Information |
|---|---|---|---|
| ResponseCode | APIResponseCodes |
None. |
|
| Message | string |
None. |
|
| CorrelationId | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ResponseCode": 0,
"Message": "sample string 1",
"CorrelationId": "sample string 2"
}
application/xml, text/xml
Sample:
<GenericResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DECK.Core.Common.Contracts.API"> <CorrelationId>sample string 2</CorrelationId> <Message>sample string 1</Message> <ResponseCode>Success</ResponseCode> </GenericResponse>