POST v1/sms/receipt

Request Information

URI Parameters

None.

Body Parameters

SmsReceipt
NameDescriptionTypeAdditional information
ExternalReference

string

None.

RelayInfo

SmsRelayInfo

None.

SmsProvider

SmsProviders

None.

SmsReference

SmsReference

None.

Status

string

None.

ToPhoneNo

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<SmsReceipt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.Domain.ApiEntities.Common">
  <ExternalReference>sample string 1</ExternalReference>
  <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>
  <Status>sample string 2</Status>
  <ToPhoneNo>sample string 3</ToPhoneNo>
</SmsReceipt>

multipart/form-data

Sample:
<SmsReceipt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.Domain.ApiEntities.Common"><ExternalReference>sample string 1</ExternalReference><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><Status>sample string 2</Status><ToPhoneNo>sample string 3</ToPhoneNo></SmsReceipt>

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.