GET example/api/smsmessage/{smsMessageId}/variables

https://app.bwz.se/bedrock/example/api/smsmessage/{smsMessageId}/variables

Gets the VariablesInContent for a given SmsMessage.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
smsMessageId

Id of the SmsMessage to get the variables from

integer

Required

Body Parameters

None.

Response Information

Resource Description

An VariablesInContent.

VariablesInContent
NameDescriptionTypeAdditional information
PublicationVariables

Get the publication variables

Collection of VariableInContent

None.

MessageVariables

Get the Message variables

Collection of VariableInContent

None.

RecipientVariables

Gets the Recipient variables

Collection of VariableInContent

None.

DateVariables

Get the date variables

Collection of VariableInContent

None.

Response Formats

application/json, text/json

Sample:
{
  "PublicationVariables": [
    {
      "Property": "sample string 1",
      "RawValue": "sample string 2"
    },
    {
      "Property": "sample string 1",
      "RawValue": "sample string 2"
    }
  ],
  "MessageVariables": [
    {
      "Property": "sample string 1",
      "RawValue": "sample string 2"
    },
    {
      "Property": "sample string 1",
      "RawValue": "sample string 2"
    }
  ],
  "RecipientVariables": [
    {
      "Property": "sample string 1",
      "RawValue": "sample string 2"
    },
    {
      "Property": "sample string 1",
      "RawValue": "sample string 2"
    }
  ],
  "DateVariables": [
    {
      "Property": "sample string 1",
      "RawValue": "sample string 2"
    },
    {
      "Property": "sample string 1",
      "RawValue": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<VariablesInContent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models">
  <DateVariables>
    <VariableInContent>
      <Property>sample string 1</Property>
      <RawValue>sample string 2</RawValue>
    </VariableInContent>
    <VariableInContent>
      <Property>sample string 1</Property>
      <RawValue>sample string 2</RawValue>
    </VariableInContent>
  </DateVariables>
  <MessageVariables>
    <VariableInContent>
      <Property>sample string 1</Property>
      <RawValue>sample string 2</RawValue>
    </VariableInContent>
    <VariableInContent>
      <Property>sample string 1</Property>
      <RawValue>sample string 2</RawValue>
    </VariableInContent>
  </MessageVariables>
  <PublicationVariables>
    <VariableInContent>
      <Property>sample string 1</Property>
      <RawValue>sample string 2</RawValue>
    </VariableInContent>
    <VariableInContent>
      <Property>sample string 1</Property>
      <RawValue>sample string 2</RawValue>
    </VariableInContent>
  </PublicationVariables>
  <RecipientVariables>
    <VariableInContent>
      <Property>sample string 1</Property>
      <RawValue>sample string 2</RawValue>
    </VariableInContent>
    <VariableInContent>
      <Property>sample string 1</Property>
      <RawValue>sample string 2</RawValue>
    </VariableInContent>
  </RecipientVariables>
</VariablesInContent>