POST api/SMTP
Request Information
URI Parameters
None.
Body Parameters
Collection of SMTPNotification| Name | Description | Type | Additional information |
|---|---|---|---|
| status | string |
None. |
|
| resp_msg | string |
None. |
|
| event_label | string |
None. |
|
| event_code | integer |
None. |
|
| time_finished | integer |
None. |
|
| sender_id | integer |
None. |
|
| rcpt_to | string |
None. |
|
| tries | integer |
None. |
|
| mail_from | string |
None. |
|
| time_started | integer |
None. |
|
| resp_code | integer |
None. |
|
| tracking_id | string |
None. |
|
| resp_class | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"status": "sample string 1",
"resp_msg": "sample string 2",
"event_label": "sample string 3",
"event_code": 4,
"time_finished": 5,
"sender_id": 6,
"rcpt_to": "sample string 7",
"tries": 8,
"mail_from": "sample string 9",
"time_started": 10,
"resp_code": 11,
"tracking_id": "sample string 12",
"resp_class": 13
},
{
"status": "sample string 1",
"resp_msg": "sample string 2",
"event_label": "sample string 3",
"event_code": 4,
"time_finished": 5,
"sender_id": 6,
"rcpt_to": "sample string 7",
"tries": 8,
"mail_from": "sample string 9",
"time_started": 10,
"resp_code": 11,
"tracking_id": "sample string 12",
"resp_class": 13
}
]
application/xml, text/xml
Sample:
<ArrayOfSMTPNotification xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EmailDeliveryStatus.Models.SMTP">
<SMTPNotification>
<event_code>4</event_code>
<event_label>sample string 3</event_label>
<mail_from>sample string 9</mail_from>
<rcpt_to>sample string 7</rcpt_to>
<resp_class>13</resp_class>
<resp_code>11</resp_code>
<resp_msg>sample string 2</resp_msg>
<sender_id>6</sender_id>
<status>sample string 1</status>
<time_finished>5</time_finished>
<time_started>10</time_started>
<tracking_id>sample string 12</tracking_id>
<tries>8</tries>
</SMTPNotification>
<SMTPNotification>
<event_code>4</event_code>
<event_label>sample string 3</event_label>
<mail_from>sample string 9</mail_from>
<rcpt_to>sample string 7</rcpt_to>
<resp_class>13</resp_class>
<resp_code>11</resp_code>
<resp_msg>sample string 2</resp_msg>
<sender_id>6</sender_id>
<status>sample string 1</status>
<time_finished>5</time_finished>
<time_started>10</time_started>
<tracking_id>sample string 12</tracking_id>
<tries>8</tries>
</SMTPNotification>
</ArrayOfSMTPNotification>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.