PUT example/api/MailMessageQueue/UpdateScheduledTime/{id}

https://app.bwz.se/bedrock/example/api/MailMessageQueue/UpdateScheduledTime/{id}

Updates scheduled time for MailMessageQueue

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The MailMessageQueueId to update

integer

Required

Body Parameters

The new updated schedlued time for the MailMessageQueue

UpdateScheduledMailMessageQueueArgs
NameDescriptionTypeAdditional information
NewScheduledTime

The new updated schedlued time for the MailMessageQueue

date

Required

Data type: DateTime

Request Formats

application/json, text/json

Sample:
{
  "NewScheduledTime": "2024-11-21T17:26:15.4890845+01:00"
}

application/xml, text/xml

Sample:
<UpdateScheduledMailMessageQueueArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.MailMessageQueue">
  <NewScheduledTime>2024-11-21T17:26:15.4890845+01:00</NewScheduledTime>
</UpdateScheduledMailMessageQueueArgs>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MailMessageQueueModel
NameDescriptionTypeAdditional information
Id

Gets or sets the id.

integer

None.

HtmlContentId

Gets or sets the HTML content id.

integer

None.

TextContentId

Gets or sets the text content id.

integer

None.

MailMessageId

Gets or sets the mail message id.

integer

None.

Subject

Gets or sets the subject.

string

None.

FromName

Gets or sets from name.

string

None.

FromEmail

Gets or sets from email.

string

None.

ReplyToEmail

Gets or sets the reply to email.

string

None.

SendDate

Gets or sets the send date.

date

None.

SendStatus

Gets or sets the send status.

MailMessageQueueSendStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "HtmlContentId": 2,
  "TextContentId": 3,
  "MailMessageId": 4,
  "Subject": "sample string 5",
  "FromName": "sample string 6",
  "FromEmail": "sample string 7",
  "ReplyToEmail": "sample string 8",
  "SendDate": "2024-11-21T17:26:15.4890845+01:00",
  "SendStatus": 0
}

application/xml, text/xml

Sample:
<MailMessageQueueModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.MailMessageQueue">
  <FromEmail>sample string 7</FromEmail>
  <FromName>sample string 6</FromName>
  <HtmlContentId>2</HtmlContentId>
  <Id>1</Id>
  <MailMessageId>4</MailMessageId>
  <ReplyToEmail>sample string 8</ReplyToEmail>
  <SendDate>2024-11-21T17:26:15.4890845+01:00</SendDate>
  <SendStatus>NotStarted</SendStatus>
  <Subject>sample string 5</Subject>
  <TextContentId>3</TextContentId>
</MailMessageQueueModel>