package it.integry.integrywmsnative.gest.contab_doc_interni.rest;

import com.google.gson.JsonObject;

import it.integry.integrywmsnative.core.rest.model.ServiceRESTResponse;
import it.integry.integrywmsnative.gest.contab_doc_interni.dto.GrigliaAcquistiDTO;
import it.integry.integrywmsnative.gest.contab_doc_interni.dto.SaveDTO;
import it.integry.integrywmsnative.gest.contab_doc_interni.dto.DocInterniSetupDTO;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;


public interface DocInterniRESTConsumerService {

    @GET("getDocInterniSetup")
    Call<ServiceRESTResponse<DocInterniSetupDTO>> getSetupDocInterni();

    @POST("SM2SaveTerminalinoWMS")
    Call<ServiceRESTResponse<JsonObject>> save(@Body SaveDTO saveDTO);

    @GET("getElencoArticoli")
    Call<ServiceRESTResponse<GrigliaAcquistiDTO>> fetchProducts(@Query("codDtip") String codDtip, @Query("codMgrp") String codMgrp, @Query("gestione") String gestione);
}
