diff --git a/app/src/main/java/com/example/citrusclient/rest/ScheduleRest.java b/app/src/main/java/com/example/citrusclient/rest/ScheduleRest.java index be891fe..bfc32d4 100644 --- a/app/src/main/java/com/example/citrusclient/rest/ScheduleRest.java +++ b/app/src/main/java/com/example/citrusclient/rest/ScheduleRest.java @@ -58,6 +58,17 @@ @Query("token") String token ); + @GET(BASE_URL + "/{year}/{month}") + Call>> getScheduleByMonthAndBookId( + @Path("account_id") String accountId, + @Path("year") int year, + @Path("month") int month, + @Query("book_id") int bookId, + @Query("token") String token + ); + @GET(BASE_URL + "/{year}/{month}/{day}/{schedule_id}") Call getScheduleById( @Path("account_id") String accountId,