All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.aipark.api.sdk.SdkApiEndpointInterface Maven / Gradle / Ivy

package de.aipark.api.sdk;

import de.aipark.api.parkevent.ParkEventLiveLeavingIntern;
import de.aipark.api.requestsResponse.getConfig.GetConfigRequest;
import de.aipark.api.requestsResponse.getConfig.GetConfigResponse;
import de.aipark.api.sdk.route.Route;
import de.aipark.api.webservice.Webservice;
import retrofit2.http.Body;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by torgen on 21.11.17.
 */
public interface SdkApiEndpointInterface {
    @POST(Webservice.ADD_ROUTE)
    Observable addRoute(@Body Route route);
    @POST(Webservice.ADD_LIVE_PARK_EVENT)
    Observable addLiveParkEvent(@Body ParkEventLiveLeavingIntern parkEventLiveLeaving);
    @POST(Webservice.GET_CONFIG)
    Observable getConfig(@Body GetConfigRequest getConfigRequest);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy