Example #1
0
 public Stream GetSubscribersCountByTypeByGroupId(int groupId, CampaignSubscriberType type)
 {
     return(this.Http.Get($"{Url}/{groupId}/subscribers/{type.ToString()}/count").ResponseStream);
 }
Example #2
0
 public Stream GetSubscribersByTypeByGroupId(int groupId, CampaignSubscriberType type, string filters,
                                             int offset, int limit)
 {
     return(this.Http.Get(this.AddQueryParams($"{Url}/{groupId}/subscribers/{type.ToString()}", limit: limit,
                                              offset: offset, filters: filters)).ResponseStream);
 }