Currently selected Anchor Get

Description

Gets the current anchor for the current group for the user. Users can have many anchors pointing into the OneGreatFamily system, the current anchor is the one that is used by default when getting a tree or navigating a tree for the user. If you want to navigate or manipulate a different tree, you will need to switch the current anchor.

Version

2011-02-02

URI

REST URI [GET]:
/v11.02/Group.svc/CurrentAnchorGet?SessionId={SessionId}

Example

Request GET
http://wsdev.onegreatfamily.com/v11.02/Group.svc/CurrentAnchorGet?SessionId=gl4q23cwofpshi55sg1pvc3o
Success Response Payload
<Indi xmlns="http://schemas.datacontract.org/2004/07/OGF.WS.Data">
	<BirthDate>1 Jan 1950</BirthDate>
	<BirthPlace>Springfield, UT, UT, USA</BirthPlace>
	<BurialDate>20 Jan 1976<BurialDate>
	<BurialPlace>Springfield, UT, UT, USA</BurialPlace>
	<ChildFamilyOgfn>0</ChildFamilyOgfn>
	<ChristeningDate>5 September 1950</ChristeningDate>
	<ChristeningPlace>Springfield, UT, UT, USA</ChristeningPlace>
	<ConflictsExist>false</ConflictsExist>
	<DeathDate>10 Jan 1976</DeathDate>
	<DeathPlace>Springfield, UT, UT, USA</DeathPlace>
	<Email>support@onegreatfamily.com</Email>
	<Gender>Male</Gender>
	<GroupOgfn>1101645</GroupOgfn>
	<HintsExist>false</HintsExist>
	<MergesExist>false</MergesExist>
	<Name>Bill /Smith/</Name>
	<Ogfn>189755608</Ogfn>
	<SpouseFamilyOgfns />
	<lockId>0</lockId>
</Indi>
Fault Response Payload
<RestFault xmlns="http://schemas.datacontract.org/2004/07/OGF.WS.Data">
	<ErrorCode>551</ErrorCode>
	<FaultMessage>An unhandled exception has occurred</FaultMessage>
</RestFault>

Query String Parameters

Name Description Required

SessionId

The current session Id

Type: string

Default: None

Yes

Response Elements

Name Description

Indi

Success: This operation returns an Indi as the current anchor for the user.

Error: An error will be returned

Type: Indi

HTTP Status Code

The Web Server returns a status code which indicates if the operation was successful. Anything other than 200 should be regarded as a failure.

HTTP Status Code of 417

The Web Server threw an exception and contains a RestFault aggregate. Retrieve the RestFault from the Webexception response property.