public List <ContestDetailsResp> GetContestDetails(PlayerRequest req) { List <ContestDetailsResp> contestLst = new List <ContestDetailsResp>(); string json = "{\"returnType\": \"response\",\"query\": \"query ContestHomeData($site: String!, $tourId: Int!, $matchId: Int!) { me { isGuestUser showOnboarding } site(slug: $site) { canCreateContest name showWalletIcon } contestSections(site: $site, matchId: $matchId, tourId: $tourId) { id name description artwork { src } totalContestCount displayContests { contestCategory contestSize currentSize entryFee { amount symbol } hasJoined id inviteCode isInfiniteEntry isGuaranteed isMultipleEntry isRecommended numberOfWinners prizeAmount { amount symbol } showInvite isFreeEntry match { id status } tour { id name } site } }}\",\"variables\": {\"tourId\": 0,\"matchId\": " + req.MatchId + ",\"site\": \"cricket\",\"category\": \"PAID\"}}"; Dictionary <string, Contest> dict = _contestRepo.ConstructContestJson(json); contestLst = MapContestDetailsFromDict(dict); return(contestLst); }