POST api/EmailQueue
Request Information
URI Parameters
None.
Body Parameters
EmailQueueName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
AccountId | integer |
None. |
|
FromEmail | string |
None. |
|
ToEmail | string |
None. |
|
Cc | string |
None. |
|
Bcc | string |
None. |
|
Subject | string |
None. |
|
Body | string |
None. |
|
IsInclude | boolean |
None. |
|
ScheduledTime | date |
None. |
|
LastRetryTime | date |
None. |
|
RetryCount | integer |
None. |
|
Sent | boolean |
None. |
|
Response | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "AccountId": 2, "FromEmail": "sample string 3", "ToEmail": "sample string 4", "Cc": "sample string 5", "Bcc": "sample string 6", "Subject": "sample string 7", "Body": "sample string 8", "IsInclude": true, "ScheduledTime": "2024-11-21T09:04:08.3001055+00:00", "LastRetryTime": "2024-11-21T09:04:08.3001055+00:00", "RetryCount": 1, "Sent": true, "Response": "sample string 11" }
application/xml, text/xml
Sample:
<EmailQueue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Model.Models.Email"> <AccountId>2</AccountId> <Bcc>sample string 6</Bcc> <Body>sample string 8</Body> <Cc>sample string 5</Cc> <FromEmail>sample string 3</FromEmail> <Id>1</Id> <IsInclude>true</IsInclude> <LastRetryTime>2024-11-21T09:04:08.3001055+00:00</LastRetryTime> <Response>sample string 11</Response> <RetryCount>1</RetryCount> <ScheduledTime>2024-11-21T09:04:08.3001055+00:00</ScheduledTime> <Sent>true</Sent> <Subject>sample string 7</Subject> <ToEmail>sample string 4</ToEmail> </EmailQueue>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>