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

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

Updates scheduled time for SmsMessageQueue

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The SmsMessageQueueId to update

integer

Required

Body Parameters

The new updated scheduled time for the SmsMessageQueue

UpdateScheduledSmsMessageQueueArgs
NameDescriptionTypeAdditional information
NewScheduledTime

The new updated scheduled time for the SmsMessageQueue

date

Required

Data type: DateTime

Request Formats

application/json, text/json

Sample:
{
  "NewScheduledTime": "2024-11-21T17:23:55.0819937+01:00"
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SmsMessageQueuedModel
NameDescriptionTypeAdditional information
SmsMessageQueueId

Id of the SMS message queue created when sending the SMS message. Use this id for retreiving statistics

integer

None.

Id

Id of the SmsMessage.

integer

None.

Name

Name of the SmsMessage.

string

None.

CreatedByUserId

Id of the User creating the SmsMessage.

integer

None.

MessageStatus

The MessageStatus of the SmsMessage.

MessageStatus

None.

CreationDate

Date and time when the SmsMessage was created.

date

None.

ModifiedDate

Date and time when the SmsMessage was last modified.

date

None.

PublicationId

Id the of Publication the SmsMessage belongs to.

integer

None.

SenderName

Sender name of the SmsMessage.

string

None.

DefaultCountryCode

Default country code of the SmsMessage. Will be used for all recipients without country code in their mobile number.

integer

None.

SmsContentId

Id of the Content holding the content of the SmsMessage.

integer

None.

ScheduledSendDate

Date and time when the SmsMessage will be sent.

date

None.

Response Formats

application/json, text/json

Sample:
{
  "SmsMessageQueueId": 1,
  "Id": 2,
  "Name": "sample string 3",
  "CreatedByUserId": 4,
  "MessageStatus": 0,
  "CreationDate": "2024-11-21T17:23:55.0819937+01:00",
  "ModifiedDate": "2024-11-21T17:23:55.0819937+01:00",
  "PublicationId": 7,
  "SenderName": "sample string 8",
  "DefaultCountryCode": 9,
  "SmsContentId": 1,
  "ScheduledSendDate": "2024-11-21T17:23:55.0819937+01:00"
}

application/xml, text/xml

Sample:
<SmsMessageQueuedModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.SmsMessage">
  <CreatedByUserId>4</CreatedByUserId>
  <CreationDate>2024-11-21T17:23:55.0819937+01:00</CreationDate>
  <DefaultCountryCode>9</DefaultCountryCode>
  <Id>2</Id>
  <MessageStatus>NotReadyToSend</MessageStatus>
  <ModifiedDate>2024-11-21T17:23:55.0819937+01:00</ModifiedDate>
  <Name>sample string 3</Name>
  <PublicationId>7</PublicationId>
  <ScheduledSendDate>2024-11-21T17:23:55.0819937+01:00</ScheduledSendDate>
  <SenderName>sample string 8</SenderName>
  <SmsContentId>1</SmsContentId>
  <SmsMessageQueueId>1</SmsMessageQueueId>
</SmsMessageQueuedModel>