POST api/SendSms/SendSingle

Request Information

URI Parameters

None.

Body Parameters

sendSingleSMSModel
NameDescriptionTypeAdditional information
username

string

Required

password

string

Required

numbers

string

Required

message

string

Required

origin

string

Required

sd

string

None.

ed

string

None.

isNotification

boolean

None.

recipentType

string

None.

brandCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "password": "sample string 2",
  "numbers": "sample string 3",
  "message": "sample string 4",
  "origin": "sample string 5",
  "sd": "sample string 6",
  "ed": "sample string 7",
  "isNotification": true,
  "recipentType": "sample string 8",
  "brandCode": "sample string 9"
}

application/xml, text/xml

Sample:
<sendSingleSMSModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/restapi.ttmesaj.com.Models">
  <brandCode>sample string 9</brandCode>
  <ed>sample string 7</ed>
  <isNotification>true</isNotification>
  <message>sample string 4</message>
  <numbers>sample string 3</numbers>
  <origin>sample string 5</origin>
  <password>sample string 2</password>
  <recipentType>sample string 8</recipentType>
  <sd>sample string 6</sd>
  <username>sample string 1</username>
</sendSingleSMSModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SmsSonuc
NameDescriptionTypeAdditional information
Sonuc

string

None.

Kontor

string

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Sonuc": "sample string 1",
  "Kontor": "sample string 2",
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<SmsSonuc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/restapi.ttmesaj.com.Models">
  <Kontor>sample string 2</Kontor>
  <Message>sample string 3</Message>
  <Sonuc>sample string 1</Sonuc>
</SmsSonuc>