GET api/emailanalytics/GetEmailCounts/{memberId}
Get the email analytics for yesterday for a member.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
memberId |
The member id. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
.
Collection of EmailAnalyticsResponseModelName | Description | Type | Additional information |
---|---|---|---|
CurrentMember |
The current member |
MobileMemberModel |
None. |
Members |
The list of members |
Collection of MobileMemberModel |
None. |
EmailAnalytics |
The email analytics for a member |
Collection of EmailAnalyticsModel |
None. |
EmptyAlertDisplay |
The text displayed if no alerts are available |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "CurrentMember": { "memberId": 1, "isPrimary": true, "firstName": "sample string 4", "lastName": "sample string 5", "fullName": "sample string 6", "usherpaLOToken": "sample string 7", "memberPhotoUrl": "sample string 8" }, "Members": [ { "memberId": 1, "isPrimary": true, "firstName": "sample string 4", "lastName": "sample string 5", "fullName": "sample string 6", "usherpaLOToken": "sample string 7", "memberPhotoUrl": "sample string 8" }, { "memberId": 1, "isPrimary": true, "firstName": "sample string 4", "lastName": "sample string 5", "fullName": "sample string 6", "usherpaLOToken": "sample string 7", "memberPhotoUrl": "sample string 8" } ], "EmailAnalytics": [ { "processEmailId": 1, "campaignType": "sample string 2", "name": "sample string 3", "recipientCount": 4, "uniqueOpens": 5, "uniqueOpenPercentage": "125.00%", "uniqueClicks": 6, "uniqueClickPercentage": "120.00%", "hardBounces": 7, "dismissedDate": "sample string 8", "alertDisplay": "sample string 9", "viewEmailAnalyticsUrl": "sample string 10" }, { "processEmailId": 1, "campaignType": "sample string 2", "name": "sample string 3", "recipientCount": 4, "uniqueOpens": 5, "uniqueOpenPercentage": "125.00%", "uniqueClicks": 6, "uniqueClickPercentage": "120.00%", "hardBounces": 7, "dismissedDate": "sample string 8", "alertDisplay": "sample string 9", "viewEmailAnalyticsUrl": "sample string 10" } ], "EmptyAlertDisplay": "sample string 1" }, { "CurrentMember": { "memberId": 1, "isPrimary": true, "firstName": "sample string 4", "lastName": "sample string 5", "fullName": "sample string 6", "usherpaLOToken": "sample string 7", "memberPhotoUrl": "sample string 8" }, "Members": [ { "memberId": 1, "isPrimary": true, "firstName": "sample string 4", "lastName": "sample string 5", "fullName": "sample string 6", "usherpaLOToken": "sample string 7", "memberPhotoUrl": "sample string 8" }, { "memberId": 1, "isPrimary": true, "firstName": "sample string 4", "lastName": "sample string 5", "fullName": "sample string 6", "usherpaLOToken": "sample string 7", "memberPhotoUrl": "sample string 8" } ], "EmailAnalytics": [ { "processEmailId": 1, "campaignType": "sample string 2", "name": "sample string 3", "recipientCount": 4, "uniqueOpens": 5, "uniqueOpenPercentage": "125.00%", "uniqueClicks": 6, "uniqueClickPercentage": "120.00%", "hardBounces": 7, "dismissedDate": "sample string 8", "alertDisplay": "sample string 9", "viewEmailAnalyticsUrl": "sample string 10" }, { "processEmailId": 1, "campaignType": "sample string 2", "name": "sample string 3", "recipientCount": 4, "uniqueOpens": 5, "uniqueOpenPercentage": "125.00%", "uniqueClicks": 6, "uniqueClickPercentage": "120.00%", "hardBounces": 7, "dismissedDate": "sample string 8", "alertDisplay": "sample string 9", "viewEmailAnalyticsUrl": "sample string 10" } ], "EmptyAlertDisplay": "sample string 1" } ]
application/xml, text/xml
Sample:
<ArrayOfEmailAnalyticsResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UsherpaLO.WebService.Mobile.Models"> <EmailAnalyticsResponseModel> <CurrentMember xmlns:d3p1="http://schemas.datacontract.org/2004/07/UsherpaLO.Domain.Models"> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:FullName>sample string 6</d3p1:FullName> <d3p1:IsPrimary>true</d3p1:IsPrimary> <d3p1:LastName>sample string 5</d3p1:LastName> <d3p1:MemberId>1</d3p1:MemberId> <d3p1:MemberPhotoUrl>sample string 8</d3p1:MemberPhotoUrl> <d3p1:UserId>2</d3p1:UserId> <d3p1:UsherpaLOToken>sample string 7</d3p1:UsherpaLOToken> </CurrentMember> <EmailAnalytics> <EmailAnalyticsModel> <AlertDisplay>sample string 9</AlertDisplay> <CampaignType>sample string 2</CampaignType> <DismissedDate>sample string 8</DismissedDate> <HardBounces>7</HardBounces> <Name>sample string 3</Name> <ProcessEmailId>1</ProcessEmailId> <RecipientCount>4</RecipientCount> <UniqueClicks>6</UniqueClicks> <UniqueOpens>5</UniqueOpens> <ViewEmailAnalyticsUrl>sample string 10</ViewEmailAnalyticsUrl> </EmailAnalyticsModel> <EmailAnalyticsModel> <AlertDisplay>sample string 9</AlertDisplay> <CampaignType>sample string 2</CampaignType> <DismissedDate>sample string 8</DismissedDate> <HardBounces>7</HardBounces> <Name>sample string 3</Name> <ProcessEmailId>1</ProcessEmailId> <RecipientCount>4</RecipientCount> <UniqueClicks>6</UniqueClicks> <UniqueOpens>5</UniqueOpens> <ViewEmailAnalyticsUrl>sample string 10</ViewEmailAnalyticsUrl> </EmailAnalyticsModel> </EmailAnalytics> <EmptyAlertDisplay>sample string 1</EmptyAlertDisplay> <Members xmlns:d3p1="http://schemas.datacontract.org/2004/07/UsherpaLO.Domain.Models"> <d3p1:MobileMemberModel> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:FullName>sample string 6</d3p1:FullName> <d3p1:IsPrimary>true</d3p1:IsPrimary> <d3p1:LastName>sample string 5</d3p1:LastName> <d3p1:MemberId>1</d3p1:MemberId> <d3p1:MemberPhotoUrl>sample string 8</d3p1:MemberPhotoUrl> <d3p1:UserId>2</d3p1:UserId> <d3p1:UsherpaLOToken>sample string 7</d3p1:UsherpaLOToken> </d3p1:MobileMemberModel> <d3p1:MobileMemberModel> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:FullName>sample string 6</d3p1:FullName> <d3p1:IsPrimary>true</d3p1:IsPrimary> <d3p1:LastName>sample string 5</d3p1:LastName> <d3p1:MemberId>1</d3p1:MemberId> <d3p1:MemberPhotoUrl>sample string 8</d3p1:MemberPhotoUrl> <d3p1:UserId>2</d3p1:UserId> <d3p1:UsherpaLOToken>sample string 7</d3p1:UsherpaLOToken> </d3p1:MobileMemberModel> </Members> </EmailAnalyticsResponseModel> <EmailAnalyticsResponseModel> <CurrentMember xmlns:d3p1="http://schemas.datacontract.org/2004/07/UsherpaLO.Domain.Models"> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:FullName>sample string 6</d3p1:FullName> <d3p1:IsPrimary>true</d3p1:IsPrimary> <d3p1:LastName>sample string 5</d3p1:LastName> <d3p1:MemberId>1</d3p1:MemberId> <d3p1:MemberPhotoUrl>sample string 8</d3p1:MemberPhotoUrl> <d3p1:UserId>2</d3p1:UserId> <d3p1:UsherpaLOToken>sample string 7</d3p1:UsherpaLOToken> </CurrentMember> <EmailAnalytics> <EmailAnalyticsModel> <AlertDisplay>sample string 9</AlertDisplay> <CampaignType>sample string 2</CampaignType> <DismissedDate>sample string 8</DismissedDate> <HardBounces>7</HardBounces> <Name>sample string 3</Name> <ProcessEmailId>1</ProcessEmailId> <RecipientCount>4</RecipientCount> <UniqueClicks>6</UniqueClicks> <UniqueOpens>5</UniqueOpens> <ViewEmailAnalyticsUrl>sample string 10</ViewEmailAnalyticsUrl> </EmailAnalyticsModel> <EmailAnalyticsModel> <AlertDisplay>sample string 9</AlertDisplay> <CampaignType>sample string 2</CampaignType> <DismissedDate>sample string 8</DismissedDate> <HardBounces>7</HardBounces> <Name>sample string 3</Name> <ProcessEmailId>1</ProcessEmailId> <RecipientCount>4</RecipientCount> <UniqueClicks>6</UniqueClicks> <UniqueOpens>5</UniqueOpens> <ViewEmailAnalyticsUrl>sample string 10</ViewEmailAnalyticsUrl> </EmailAnalyticsModel> </EmailAnalytics> <EmptyAlertDisplay>sample string 1</EmptyAlertDisplay> <Members xmlns:d3p1="http://schemas.datacontract.org/2004/07/UsherpaLO.Domain.Models"> <d3p1:MobileMemberModel> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:FullName>sample string 6</d3p1:FullName> <d3p1:IsPrimary>true</d3p1:IsPrimary> <d3p1:LastName>sample string 5</d3p1:LastName> <d3p1:MemberId>1</d3p1:MemberId> <d3p1:MemberPhotoUrl>sample string 8</d3p1:MemberPhotoUrl> <d3p1:UserId>2</d3p1:UserId> <d3p1:UsherpaLOToken>sample string 7</d3p1:UsherpaLOToken> </d3p1:MobileMemberModel> <d3p1:MobileMemberModel> <d3p1:FirstName>sample string 4</d3p1:FirstName> <d3p1:FullName>sample string 6</d3p1:FullName> <d3p1:IsPrimary>true</d3p1:IsPrimary> <d3p1:LastName>sample string 5</d3p1:LastName> <d3p1:MemberId>1</d3p1:MemberId> <d3p1:MemberPhotoUrl>sample string 8</d3p1:MemberPhotoUrl> <d3p1:UserId>2</d3p1:UserId> <d3p1:UsherpaLOToken>sample string 7</d3p1:UsherpaLOToken> </d3p1:MobileMemberModel> </Members> </EmailAnalyticsResponseModel> </ArrayOfEmailAnalyticsResponseModel>