POST api/MobileOptInAirToWeb

Request Information

URI Parameters

None.

Body Parameters

AirToWeb
NameDescriptionTypeAdditional information
MobileNumber

string

None.

Properties

Collection of KeyValue

None.

ShortCode

string

None.

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MobileNumber": "sample string 1",
  "Properties": [
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    }
  ],
  "ShortCode": "sample string 2",
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<AirToWeb xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DGWebAPI.Models">
  <Message>sample string 3</Message>
  <MobileNumber>sample string 1</MobileNumber>
  <Properties>
    <KeyValue>
      <Key>sample string 1</Key>
      <Value>sample string 2</Value>
    </KeyValue>
    <KeyValue>
      <Key>sample string 1</Key>
      <Value>sample string 2</Value>
    </KeyValue>
  </Properties>
  <ShortCode>sample string 2</ShortCode>
</AirToWeb>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.