PUT api/{database}/EmailAccount

Updates the specified EmailAccount



Request Information

Parameters

NameDescriptionAdditional information
value The updated values for EmailAccount.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "messages": [],
  "authorizationCode": "sample string 1",
  "canChange": true,
  "cannotChangeReason": "sample string 3",
  "displayName": "sample string 4",
  "emailAddress": "sample string 5",
  "host": "sample string 6",
  "isSecure": true,
  "password": "sample string 8",
  "port": 9,
  "provider": "sample string 10",
  "redirectUri": "sample string 11",
  "security": 0,
  "userName": "sample string 12"
}

application/xml, text/xml

Sample:
<EmailAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
  <AuthorizationCode>sample string 1</AuthorizationCode>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 3</CannotChangeReason>
  <DisplayName>sample string 4</DisplayName>
  <EmailAddress>sample string 5</EmailAddress>
  <Host>sample string 6</Host>
  <IsSecure>true</IsSecure>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <Password>sample string 8</Password>
  <Port>9</Port>
  <Provider>sample string 10</Provider>
  <RedirectUri>sample string 11</RedirectUri>
  <Security>None</Security>
  <UserName>sample string 12</UserName>
</EmailAccount>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "messages": [],
  "authorizationCode": "sample string 1",
  "canChange": true,
  "cannotChangeReason": "sample string 3",
  "displayName": "sample string 4",
  "emailAddress": "sample string 5",
  "host": "sample string 6",
  "isSecure": true,
  "password": "sample string 8",
  "port": 9,
  "provider": "sample string 10",
  "redirectUri": "sample string 11",
  "security": 0,
  "userName": "sample string 12"
}

application/xml, text/xml

Sample:
<EmailAccount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.CRM.Edit">
  <AuthorizationCode>sample string 1</AuthorizationCode>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 3</CannotChangeReason>
  <DisplayName>sample string 4</DisplayName>
  <EmailAddress>sample string 5</EmailAddress>
  <Host>sample string 6</Host>
  <IsSecure>true</IsSecure>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <Password>sample string 8</Password>
  <Port>9</Port>
  <Provider>sample string 10</Provider>
  <RedirectUri>sample string 11</RedirectUri>
  <Security>None</Security>
  <UserName>sample string 12</UserName>
</EmailAccount>