public void Resolve() { QaseAPI qaseAPI = new QaseAPI("https://api.qase.io/v1", "your api token"); var id = qaseAPI.ResolveDefectAsync("TEST", 1) .Result.Result.Id; }