Refactored code so the activatinguiobject takes in an object.

Which the controller then uses to pass to the service.

Which the service encodes as the request's object.