public interface UnitConfRetrofitApi
Since:
8/5/23
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    getUnitConf(String token, retrofit.Callback<UnitConf> handler)
    Method that will retrieve the unit config file for the current venue, represented by json structure
    void
    updateUnitConf(String token, UnitConf unitConf, APIRetrofitCallback<retrofit.client.Response> handler)
    Method that will update the unit config file for the current venue, represented by json structure
  • Method Details

    • getUnitConf

      @GET("/controller/api/v3/configurator/serverConfig") void getUnitConf(@Header("x-access-tokens") String token, retrofit.Callback<UnitConf> handler)
      Method that will retrieve the unit config file for the current venue, represented by json structure
      Parameters:
      token - the token to authenticate and get the Venue Config
      handler - the handler to manage the request status
    • updateUnitConf

      @POST("/controller/api/v3/configurator/serverConfig") void updateUnitConf(@Header("x-access-tokens") String token, @Body UnitConf unitConf, APIRetrofitCallback<retrofit.client.Response> handler)
      Method that will update the unit config file for the current venue, represented by json structure
      Parameters:
      token - the token to authenticate and post the Unit Config
      unitConf - the unit object to update or create the Receiver Config in the server
      handler - the handler to manage the request status