Family Unlock

Description

The FamUnlock operation releases the lock for an family record so it can be modified by someone else.

Version

2011-02-02

URI

REST URI [POST]:
/v11.02/Family.svc/Unlock?SessionId={SessionId}

Content-Type: Application/xml

Example

Request POST
http://wsdev.onegreatfamily.com/v11.02/Family.svc/Unlock?SessionId=113434515134543151134
Request Headers
Content-Type: Application/xml
Request Payload
<Fam xmlns="http://schemas.datacontract.org/2004/07/OGF.WS.Data">
  <ChildrenOgfns xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <a:unsignedLong>1341234</a:unsignedLong>
  </ChildrenOgfns>
  <DivorceDate>1 Jan 2000</DivorceDate>
  <DivorcePlace>New york, New york, usa</DivorcePlace>
  <GroupOgfn>2345</GroupOgfn>
  <HusbandOgfn>24345</HusbandOgfn>
  <MarriageDate>1 Jan 1960</MarriageDate>
  <MarriagePlace>New york, New york, usa</MarriagePlace>
  <Ogfn>1341324</Ogfn>
  <WifeOgfn>3242435</WifeOgfn>
  <lockId>34254323461344234</lockId>
</Fam>
 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

Fam

The OneGreatFamily Fam aggregate returned by the FamLock operation

Type: Fam

Default: None

Constraints: Must have been returned by FamLock.

Yes

SessionId

The current session Id

Type: string

Default: None

Yes

Response Elements

Name Description

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.