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 bfc32d4..7058246 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}/{day}") + Call> getSchedulesByDayAndBook( + @Path("account_id") String accountId, + @Path("year") int year, + @Path("month") int month, + @Path("day") int day, + @Query("book_id") int bookId, + @Query("token") String token + ); + @GET(BASE_URL + "/{year}/{month}") Call