package it.integry.integrywmsnative.core.rest.consumers;

import java.util.List;

import it.integry.integrywmsnative.core.model.StbGestSetup;
import it.integry.integrywmsnative.core.rest.model.GestSetupDTO;
import it.integry.integrywmsnative.core.rest.model.ServiceRESTResponse;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface GestSetupRESTConsumerService {

    @GET("gestSetup")
    Call<ServiceRESTResponse<GestSetupDTO>> getGestSetupValue(
            @Query("gestName") String gestName,
            @Query("section") String section,
            @Query("keySection") String keySection);

    @GET("gestSetup")
    Call<ServiceRESTResponse<GestSetupDTO>> getGestSetupValue(
            @Query("gestName") String gestName,
            @Query("section") String section,
            @Query("keySection") String keySection,
            @Query("codMdep") String codMdep);

    @POST("gestSetupList")
    Call<ServiceRESTResponse<List<StbGestSetup>>> getGestSetupValues(
            @Query("codMdep") String codMdep,
            @Body List<StbGestSetup> stbGestSetupList);

}
