POST api/Account/UpdateBrandingColors

Request Information

URI Parameters

None.

Body Parameters

UpdateBrandingColorRequestVM
NameDescriptionTypeAdditional information
Colors

Collection of ColorViewModel

None.

SubAccountId

string

None.

UserId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "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"
    }
  ],
  "SubAccountId": "sample string 1",
  "UserId": "sample string 2"
}

application/xml, text/xml

Sample:
<UpdateBrandingColorRequestVM 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 1</SubAccountId>
  <UserId>sample string 2</UserId>
</UpdateBrandingColorRequestVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.