POST api/Otp/SendSms
Request Information
URI Parameters
None.
Body Parameters
OtpSendSmsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Username | string |
Required |
|
| Password | string |
Required |
|
| Number | string |
Required |
|
| Origin | string |
Required |
|
| MessageText | string |
Required |
|
| SendDate | string |
None. |
|
| EndDate | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Username": "sample string 1",
"Password": "sample string 2",
"Number": "sample string 3",
"Origin": "sample string 4",
"MessageText": "sample string 5",
"SendDate": "sample string 6",
"EndDate": "sample string 7"
}
application/xml, text/xml
Sample:
<OtpSendSmsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/restapi.ttmesaj.com.Models"> <EndDate>sample string 7</EndDate> <MessageText>sample string 5</MessageText> <Number>sample string 3</Number> <Origin>sample string 4</Origin> <Password>sample string 2</Password> <SendDate>sample string 6</SendDate> <Username>sample string 1</Username> </OtpSendSmsModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SmsSonuc| Name | 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>