POST api/users/Sms

Request Information

URI Parameters

None.

Body Parameters

MessageRequestModel
NameDescriptionTypeAdditional information
Key

string

None.

Number

string

None.

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Key": "sample string 1",
  "Number": "sample string 2",
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<MessageRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/cbox.Models.Response">
  <Key>sample string 1</Key>
  <Message>sample string 3</Message>
  <Number>sample string 2</Number>
</MessageRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MessageResponseModel
NameDescriptionTypeAdditional information
SentDate

date

None.

Success

boolean

None.

Status

string

None.

StatusCode

string

None.

SentMessage

string

None.

OrijinalResponseJson

string

None.

Response Formats

application/json, text/json

Sample:
{
  "SentDate": "2025-12-17T10:20:32.0944428+03:00",
  "Success": true,
  "Status": "sample string 2",
  "StatusCode": "sample string 3",
  "SentMessage": "sample string 4",
  "OrijinalResponseJson": "sample string 5"
}

application/xml, text/xml

Sample:
<MessageResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/cbox.Models.Response">
  <OrijinalResponseJson>sample string 5</OrijinalResponseJson>
  <SentDate>2025-12-17T10:20:32.0944428+03:00</SentDate>
  <SentMessage>sample string 4</SentMessage>
  <Status>sample string 2</Status>
  <StatusCode>sample string 3</StatusCode>
  <Success>true</Success>
</MessageResponseModel>