Implemented `queryActivityDetail` on server side.