-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from epic-guys/develop
Release 1.0
- Loading branch information
Showing
59 changed files
with
5,513 additions
and
359 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
app/src/main/java/org/epic_guys/esse4/API/services/CalendarioEsamiService.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package org.epic_guys.esse4.API.services; | ||
|
||
import org.epic_guys.esse4.models.Appello; | ||
import org.epic_guys.esse4.models.ParametriIscrizioneAppello; | ||
|
||
import retrofit2.Call; | ||
import retrofit2.http.Body; | ||
import retrofit2.http.GET; | ||
import retrofit2.http.POST; | ||
import retrofit2.http.Path; | ||
|
||
import java.util.List; | ||
|
||
public interface CalendarioEsamiService extends ApiService { | ||
String BASE_URL = "calesa-service-v1"; | ||
|
||
@GET(BASE_URL + "/appelli/{cdsId}/{adId}") | ||
Call<List<Appello>> getAppelli(@Path("cdsId") Long idCorsoDiStudio, @Path("adId") Long idAttivitaDidattica); | ||
|
||
@POST(BASE_URL + "/appelli/{cdsId}/{adId}/{appId}/iscritti") | ||
Call<Void> postIscrizioneAppello( | ||
@Path("cdsId") long idCorsoDiStudio, | ||
@Path("adId") long idAttivitaDidattica, | ||
@Path("appId") long idAppello, | ||
@Body ParametriIscrizioneAppello parametriIscrizioneAppello | ||
); | ||
} |
Oops, something went wrong.