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

Commit 08b1765

Browse files
authored
Merge pull request #93 from funmark/master
Implement Bulk Activity - Status Report Endpoint
2 parents 267f3ab + e9475d6 commit 08b1765

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

sdk/src/main/java/com/constantcontact/v2/BulkActivitiesService.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import retrofit2.http.GET;
2020
import retrofit2.http.POST;
2121
import retrofit2.http.Path;
22+
import java.util.List;
2223

2324
/**
2425
* Retrofit interface for Bulk Activity calls against the Constant Contact API.
@@ -44,4 +45,12 @@ public interface BulkActivitiesService {
4445
*/
4546
@GET("v2/activities/{activityId}")
4647
Call<Activity> getActivityStatus(@Path("activityId") String activityId);
48+
49+
/**
50+
* Get list of {@link Activity}
51+
*
52+
* @return a Call that returns Activity List
53+
*/
54+
@GET("v2/activities")
55+
Call<List<Activity>> getActivityStatuses();
4756
}

0 commit comments

Comments
 (0)