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