POST api/SMS

Request Information

URI Parameters

None.

Body Parameters

SMS
NameDescriptionTypeAdditional information
Phone

string

None.

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Phone": "sample string 1",
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<SMS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMSManagement.Models.ViewModel">
  <Message>sample string 2</Message>
  <Phone>sample string 1</Phone>
</SMS>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MessageOut
NameDescriptionTypeAdditional information
Id

integer

None.

MessageTo

string

None.

MessageFrom

string

None.

MessageText

string

None.

MessageType

string

None.

Gateway

string

None.

UserId

string

None.

UserInfo

string

None.

MessageGuid

string

None.

MessageInfo

string

None.

Priority

integer

None.

Scheduled

date

None.

ValidityPeriod

integer

None.

TLVList

string

None.

IsRead

boolean

None.

IsSent

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "MessageTo": "sample string 2",
  "MessageFrom": "sample string 3",
  "MessageText": "sample string 4",
  "MessageType": "sample string 5",
  "Gateway": "sample string 6",
  "UserId": "sample string 7",
  "UserInfo": "sample string 8",
  "MessageGuid": "sample string 9",
  "MessageInfo": "sample string 10",
  "Priority": 1,
  "Scheduled": "2025-12-11T06:19:25.2356662+01:00",
  "ValidityPeriod": 1,
  "TLVList": "sample string 11",
  "IsRead": true,
  "IsSent": true
}

application/xml, text/xml

Sample:
<MessageOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMSManagement.Models">
  <Gateway>sample string 6</Gateway>
  <Id>1</Id>
  <IsRead>true</IsRead>
  <IsSent>true</IsSent>
  <MessageFrom>sample string 3</MessageFrom>
  <MessageGuid>sample string 9</MessageGuid>
  <MessageInfo>sample string 10</MessageInfo>
  <MessageText>sample string 4</MessageText>
  <MessageTo>sample string 2</MessageTo>
  <MessageType>sample string 5</MessageType>
  <Priority>1</Priority>
  <Scheduled>2025-12-11T06:19:25.2356662+01:00</Scheduled>
  <TLVList>sample string 11</TLVList>
  <UserId>sample string 7</UserId>
  <UserInfo>sample string 8</UserInfo>
  <ValidityPeriod>1</ValidityPeriod>
</MessageOut>