Created ApiClass to represent an endpoint