POST EmailQueue/SaveEmailQueue

Request Information

URI Parameters

None.

Body Parameters

XS.CoreApi.Pentagon.Model.EmailQueue
NameDescriptionTypeAdditional information
Id

integer

None.

NotificationType

XS.CoreApi.Pentagon.Model.NSCNotificationType

None.

Subject

string

None.

Sender

string

None.

Body

string

None.

Recipients

string

None.

CC

string

None.

BCC

string

None.

ReplyTo

string

None.

IsSent

boolean

None.

IsLocked

boolean

None.

AddedOn

date

None.

SentOn

date

None.

EmailAttachments

Collection of XS.CoreApi.Pentagon.Model.EmailAttachments

None.

IsFailed

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "NotificationType": 0,
  "Subject": "sample string 2",
  "Sender": "sample string 3",
  "Body": "sample string 4",
  "Recipients": "sample string 5",
  "CC": "sample string 6",
  "BCC": "sample string 7",
  "ReplyTo": "sample string 8",
  "IsSent": true,
  "IsLocked": true,
  "AddedOn": "2026-04-03T08:42:35.3099064-04:00",
  "SentOn": "2026-04-03T08:42:35.3099064-04:00",
  "EmailAttachments": [
    {
      "Id": 1,
      "NotificationId": 2,
      "Path": "sample string 3",
      "Name": "sample string 4",
      "FileData": "QEA="
    },
    {
      "Id": 1,
      "NotificationId": 2,
      "Path": "sample string 3",
      "Name": "sample string 4",
      "FileData": "QEA="
    }
  ],
  "IsFailed": true
}

application/xml, text/xml

Sample:
<EmailQueue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XS.CoreApi.Pentagon.Model">
  <AddedOn>2026-04-03T08:42:35.3099064-04:00</AddedOn>
  <BCC>sample string 7</BCC>
  <Body>sample string 4</Body>
  <CC>sample string 6</CC>
  <EmailAttachments>
    <EmailAttachments>
      <FileData>QEA=</FileData>
      <Id>1</Id>
      <Name>sample string 4</Name>
      <NotificationId>2</NotificationId>
      <Path>sample string 3</Path>
    </EmailAttachments>
    <EmailAttachments>
      <FileData>QEA=</FileData>
      <Id>1</Id>
      <Name>sample string 4</Name>
      <NotificationId>2</NotificationId>
      <Path>sample string 3</Path>
    </EmailAttachments>
  </EmailAttachments>
  <Id>1</Id>
  <IsFailed>true</IsFailed>
  <IsLocked>true</IsLocked>
  <IsSent>true</IsSent>
  <NotificationType>None</NotificationType>
  <Recipients>sample string 5</Recipients>
  <ReplyTo>sample string 8</ReplyTo>
  <Sender>sample string 3</Sender>
  <SentOn>2026-04-03T08:42:35.3099064-04:00</SentOn>
  <Subject>sample string 2</Subject>
</EmailQueue>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.