POST api/TextService/CreateText

Request Information

URI Parameters

None.

Body Parameters

SMSMessage
NameDescriptionTypeAdditional information
SMSId

integer

None.

AppRef

string

None.

ApplicationName

string

None.

CreationTime

date

None.

ScheduleTime

date

None.

Message

string

None.

LargeMessageFlag

boolean

None.

MobileNumber

string

None.

Sender

string

None.

Sent

boolean

None.

Status

string

None.

SubmissionTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "SMSId": 1,
  "AppRef": "sample string 2",
  "ApplicationName": "sample string 3",
  "CreationTime": "2024-11-22T22:30:49.4257675+00:00",
  "ScheduleTime": "2024-11-22T22:30:49.4257675+00:00",
  "Message": "sample string 6",
  "LargeMessageFlag": true,
  "MobileNumber": "sample string 8",
  "Sender": "sample string 9",
  "Sent": true,
  "Status": "sample string 11",
  "SubmissionTime": "2024-11-22T22:30:49.4257675+00:00"
}

text/html

Sample:
{"SMSId":1,"AppRef":"sample string 2","ApplicationName":"sample string 3","CreationTime":"2024-11-22T22:30:49.4257675+00:00","ScheduleTime":"2024-11-22T22:30:49.4257675+00:00","Message":"sample string 6","LargeMessageFlag":true,"MobileNumber":"sample string 8","Sender":"sample string 9","Sent":true,"Status":"sample string 11","SubmissionTime":"2024-11-22T22:30:49.4257675+00:00"}

application/xml, text/xml

Sample:
<SMSMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ldl.MessageBroker.Service.TextService.Models">
  <AppRef>sample string 2</AppRef>
  <ApplicationName>sample string 3</ApplicationName>
  <CreationTime>2024-11-22T22:30:49.4257675+00:00</CreationTime>
  <LargeMessageFlag>true</LargeMessageFlag>
  <Message>sample string 6</Message>
  <MobileNumber>sample string 8</MobileNumber>
  <SMSId>1</SMSId>
  <ScheduleTime>2024-11-22T22:30:49.4257675+00:00</ScheduleTime>
  <Sender>sample string 9</Sender>
  <Sent>true</Sent>
  <Status>sample string 11</Status>
  <SubmissionTime>2024-11-22T22:30:49.4257675+00:00</SubmissionTime>
</SMSMessage>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.