public async Task <List <Intervention> > GetHistory(int interventionId)
        {
            var response = await restClient.GetAsync(ApiURI.URL_BASE(Settings.CurrentAccount) + ApiURI.URL_GET_INTERVENTION_HISTORY(Settings.CurrentUserName, Settings.CurrentPassword, interventionId));

            var content = await response.Content.ReadAsStringAsync();

            if (response.IsSuccessStatusCode)
            {
                var result = JsonConvert.DeserializeObject <InterventionHistoryRespone>(content);
                if (result != null)
                {
                    List <Intervention> interventions = new List <Intervention>();
                    if (result.Interventions != null)
                    {
                        foreach (var intRes in result.Interventions)
                        {
                            interventions.Add(new Intervention(intRes));
                        }
                    }
                    return(interventions);
                }
            }
            else
            {
                Debug.WriteLine("Get Intervention History failed: " + content);
                return(null);
            }

            return(null);
        }