package com.fusi24.rfid.data.api;

import com.fusi24.rfid.config.Constant;
import com.fusi24.rfid.data.model.DataResultRfid;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

public interface RestService {

    @GET(Constant.RFID_ENDPOINT + "/permit/check/{number_rfid}")
    Observable<DataResultRfid> checkRfidCard(@Path("number_rfid") String numberRfid,
                                             @Query("entryPermitId") Integer permitId,
                                             @Query("expand") String[] expand);

}
