POST api/{database}/ValidSmtpClientConfigurationCommand
Execute the ValidSmtpClientConfigurationCommand
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
account | The account. |
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, "tokenError": "sample string 12", "userName": "sample string 13" }
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> <TokenError>sample string 12</TokenError> <UserName>sample string 13</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": [], "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, "tokenError": "sample string 12", "userName": "sample string 13" }, "emailSubject": "sample string 2", "emailText": "sample string 3", "smtpExceptionMessage": "sample string 4", "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:AuthorizationCode>sample string 1</d2p1:AuthorizationCode> <d2p1:CanChange>true</d2p1:CanChange> <d2p1:CannotChangeReason>sample string 3</d2p1:CannotChangeReason> <d2p1:DisplayName>sample string 4</d2p1:DisplayName> <d2p1:EmailAddress>sample string 5</d2p1:EmailAddress> <d2p1:Host>sample string 6</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 8</d2p1:Password> <d2p1:Port>9</d2p1:Port> <d2p1:Provider>sample string 10</d2p1:Provider> <d2p1:RedirectUri>sample string 11</d2p1:RedirectUri> <d2p1:Security>None</d2p1:Security> <d2p1:TokenError>sample string 12</d2p1:TokenError> <d2p1:UserName>sample string 13</d2p1:UserName> </EmailAccount> <EmailSubject>sample string 2</EmailSubject> <EmailText>sample string 3</EmailText> <SmtpExceptionMessage>sample string 4</SmtpExceptionMessage> <TestMailState>Send</TestMailState> </ValidSmtpClientConfigurationCommand>