var client = new RestClient("https://apitest.nilvera.com/einvoice/Sale/ea047f3a-009f-4811-bf3c-eb87207552cd/MailActivityhistories");
client.Timeout=-1;var request =newRestRequest(Method.GET);request.AddHeader("Authorization","Bearer <API KEY>");request.AddHeader("Content-Type","application/json");var body =@"["22d6b2ca-ba6b-47dc-a07e-846cc0e51a0e"]";request.AddParameter("application/json", body,ParameterType.RequestBody);IRestResponse response =client.Execute(request);Console.WriteLine(response.Content);