Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
Merge pull request #93 from funmark/master
Browse files Browse the repository at this point in the history
Implement Bulk Activity - Status Report Endpoint
  • Loading branch information
ggrell authored Mar 14, 2019
2 parents 267f3ab + e9475d6 commit 08b1765
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;
import java.util.List;

/**
* Retrofit interface for Bulk Activity calls against the Constant Contact API.
Expand All @@ -44,4 +45,12 @@ public interface BulkActivitiesService {
*/
@GET("v2/activities/{activityId}")
Call<Activity> getActivityStatus(@Path("activityId") String activityId);

/**
* Get list of {@link Activity}
*
* @return a Call that returns Activity List
*/
@GET("v2/activities")
Call<List<Activity>> getActivityStatuses();
}

0 comments on commit 08b1765

Please sign in to comment.