POST schedules/onetime

Request Information

URI Parameters

None.

Body Parameters

OneTimeScheduledMessage
NameDescriptionTypeAdditional information
Date

date

Required

Data type: Date

Time

string

Required

Text

string

Required

String length: inclusive between 0 and 2000

Sender

string

Required

String length: inclusive between 0 and 16

Receivers

Collection of string

None.

SessionData

string

String length: inclusive between 0 and 200

Request Formats

application/json, text/json

Sample:
{
  "Date": "2024-04-19T04:27:19.468+02:00",
  "Time": "00:00:00.1234567",
  "Text": "sample string 4",
  "Sender": "sample string 5",
  "Receivers": [
    "sample string 1",
    "sample string 2"
  ],
  "SessionData": "sample string 6"
}

application/xml, text/xml

Sample:
<OneTimeScheduledMessage xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Text>sample string 4</Text>
  <Sender>sample string 5</Sender>
  <Receivers>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </Receivers>
  <SessionData>sample string 6</SessionData>
  <Time>00:00:00.1234567</Time>
  <Date>2024-04-19T04:27:19.4687379+02:00</Date>
</OneTimeScheduledMessage>

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int>1</int>