Make a request »

TransactionalService.GetTransactionResult

Get results from a Transactional Email send-out (the TransactionID is returned in response when SendTransactionalEmail has been called successfully). Also returns demographic data fields and the HTML field (optional), and the parameter ”ExternalID” which allows you to map results with external data sources. See code examples


URL Parameters

Http verb: Get
URI: Full url: http://se.api.anpasia.com/v1/transactional/{transactionId}/result?includeDemographicData={includeDemographicData}
URL parameters:
transactionIdStringId of the transaction
includeDemographicDataStringTrue/False value indicating if demographic data and ddhtml should be returned or not

Body parameters

Body parameters
Not used

Response

Body parameters
returns
A response object with all the details of transaction, including opens, clicks and bounces.

Code Int32 The response Code.
Message String The response Message.
Result
The response Result.

TransactionId Int64 Id of the transaction
ProjectId Int32 Id of the transactional project
SendDate DateTime Send date and time
SubscriberId Int64 Id of the subscriber
Name String Name of the subscriber
Email String Email of the subscriber
ExternalId String External id of the subscriber
Format String Format (html or text)
CountryCode String Country code of the subscriber
PhoneNumber String Phone number of the subscriber
DemDataFields List
<DemDataField>
Demographic data fields
DDHtml String DDHtml of the subscriber
TransactionOpen
The transactional project item

OpenId Int64 The ProjectId
OpenDate Nullable<DateTime> Clicked date
TransactionClick
The transactional project item

ClickId Int64 The ClickId
LinkUrl String Link url
LinkAlias String Link alias
ClickDate Nullable<DateTime> Clicked date
TransactionBounce
The transactional project item

BounceId Int64 The ProjectId
BounceDate Nullable<DateTime> Clicked date
BounceType Nullable<Int32> Link url
BounceReason String Link alias
StringIEnumerable
<String>
Body Example


Help

Code examples