package w.soulofpluto.posstock;

import java.util.Map;
import okhttp3.RequestBody;
import okhttp3.Response;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.HeaderMap;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import retrofit2.http.Path;

/**
 * Created by Ramesh on 05/09/20.
 */

  public interface ApiService {
            @Headers({"Content-type: application/json"})
       @POST("/login/doLogin")
       Call<String> Login(@Body RequestBody body);

       @POST("/Tfs/getInfoWithTfsNumber")
       Call<Response> getInfoTfsNumber(@HeaderMap Map<String, String> headers, @Body RequestBody responseBody);

       @GET("/login/getStoresMappedToUser/{id}")
       Call<Response> getStoreId(@Path("id") String id);
  }
