POST v1/sms/inbound

Request Information

URI Parameters

None.

Body Parameters

SmsInbound
NameDescriptionTypeAdditional information
From

string

None.

Message

string

None.

RelayInfo

SmsRelayInfo

None.

SmsProvider

SmsProviders

None.

SmsReference

SmsReference

None.

To

string

None.

Request Formats

application/json, text/json

Sample:
{
  "From": "sample string 1",
  "Message": "sample string 2",
  "RelayInfo": {
    "IsRelayed": false,
    "Status": 0
  },
  "SmsProvider": 0,
  "SmsReference": {
    "Environment": "sample string 1",
    "HostingLocation": 0,
    "LogID": 2,
    "SendingSolution": 0,
    "Uniqueifier": 3
  },
  "To": "sample string 3"
}

application/xml, text/xml

Sample:
<SmsInbound xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.Domain.ApiEntities.Common">
  <From>sample string 1</From>
  <Message>sample string 2</Message>
  <SmsProvider>Default</SmsProvider>
  <SmsReference xmlns:d2p1="http://schemas.datacontract.org/2004/07/IRE.General.Services.Sms.Entities">
    <d2p1:Environment>sample string 1</d2p1:Environment>
    <d2p1:HostingLocation>Unknown</d2p1:HostingLocation>
    <d2p1:LogID>2</d2p1:LogID>
    <d2p1:SendingSolution>Unknown</d2p1:SendingSolution>
    <d2p1:Uniqueifier>3</d2p1:Uniqueifier>
  </SmsReference>
  <To>sample string 3</To>
</SmsInbound>

multipart/form-data

Sample:
<SmsInbound xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.Domain.ApiEntities.Common"><From>sample string 1</From><Message>sample string 2</Message><SmsProvider>Default</SmsProvider><SmsReference xmlns:d2p1="http://schemas.datacontract.org/2004/07/IRE.General.Services.Sms.Entities"><d2p1:Environment>sample string 1</d2p1:Environment><d2p1:HostingLocation>Unknown</d2p1:HostingLocation><d2p1:LogID>2</d2p1:LogID><d2p1:SendingSolution>Unknown</d2p1:SendingSolution><d2p1:Uniqueifier>3</d2p1:Uniqueifier></SmsReference><To>sample string 3</To></SmsInbound>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.