POST api/sms/enviosimple

Request Information

URI Parameters

None.

Body Parameters

SMSRequest
NameDescriptionTypeAdditional information
strMensaje

string

None.

strTelefono

string

None.

Request Formats

application/json, text/json

Sample:
{
  "strMensaje": "sample string 1",
  "strTelefono": "sample string 2"
}

application/xml, text/xml

Sample:
<SMSRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestNotariaSql.Models.SMS">
  <strMensaje>sample string 1</strMensaje>
  <strTelefono>sample string 2</strTelefono>
</SMSRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MensajeEnvioSimple
NameDescriptionTypeAdditional information
data

Data

None.

error

Error

None.

Response Formats

application/json, text/json

Sample:
{
  "data": {
    "configuration_id": 1,
    "id": 2,
    "name": "sample string 3",
    "message": "sample string 4",
    "price": 5.1,
    "price_with_packs": 6.1,
    "push_sender_name": "sample string 7",
    "route_name": "sample string 8",
    "total_messages_sent": 9,
    "total_messages_sent_with_packs": 10,
    "dlrs": [
      {
        "message_id": "sample string 1",
        "number": "sample string 2",
        "messages_sent": 3,
        "in_SMS_blacklist": true
      },
      {
        "message_id": "sample string 1",
        "number": "sample string 2",
        "messages_sent": 3,
        "in_SMS_blacklist": true
      }
    ],
    "callback_url": "sample string 11",
    "start_date": "sample string 12"
  },
  "error": null
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.