-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hi,
I am new to the API and I was wondering whether all the classes in the API (let's say PersonState) store genealogy info (in properties), or are just a means for request data, but not to be used as entity classes.
It's just that I still didn't manage to load current user as a person record along with its birth date and some other conclusions.
Here's my code:
var uri = new Uri("https://integration.familysearch.org/platform/collections/tree");
var tree = new FamilySearchFamilyTree(uri);
var state = tree.AuthenticateViaOAuth2Password(Username, Password, ClientId);
Debug.Assert(state.IsAuthenticated);
var current = tree.ReadPersonForCurrentUser();
var name = current.GetName(); //null
var conclusion = current.GetConclusion(); //null
var conclusions = current.LoadConclusions();
Now my question is what's next? Why is the name and conclusion field null, if the tree looks like so:
Here's a screenshot of what I see in my debugger for the variable conclusions:
Metadata
Metadata
Assignees
Labels
No labels

