POST api/SendSms/SendNToN
Request Information
URI Parameters
None.
Body Parameters
sendNtoNSMSModelName | Description | Type | Additional information |
---|---|---|---|
username | string |
Required |
|
password | string |
Required |
|
xmData | 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", "xmData": "sample string 3", "origin": "sample string 4", "sd": "sample string 5", "ed": "sample string 6", "isNotification": true, "recipentType": "sample string 7", "brandCode": "sample string 8" }
application/xml, text/xml
Sample:
<sendNtoNSMSModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/restapi.ttmesaj.com.Models"> <brandCode>sample string 8</brandCode> <ed>sample string 6</ed> <isNotification>true</isNotification> <origin>sample string 4</origin> <password>sample string 2</password> <recipentType>sample string 7</recipentType> <sd>sample string 5</sd> <username>sample string 1</username> <xmData>sample string 3</xmData> </sendNtoNSMSModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SmsSonucName | Description | Type | Additional 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>