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