PUT api/application-mail-options

Updates ApplicationMailOptions.



Request Information

URI Parameters

None.



Body Parameters

UpdateApplicationMailOptionsViewModel
NameDescriptionTypeAdditional information
ContentTextColor

string

None.

EmailSenderName

string

None.

HeaderImageUrl

string

None.

HeaderTextColor

string

None.

PictureId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ContentTextColor": "sample string 1",
  "EmailSenderName": "sample string 2",
  "HeaderImageUrl": "sample string 3",
  "HeaderTextColor": "sample string 4",
  "PictureId": 1
}

application/xml, text/xml

Sample:
<UpdateApplicationMailOptionsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <ContentTextColor>sample string 1</ContentTextColor>
  <EmailSenderName>sample string 2</EmailSenderName>
  <HeaderImageUrl>sample string 3</HeaderImageUrl>
  <HeaderTextColor>sample string 4</HeaderTextColor>
  <PictureId>1</PictureId>
</UpdateApplicationMailOptionsViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.



Response Information

Resource Description

A ReadMailOptionsViewModel representing the updated ApplicationMailOptions.

ReadMailOptionsViewModel

NameDescriptionTypeAdditional information
Base64Image

string

None.

ContentTextColor

string

None.

EmailSenderName

string

None.

HeaderImageUrl

string

None.

HeaderTextColor

string

None.

PictureId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Base64Image": "sample string 1",
  "ContentTextColor": "sample string 2",
  "EmailSenderName": "sample string 3",
  "HeaderImageUrl": "sample string 4",
  "HeaderTextColor": "sample string 5",
  "PictureId": 1
}

application/xml, text/xml

Sample:
<ReadMailOptionsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VobeSoft.Models.ViewModels">
  <Base64Image>sample string 1</Base64Image>
  <ContentTextColor>sample string 2</ContentTextColor>
  <EmailSenderName>sample string 3</EmailSenderName>
  <HeaderImageUrl>sample string 4</HeaderImageUrl>
  <HeaderTextColor>sample string 5</HeaderTextColor>
  <PictureId>1</PictureId>
</ReadMailOptionsViewModel>