POST api/{database}/ValidSmtpClientConfigurationCommand

Execute the ValidSmtpClientConfigurationCommand



Request Information

Parameters

NameDescriptionAdditional information
account The account.

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:
{
  "additionalMessage": "sample string 1",
  "emailAccount": {
    "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"
  },
  "smtpExceptionMessage": "sample string 2",
  "testMailState": 1
}

application/xml, text/xml

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