POST api/Connectors/GetAllMailer
Request Information
URI Parameters
None.
Body Parameters
MailerLister| Name | Description | Type | Additional information |
|---|---|---|---|
| Customer | string |
None. |
|
| Mailers | Collection of Connectors_Mailer |
None. |
|
| SearchCriteria | Connectors_Mailer |
None. |
|
| Pager | Pager |
None. |
|
| IsSuccess | boolean |
None. |
|
| Message | string |
None. |
|
| Value | Object |
None. |
Request Formats
application/json, text/json
Sample:
{
"Customer": "sample string 1",
"Mailers": [
{
"ID": 1,
"Descr": "sample string 2",
"Customer": "sample string 3",
"ConnectionType": 4,
"Tenant": "sample string 5",
"ClientId": "sample string 6",
"ClientSecret": "sample string 7",
"smtp": "sample string 8",
"smtpPort": 9,
"smtpusername": "sample string 10",
"smtppassword": "sample string 11",
"smtpEnableSSL": true,
"SecurityProtocol": 1,
"ValidateUser": "sample string 12",
"saveToSentItems": true,
"ColumnName": "sample string 13",
"SortDirection": "sample string 14",
"IsSuccess": true,
"Message": "sample string 16",
"Value": {}
},
{
"ID": 1,
"Descr": "sample string 2",
"Customer": "sample string 3",
"ConnectionType": 4,
"Tenant": "sample string 5",
"ClientId": "sample string 6",
"ClientSecret": "sample string 7",
"smtp": "sample string 8",
"smtpPort": 9,
"smtpusername": "sample string 10",
"smtppassword": "sample string 11",
"smtpEnableSSL": true,
"SecurityProtocol": 1,
"ValidateUser": "sample string 12",
"saveToSentItems": true,
"ColumnName": "sample string 13",
"SortDirection": "sample string 14",
"IsSuccess": true,
"Message": "sample string 16",
"Value": {}
}
],
"SearchCriteria": {
"ID": 1,
"Descr": "sample string 2",
"Customer": "sample string 3",
"ConnectionType": 4,
"Tenant": "sample string 5",
"ClientId": "sample string 6",
"ClientSecret": "sample string 7",
"smtp": "sample string 8",
"smtpPort": 9,
"smtpusername": "sample string 10",
"smtppassword": "sample string 11",
"smtpEnableSSL": true,
"SecurityProtocol": 1,
"ValidateUser": "sample string 12",
"saveToSentItems": true,
"ColumnName": "sample string 13",
"SortDirection": "sample string 14",
"IsSuccess": true,
"Message": "sample string 16",
"Value": {}
},
"Pager": {
"PageSize": 1,
"Take": 2,
"Skip": 3,
"CurrentPage": 4.0,
"TotalPage": "sample string 5",
"TotalRecord": 6.0
},
"IsSuccess": true,
"Message": "sample string 3",
"Value": {}
}
application/xml, text/xml
Sample:
<MailerLister xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Domain">
<IsSuccess>true</IsSuccess>
<Message>sample string 3</Message>
<Value />
<Customer>sample string 1</Customer>
<Mailers>
<Connectors_Mailer>
<IsSuccess>true</IsSuccess>
<Message>sample string 16</Message>
<Value />
<ClientId>sample string 6</ClientId>
<ClientSecret>sample string 7</ClientSecret>
<ColumnName>sample string 13</ColumnName>
<ConnectionType>4</ConnectionType>
<Customer>sample string 3</Customer>
<Descr>sample string 2</Descr>
<ID>1</ID>
<SecurityProtocol>1</SecurityProtocol>
<SortDirection>sample string 14</SortDirection>
<Tenant>sample string 5</Tenant>
<ValidateUser>sample string 12</ValidateUser>
<saveToSentItems>true</saveToSentItems>
<smtp>sample string 8</smtp>
<smtpEnableSSL>true</smtpEnableSSL>
<smtpPort>9</smtpPort>
<smtppassword>sample string 11</smtppassword>
<smtpusername>sample string 10</smtpusername>
</Connectors_Mailer>
<Connectors_Mailer>
<IsSuccess>true</IsSuccess>
<Message>sample string 16</Message>
<Value />
<ClientId>sample string 6</ClientId>
<ClientSecret>sample string 7</ClientSecret>
<ColumnName>sample string 13</ColumnName>
<ConnectionType>4</ConnectionType>
<Customer>sample string 3</Customer>
<Descr>sample string 2</Descr>
<ID>1</ID>
<SecurityProtocol>1</SecurityProtocol>
<SortDirection>sample string 14</SortDirection>
<Tenant>sample string 5</Tenant>
<ValidateUser>sample string 12</ValidateUser>
<saveToSentItems>true</saveToSentItems>
<smtp>sample string 8</smtp>
<smtpEnableSSL>true</smtpEnableSSL>
<smtpPort>9</smtpPort>
<smtppassword>sample string 11</smtppassword>
<smtpusername>sample string 10</smtpusername>
</Connectors_Mailer>
</Mailers>
<Pager>
<CurrentPage>4</CurrentPage>
<PageSize>1</PageSize>
<Skip>3</Skip>
<Take>2</Take>
<TotalPage>sample string 5</TotalPage>
<TotalRecord>6</TotalRecord>
</Pager>
<SearchCriteria>
<IsSuccess>true</IsSuccess>
<Message>sample string 16</Message>
<Value />
<ClientId>sample string 6</ClientId>
<ClientSecret>sample string 7</ClientSecret>
<ColumnName>sample string 13</ColumnName>
<ConnectionType>4</ConnectionType>
<Customer>sample string 3</Customer>
<Descr>sample string 2</Descr>
<ID>1</ID>
<SecurityProtocol>1</SecurityProtocol>
<SortDirection>sample string 14</SortDirection>
<Tenant>sample string 5</Tenant>
<ValidateUser>sample string 12</ValidateUser>
<saveToSentItems>true</saveToSentItems>
<smtp>sample string 8</smtp>
<smtpEnableSSL>true</smtpEnableSSL>
<smtpPort>9</smtpPort>
<smtppassword>sample string 11</smtppassword>
<smtpusername>sample string 10</smtpusername>
</SearchCriteria>
</MailerLister>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |