POST v1/schedule/email
Sends the tenant email.
Request Information
URI Parameters
None.
Body Parameters
The parameters.
ScheduledEmailParameters| Name | Description | Type | Additional information |
|---|---|---|---|
| FromAddress | string |
None. |
|
| To | string |
None. |
|
| SubjectLine | string |
None. |
|
| CC | string |
None. |
|
| BCC | string |
None. |
|
| Body | string |
None. |
|
| BodyIsHtml | boolean |
None. |
|
| Priority | integer |
None. |
|
| ScheduledDateTime | date |
None. |
|
| FromName | string |
None. |
|
| SenderAddress | string |
None. |
|
| ReplyToAddress | string |
None. |
|
| AttachedFiles | string |
None. |
|
| AttachmentDocumentId | Collection of globally unique identifier |
None. |
|
| FacilityId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"FromAddress": "sample string 1",
"To": "sample string 2",
"SubjectLine": "sample string 3",
"CC": "sample string 4",
"BCC": "sample string 5",
"Body": "sample string 6",
"BodyIsHtml": true,
"Priority": 1,
"ScheduledDateTime": "2025-12-05T02:53:43.0904863-07:00",
"FromName": "sample string 7",
"SenderAddress": "sample string 8",
"ReplyToAddress": "sample string 9",
"AttachedFiles": "sample string 10",
"AttachmentDocumentId": [
"8004f672-c099-4057-a616-a7f054cc4569",
"9f8774da-9edd-43a6-8193-e7e438d47f78"
],
"FacilityId": "a19a15d4-8bbf-40a1-aaa6-3f5149742b89"
}
application/xml, text/xml
Sample:
<ScheduledEmailParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OpenTech.IssnWebApi.Web.Models.BindingModels">
<AttachedFiles>sample string 10</AttachedFiles>
<AttachmentDocumentId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>8004f672-c099-4057-a616-a7f054cc4569</d2p1:guid>
<d2p1:guid>9f8774da-9edd-43a6-8193-e7e438d47f78</d2p1:guid>
</AttachmentDocumentId>
<BCC>sample string 5</BCC>
<Body>sample string 6</Body>
<BodyIsHtml>true</BodyIsHtml>
<CC>sample string 4</CC>
<FacilityId>a19a15d4-8bbf-40a1-aaa6-3f5149742b89</FacilityId>
<FromAddress>sample string 1</FromAddress>
<FromName>sample string 7</FromName>
<Priority>1</Priority>
<ReplyToAddress>sample string 9</ReplyToAddress>
<ScheduledDateTime>2025-12-05T02:53:43.0904863-07:00</ScheduledDateTime>
<SenderAddress>sample string 8</SenderAddress>
<SubjectLine>sample string 3</SubjectLine>
<To>sample string 2</To>
</ScheduledEmailParameters>
Response Information
Resource Description
ScheduledMessageBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Errors | Collection of Exception |
None. |
|
| IsSuccess | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Errors": [
{
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
},
{
"ClassName": "System.Exception",
"Message": null,
"Data": null,
"InnerException": null,
"HelpURL": "sample string 1",
"StackTraceString": null,
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": 3,
"Source": "sample string 2",
"WatsonBuckets": null
}
],
"IsSuccess": true
}
application/xml, text/xml
Sample:
<ScheduledMessageBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OpenTech.IssnWebApi.Web.Models.BindingModels">
<Errors xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:Exception>
<ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName>
<Message i:nil="true" xmlns="" />
<Data i:nil="true" xmlns="" />
<InnerException i:nil="true" xmlns="" />
<HelpURL xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 1</HelpURL>
<StackTraceString i:nil="true" xmlns="" />
<RemoteStackTraceString i:nil="true" xmlns="" />
<RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex>
<ExceptionMethod i:nil="true" xmlns="" />
<HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">3</HResult>
<Source xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Source>
<WatsonBuckets i:nil="true" xmlns="" />
</d2p1:Exception>
<d2p1:Exception>
<ClassName xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">System.Exception</ClassName>
<Message i:nil="true" xmlns="" />
<Data i:nil="true" xmlns="" />
<InnerException i:nil="true" xmlns="" />
<HelpURL xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 1</HelpURL>
<StackTraceString i:nil="true" xmlns="" />
<RemoteStackTraceString i:nil="true" xmlns="" />
<RemoteStackIndex xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">0</RemoteStackIndex>
<ExceptionMethod i:nil="true" xmlns="" />
<HResult xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:int" xmlns="">3</HResult>
<Source xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string" xmlns="">sample string 2</Source>
<WatsonBuckets i:nil="true" xmlns="" />
</d2p1:Exception>
</Errors>
<IsSuccess>true</IsSuccess>
</ScheduledMessageBindingModel>