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

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

    • getVenueConf

      @GET("/controller/api/v3/configurator/venueConfig") void getVenueConf(@Header("x-access-tokens") String token, retrofit.Callback<VenueConf> handler)
      Method that will retrieve the venue 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
    • updateVenueConf

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