POST api/Twilio/Sms

Request Information

URI Parameters

None.

Body Parameters

SmsRequest
NameDescriptionTypeAdditional information
SmsSid

string

None.

Body

string

None.

MessageStatus

string

None.

AccountSid

string

None.

From

string

None.

To

string

None.

FromCity

string

None.

FromState

string

None.

FromZip

string

None.

FromCountry

string

None.

ToCity

string

None.

ToState

string

None.

ToZip

string

None.

ToCountry

string

None.

Request Formats

application/json, text/json

Sample:
{
  "smsSid": "sample string 1",
  "body": "sample string 2",
  "messageStatus": "sample string 3",
  "accountSid": "sample string 4",
  "from": "sample string 5",
  "to": "sample string 6",
  "fromCity": "sample string 7",
  "fromState": "sample string 8",
  "fromZip": "sample string 9",
  "fromCountry": "sample string 10",
  "toCity": "sample string 11",
  "toState": "sample string 12",
  "toZip": "sample string 13",
  "toCountry": "sample string 14"
}

application/xml, text/xml

Sample:
<SmsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Twilio.AspNet.Common">
  <AccountSid>sample string 4</AccountSid>
  <From>sample string 5</From>
  <FromCity>sample string 7</FromCity>
  <FromCountry>sample string 10</FromCountry>
  <FromState>sample string 8</FromState>
  <FromZip>sample string 9</FromZip>
  <To>sample string 6</To>
  <ToCity>sample string 11</ToCity>
  <ToCountry>sample string 14</ToCountry>
  <ToState>sample string 12</ToState>
  <ToZip>sample string 13</ToZip>
  <Body>sample string 2</Body>
  <MessageStatus>sample string 3</MessageStatus>
  <SmsSid>sample string 1</SmsSid>
</SmsRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

NowCertsApiResult
NameDescriptionTypeAdditional information
Status

ApiStatus

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 0,
  "message": "sample string 1"
}

application/xml, text/xml

Sample:
<NowCertsApiResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.NowCertsFulcrum">
  <Message>sample string 1</Message>
  <Status>Error</Status>
</NowCertsApiResult>