POST api/Messages

Request Information

URI Parameters

None.

Body Parameters

Collection of MessagingQMessage
NameDescriptionTypeAdditional information
Type

MessagingQMessageType

None.

MessageDeliveryMethod

MessageDeliveryMethodEnum

Required

Culture

string

Required

SenderName

string

None.

TransactionKey

string

None.

Recipient

string

Required

CountryCode

string

Required

TemplateKey

string

None.

MessageText

string

None.

Subject

string

None.

MessageFields

Dictionary of string [key] and string [value]

None.

PlannedSendTime

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Type": 1,
    "MessageDeliveryMethod": 0,
    "Culture": "sample string 1",
    "SenderName": "sample string 2",
    "TransactionKey": "sample string 3",
    "Recipient": "sample string 4",
    "CountryCode": "sample string 5",
    "TemplateKey": "sample string 6",
    "MessageText": "sample string 7",
    "Subject": "sample string 8",
    "MessageFields": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "PlannedSendTime": "2025-01-09T07:08:43.2743644+02:00"
  },
  {
    "Type": 1,
    "MessageDeliveryMethod": 0,
    "Culture": "sample string 1",
    "SenderName": "sample string 2",
    "TransactionKey": "sample string 3",
    "Recipient": "sample string 4",
    "CountryCode": "sample string 5",
    "TemplateKey": "sample string 6",
    "MessageText": "sample string 7",
    "Subject": "sample string 8",
    "MessageFields": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "PlannedSendTime": "2025-01-09T07:08:43.2743644+02:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMessagingQMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vezeeta.Salesforce.Gateway.Model">
  <MessagingQMessage>
    <CountryCode>sample string 5</CountryCode>
    <Culture>sample string 1</Culture>
    <MessageDeliveryMethod>SMS</MessageDeliveryMethod>
    <MessageFields xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>sample string 4</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </MessageFields>
    <MessageText>sample string 7</MessageText>
    <PlannedSendTime>2025-01-09T07:08:43.2743644+02:00</PlannedSendTime>
    <Recipient>sample string 4</Recipient>
    <SenderName>sample string 2</SenderName>
    <Subject>sample string 8</Subject>
    <TemplateKey>sample string 6</TemplateKey>
    <TransactionKey>sample string 3</TransactionKey>
    <Type>QueueMessage</Type>
  </MessagingQMessage>
  <MessagingQMessage>
    <CountryCode>sample string 5</CountryCode>
    <Culture>sample string 1</Culture>
    <MessageDeliveryMethod>SMS</MessageDeliveryMethod>
    <MessageFields xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>sample string 4</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </MessageFields>
    <MessageText>sample string 7</MessageText>
    <PlannedSendTime>2025-01-09T07:08:43.2743644+02:00</PlannedSendTime>
    <Recipient>sample string 4</Recipient>
    <SenderName>sample string 2</SenderName>
    <Subject>sample string 8</Subject>
    <TemplateKey>sample string 6</TemplateKey>
    <TransactionKey>sample string 3</TransactionKey>
    <Type>QueueMessage</Type>
  </MessagingQMessage>
</ArrayOfMessagingQMessage>

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

Sample:

Sample not available.