public string RequestDadosPlatform(DadosPlatformRequest request) { return(null); string resposta = string.Empty; string url = requestUrl + "/platforms/" + string.Join(",", request.Ids) + "?fields=" + request.Fields; return(DoRequest(url)); }
public List <DadosPlatformResponse> DadosPlatform(int[] plats) { return(null); RequestService requestService = new RequestService(); DadosPlatformRequest request = new DadosPlatformRequest { Ids = plats }; string resposta = requestService.RequestDadosPlatform(request); List <DadosPlatformResponse> response = JsonConvert.DeserializeObject <List <DadosPlatformResponse> >(resposta); return(response); }