POST example/api/transactionmailstatistics/GetLinkClicksByLinkClickId

https://app.bwz.se/bedrock/example/api/transactionmailstatistics/GetLinkClicksByLinkClickId

Gets link clicks.

Request Information

URI Parameters

None.

Body Parameters

Max number of bounces to get.

GetTransactionMailLinkClicksByIdArgs
NameDescriptionTypeAdditional information
FromLinkClicksId

Id of the first bounce to be returned.

integer

Required

BatchSize

Max number of bounces to get.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FromLinkClicksId": 1,
  "BatchSize": 2
}

application/xml, text/xml

Sample:
<GetTransactionMailLinkClicksByIdArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.TransactionMailStatistics">
  <BatchSize>2</BatchSize>
  <FromLinkClicksId>1</FromLinkClicksId>
</GetTransactionMailLinkClicksByIdArgs>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

An array of TransactionMailLinkClickModels.

Collection of TransactionMailLinkClickModel
NameDescriptionTypeAdditional information
Id

Gets or sets the id.

integer

None.

TransactionMailModel

Gets or sets the TransactionMailModel that bounced.

TransactionMailModel

None.

CreationDate

Gets or sets the creation date.

date

None.

LinkUrl

Gets or sets URL och the clicked link.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "TransactionMailModel": {
      "TransactionMailId": 1,
      "RecipientName": "sample string 2",
      "RecipientEmail": "sample string 3",
      "SenderName": "sample string 4",
      "SenderEmail": "sample string 5",
      "FromName": "sample string 6",
      "FromEmail": "sample string 7",
      "ReplyTo": "sample string 8",
      "Subject": "sample string 9",
      "TrackOpenings": true,
      "TrackLinkClicks": true,
      "LinkBaseUrl": "sample string 12",
      "ExternalId": "sample string 13",
      "ExcludeTotalOptouts": true,
      "ExcludePublicationOptouts": true,
      "ExcludePreviousBounce": true,
      "IsInternalMail": true,
      "CreationDate": "2024-11-21T17:31:51.4598511+01:00",
      "IncludeEmailDataInWebhookPayload": true
    },
    "CreationDate": "2024-11-21T17:31:51.4598511+01:00",
    "LinkUrl": "sample string 3"
  },
  {
    "Id": 1,
    "TransactionMailModel": {
      "TransactionMailId": 1,
      "RecipientName": "sample string 2",
      "RecipientEmail": "sample string 3",
      "SenderName": "sample string 4",
      "SenderEmail": "sample string 5",
      "FromName": "sample string 6",
      "FromEmail": "sample string 7",
      "ReplyTo": "sample string 8",
      "Subject": "sample string 9",
      "TrackOpenings": true,
      "TrackLinkClicks": true,
      "LinkBaseUrl": "sample string 12",
      "ExternalId": "sample string 13",
      "ExcludeTotalOptouts": true,
      "ExcludePublicationOptouts": true,
      "ExcludePreviousBounce": true,
      "IsInternalMail": true,
      "CreationDate": "2024-11-21T17:31:51.4598511+01:00",
      "IncludeEmailDataInWebhookPayload": true
    },
    "CreationDate": "2024-11-21T17:31:51.4598511+01:00",
    "LinkUrl": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTransactionMailLinkClickModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.TransactionMailStatistics">
  <TransactionMailLinkClickModel>
    <CreationDate>2024-11-21T17:31:51.4598511+01:00</CreationDate>
    <Id>1</Id>
    <LinkUrl>sample string 3</LinkUrl>
    <TransactionMailModel xmlns:d3p1="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.TransactionMail">
      <d3p1:CreationDate>2024-11-21T17:31:51.4598511+01:00</d3p1:CreationDate>
      <d3p1:ExcludePreviousBounce>true</d3p1:ExcludePreviousBounce>
      <d3p1:ExcludePublicationOptouts>true</d3p1:ExcludePublicationOptouts>
      <d3p1:ExcludeTotalOptouts>true</d3p1:ExcludeTotalOptouts>
      <d3p1:ExternalId>sample string 13</d3p1:ExternalId>
      <d3p1:FromEmail>sample string 7</d3p1:FromEmail>
      <d3p1:FromName>sample string 6</d3p1:FromName>
      <d3p1:IncludeEmailDataInWebhookPayload>true</d3p1:IncludeEmailDataInWebhookPayload>
      <d3p1:IsInternalMail>true</d3p1:IsInternalMail>
      <d3p1:LinkBaseUrl>sample string 12</d3p1:LinkBaseUrl>
      <d3p1:RecipientEmail>sample string 3</d3p1:RecipientEmail>
      <d3p1:RecipientName>sample string 2</d3p1:RecipientName>
      <d3p1:ReplyTo>sample string 8</d3p1:ReplyTo>
      <d3p1:SenderEmail>sample string 5</d3p1:SenderEmail>
      <d3p1:SenderName>sample string 4</d3p1:SenderName>
      <d3p1:Subject>sample string 9</d3p1:Subject>
      <d3p1:TrackLinkClicks>true</d3p1:TrackLinkClicks>
      <d3p1:TrackOpenings>true</d3p1:TrackOpenings>
      <d3p1:TransactionMailId>1</d3p1:TransactionMailId>
    </TransactionMailModel>
  </TransactionMailLinkClickModel>
  <TransactionMailLinkClickModel>
    <CreationDate>2024-11-21T17:31:51.4598511+01:00</CreationDate>
    <Id>1</Id>
    <LinkUrl>sample string 3</LinkUrl>
    <TransactionMailModel xmlns:d3p1="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.TransactionMail">
      <d3p1:CreationDate>2024-11-21T17:31:51.4598511+01:00</d3p1:CreationDate>
      <d3p1:ExcludePreviousBounce>true</d3p1:ExcludePreviousBounce>
      <d3p1:ExcludePublicationOptouts>true</d3p1:ExcludePublicationOptouts>
      <d3p1:ExcludeTotalOptouts>true</d3p1:ExcludeTotalOptouts>
      <d3p1:ExternalId>sample string 13</d3p1:ExternalId>
      <d3p1:FromEmail>sample string 7</d3p1:FromEmail>
      <d3p1:FromName>sample string 6</d3p1:FromName>
      <d3p1:IncludeEmailDataInWebhookPayload>true</d3p1:IncludeEmailDataInWebhookPayload>
      <d3p1:IsInternalMail>true</d3p1:IsInternalMail>
      <d3p1:LinkBaseUrl>sample string 12</d3p1:LinkBaseUrl>
      <d3p1:RecipientEmail>sample string 3</d3p1:RecipientEmail>
      <d3p1:RecipientName>sample string 2</d3p1:RecipientName>
      <d3p1:ReplyTo>sample string 8</d3p1:ReplyTo>
      <d3p1:SenderEmail>sample string 5</d3p1:SenderEmail>
      <d3p1:SenderName>sample string 4</d3p1:SenderName>
      <d3p1:Subject>sample string 9</d3p1:Subject>
      <d3p1:TrackLinkClicks>true</d3p1:TrackLinkClicks>
      <d3p1:TrackOpenings>true</d3p1:TrackOpenings>
      <d3p1:TransactionMailId>1</d3p1:TransactionMailId>
    </TransactionMailModel>
  </TransactionMailLinkClickModel>
</ArrayOfTransactionMailLinkClickModel>