POST api/{database}/EmailAccount
Creates a new EmailAccount with the specified values
Request Information
Parameters
| Name | Description | Additional information | 
|---|---|---|
| value | The EmailAccount with the updated values. | Define this parameter in the request body. | 
Request body formats
application/json, text/json
            Sample:
        
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "displayName": "sample string 3",
  "emailAddress": "sample string 4",
  "host": "sample string 5",
  "isSecure": true,
  "password": "sample string 7",
  "port": 8,
  "provider": "sample string 9",
  "security": 0,
  "userName": "sample string 10"
}
        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"> <CanChange>true</CanChange> <CannotChangeReason>sample string 2</CannotChangeReason> <DisplayName>sample string 3</DisplayName> <EmailAddress>sample string 4</EmailAddress> <Host>sample string 5</Host> <IsSecure>true</IsSecure> <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> <Password>sample string 7</Password> <Port>8</Port> <Provider>sample string 9</Provider> <Security>None</Security> <UserName>sample string 10</UserName> </EmailAccount>
application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Response body formats
application/json, text/json
            Sample:
        
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "displayName": "sample string 3",
  "emailAddress": "sample string 4",
  "host": "sample string 5",
  "isSecure": true,
  "password": "sample string 7",
  "port": 8,
  "provider": "sample string 9",
  "security": 0,
  "userName": "sample string 10"
}
        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"> <CanChange>true</CanChange> <CannotChangeReason>sample string 2</CannotChangeReason> <DisplayName>sample string 3</DisplayName> <EmailAddress>sample string 4</EmailAddress> <Host>sample string 5</Host> <IsSecure>true</IsSecure> <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" /> <Password>sample string 7</Password> <Port>8</Port> <Provider>sample string 9</Provider> <Security>None</Security> <UserName>sample string 10</UserName> </EmailAccount>
