POST sms/1/text/advanced

Request Information

URI Parameters

None.

Body Parameters

RequestAdvancedMessage
NameDescriptionTypeAdditional information
bulkId

string

None.

messages

Collection of AdvancedMessage

None.

tracking

AdvancedTracking

None.

Request Formats

application/json, text/json

Sample:
{
  "bulkId": "sample string 1",
  "messages": [
    {
      "from": "sample string 1",
      "destinations": [
        {
          "to": {},
          "messageId": "sample string 2"
        },
        {
          "to": {},
          "messageId": "sample string 2"
        }
      ],
      "text": "sample string 2",
      "flash": true,
      "language": {
        "languageCode": "sample string 1",
        "singleShift": true,
        "lockingShift": true
      },
      "transliteration": "sample string 4",
      "intermediateReport": true,
      "notifyUrl": "sample string 6",
      "notifyContentType": "sample string 7",
      "callbackData": "sample string 8",
      "validityPeriod": 9,
      "sendAt": "sample string 10"
    },
    {
      "from": "sample string 1",
      "destinations": [
        {
          "to": {},
          "messageId": "sample string 2"
        },
        {
          "to": {},
          "messageId": "sample string 2"
        }
      ],
      "text": "sample string 2",
      "flash": true,
      "language": {
        "languageCode": "sample string 1",
        "singleShift": true,
        "lockingShift": true
      },
      "transliteration": "sample string 4",
      "intermediateReport": true,
      "notifyUrl": "sample string 6",
      "notifyContentType": "sample string 7",
      "callbackData": "sample string 8",
      "validityPeriod": 9,
      "sendAt": "sample string 10"
    }
  ],
  "tracking": {
    "track": "sample string 1",
    "type": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<RequestAdvancedMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ANTS.CORE.API.GATEWAY.Models">
  <bulkId>sample string 1</bulkId>
  <messages>
    <RequestAdvancedMessage.AdvancedMessage>
      <callbackData>sample string 8</callbackData>
      <destinations>
        <RequestAdvancedMessage.AdvancedDest>
          <messageId>sample string 2</messageId>
          <to />
        </RequestAdvancedMessage.AdvancedDest>
        <RequestAdvancedMessage.AdvancedDest>
          <messageId>sample string 2</messageId>
          <to />
        </RequestAdvancedMessage.AdvancedDest>
      </destinations>
      <flash>true</flash>
      <from>sample string 1</from>
      <intermediateReport>true</intermediateReport>
      <language>
        <languageCode>sample string 1</languageCode>
        <lockingShift>true</lockingShift>
        <singleShift>true</singleShift>
      </language>
      <notifyContentType>sample string 7</notifyContentType>
      <notifyUrl>sample string 6</notifyUrl>
      <sendAt>sample string 10</sendAt>
      <text>sample string 2</text>
      <transliteration>sample string 4</transliteration>
      <validityPeriod>9</validityPeriod>
    </RequestAdvancedMessage.AdvancedMessage>
    <RequestAdvancedMessage.AdvancedMessage>
      <callbackData>sample string 8</callbackData>
      <destinations>
        <RequestAdvancedMessage.AdvancedDest>
          <messageId>sample string 2</messageId>
          <to />
        </RequestAdvancedMessage.AdvancedDest>
        <RequestAdvancedMessage.AdvancedDest>
          <messageId>sample string 2</messageId>
          <to />
        </RequestAdvancedMessage.AdvancedDest>
      </destinations>
      <flash>true</flash>
      <from>sample string 1</from>
      <intermediateReport>true</intermediateReport>
      <language>
        <languageCode>sample string 1</languageCode>
        <lockingShift>true</lockingShift>
        <singleShift>true</singleShift>
      </language>
      <notifyContentType>sample string 7</notifyContentType>
      <notifyUrl>sample string 6</notifyUrl>
      <sendAt>sample string 10</sendAt>
      <text>sample string 2</text>
      <transliteration>sample string 4</transliteration>
      <validityPeriod>9</validityPeriod>
    </RequestAdvancedMessage.AdvancedMessage>
  </messages>
  <tracking>
    <track>sample string 1</track>
    <type>sample string 2</type>
  </tracking>
</RequestAdvancedMessage>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />