GET api/EmailQueue/GetByQueueId?id={id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
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. |
Response 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-21T08:39:35.2245015+00:00", "LastRetryTime": "2024-11-21T08:39:35.2245015+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-21T08:39:35.2245015+00:00</LastRetryTime> <Response>sample string 11</Response> <RetryCount>1</RetryCount> <ScheduledTime>2024-11-21T08:39:35.2245015+00:00</ScheduledTime> <Sent>true</Sent> <Subject>sample string 7</Subject> <ToEmail>sample string 4</ToEmail> </EmailQueue>