updateActivity (POST)

Updates the given activity and returns the id.