PUT api/User/UpdateProfileColors
Request Information
URI Parameters
None.
Body Parameters
UpdateUserProfileColorRequestVMName | Description | Type | Additional information |
---|---|---|---|
UserId | string |
Required |
|
SubAccountId | string |
Required |
|
Colors | Collection of ColorViewModel |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserId": "sample string 1", "SubAccountId": "sample string 2", "Colors": [ { "HexValue": "sample string 1", "RgbValue": { "R": "sample string 1", "G": "sample string 2", "B": "sample string 3", "A": "sample string 4" }, "Gradient": "sample string 2" }, { "HexValue": "sample string 1", "RgbValue": { "R": "sample string 1", "G": "sample string 2", "B": "sample string 3", "A": "sample string 4" }, "Gradient": "sample string 2" } ] }
application/xml, text/xml
Sample:
<UpdateUserProfileColorRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.AccountsAndUsers"> <Colors xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.Elements"> <d2p1:ColorViewModel> <d2p1:Gradient>sample string 2</d2p1:Gradient> <d2p1:HexValue>sample string 1</d2p1:HexValue> <d2p1:RgbValue> <d2p1:A>sample string 4</d2p1:A> <d2p1:B>sample string 3</d2p1:B> <d2p1:G>sample string 2</d2p1:G> <d2p1:R>sample string 1</d2p1:R> </d2p1:RgbValue> </d2p1:ColorViewModel> <d2p1:ColorViewModel> <d2p1:Gradient>sample string 2</d2p1:Gradient> <d2p1:HexValue>sample string 1</d2p1:HexValue> <d2p1:RgbValue> <d2p1:A>sample string 4</d2p1:A> <d2p1:B>sample string 3</d2p1:B> <d2p1:G>sample string 2</d2p1:G> <d2p1:R>sample string 1</d2p1:R> </d2p1:RgbValue> </d2p1:ColorViewModel> </Colors> <SubAccountId>sample string 2</SubAccountId> <UserId>sample string 1</UserId> </UpdateUserProfileColorRequestVM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.