rhbz988202 - move dto from api to server