POST api/Messages

Request Information

URI Parameters

None.

Body Parameters

LilyMessage
NameDescriptionTypeAdditional information
Sender

string

None.

Text

string

None.

NetworkId

integer

None.

Shortcode

string

None.

DateTimeSent

date

None.

CreationDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Sender": "sample string 1",
  "Text": "sample string 2",
  "NetworkId": 3,
  "Shortcode": "sample string 4",
  "DateTimeSent": "2025-12-14T19:51:51.0565504+00:00",
  "CreationDate": "2025-12-14T19:51:51.0565504+00:00"
}

application/xml, text/xml

Sample:
<LilyMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SDP.SmsReceiver.Service.LilyMobile.Host.Models">
  <CreationDate>2025-12-14T19:51:51.0565504+00:00</CreationDate>
  <DateTimeSent>2025-12-14T19:51:51.0565504+00:00</DateTimeSent>
  <NetworkId>3</NetworkId>
  <Sender>sample string 1</Sender>
  <Shortcode>sample string 4</Shortcode>
  <Text>sample string 2</Text>
</LilyMessage>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.