POST api/Testo

Request Information

URI Parameters

None.

Body Parameters

SMSPayloadModel
NameDescriptionTypeAdditional information
username

string

None.

password

string

None.

senderid

string

None.

message

string

None.

service

string

None.

smstype

string

None.

subject

string

None.

destinations

Collection of SMSDestModel

None.

Request Formats

application/json, text/json

Sample:
{
  "destinations": [
    {
      "destination": "sample string 1",
      "msgid": "sample string 2"
    },
    {
      "destination": "sample string 1",
      "msgid": "sample string 2"
    }
  ],
  "username": "sample string 1",
  "password": "sample string 2",
  "senderid": "sample string 3",
  "message": "sample string 4",
  "service": "sample string 5",
  "smstype": "sample string 6",
  "subject": "sample string 7"
}

application/xml, text/xml

Sample:
<SMSPayloadModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/epayments.Models">
  <destinations>
    <SMSDestModel>
      <destination>sample string 1</destination>
      <msgid>sample string 2</msgid>
    </SMSDestModel>
    <SMSDestModel>
      <destination>sample string 1</destination>
      <msgid>sample string 2</msgid>
    </SMSDestModel>
  </destinations>
  <message>sample string 4</message>
  <password>sample string 2</password>
  <senderid>sample string 3</senderid>
  <service>sample string 5</service>
  <smstype>sample string 6</smstype>
  <subject>sample string 7</subject>
  <username>sample string 1</username>
</SMSPayloadModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.