GET api/SMS

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of SMS
NameDescriptionTypeAdditional information
Phone

string

None.

Message

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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