URL

http://webapi.leadmaster.com/api/SMS/Receive/{ID}

Description

Get the sms details once received

HttpMethod

POST

Request Information

Parameters

NameDescriptionAdditional information
ID
company id for which sms is going to be post.

Define this parameter in the request URI.

smsReq
No documentation available.

Define this parameter in the request body.

Request body 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.