Interface VenueConfRetrofitApi
public interface VenueConfRetrofitApi
- Since:
- 8/5/23
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getVenueConf
(String token, retrofit.Callback<VenueConf> handler) Method that will retrieve the venue config file for the current venue, represented by json structurevoid
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 Confighandler
- 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 ConfigvenueConf
- the venue object to update or create the Venue Config in the serverhandler
- the handler to manage the request status
-