POST api/SendSms/SendOneToN
Request Information
URI Parameters
None.
Body Parameters
SendOneToNModelName | Description | Type | Additional information |
---|---|---|---|
username | string |
Required |
|
password | string |
Required |
|
XML | string |
Required |
|
isNotification | boolean |
None. |
|
recipentType | string |
None. |
|
brandCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "username": "sample string 1", "password": "sample string 2", "XML": "sample string 3", "isNotification": true, "recipentType": "sample string 4", "brandCode": "sample string 5" }
application/xml, text/xml
Sample:
<SendOneToNModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/restapi.ttmesaj.com.Models"> <XML>sample string 3</XML> <brandCode>sample string 5</brandCode> <isNotification>true</isNotification> <password>sample string 2</password> <recipentType>sample string 4</recipentType> <username>sample string 1</username> </SendOneToNModel>
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>