POST api/SendSms/cancelSMS

Request Information

URI Parameters

None.

Body Parameters

CancelSmsModel
NameDescriptionTypeAdditional information
username

string

Required

password

string

Required

PackageId

string

Required

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "password": "sample string 2",
  "PackageId": "sample string 3"
}

application/xml, text/xml

Sample:
<CancelSmsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/restapi.ttmesaj.com.Models">
  <PackageId>sample string 3</PackageId>
  <password>sample string 2</password>
  <username>sample string 1</username>
</CancelSmsModel>

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>