IndiCompare

Description

The IndiCompare operation compares two individual records by OGFN and determines if they match. If Automerge is true and the individuals match, they will be merged together.

History

2008-08-19 Initial version without URL versioning

2009-03-03 Version URL's implemented

2009-03-18 Seperate SOAP and REST URL's

2009-09-09 Added SessionId as parameter

URI's

SOAP URI:
/Service/2009-09-09

REST URI [GET]:
/FamilyTree/2009-09-09/Indi.svc/Compare/Indi/{indiOGFN1}/Indi/{indiOGFN2}?AutoMergeIfMatch={AutoMergeIfMatch}

Request Parameters

Name Description Required

indiOgfn1

The OneGreatFamily ID for the first individual to compare

Type: UInt64

Default: None

Constraints: Must be a valid individual ID.

Yes

indiOgfn2

The OneGreatFamily ID for the second individual to compare

Type: UInt64

Default: None

Constraints: Must be a valid individual ID.

Yes

AutoMergeIfMatch

Flag that if true will automatically merge OGFN1 and OGFN2 if the OGFNs match

Type: bool

Default: None

Constraints:

Yes

SessionId

The current session Id

Type: string

Default: None

Yes

Response Elements

The only thing returned is the return code below:

Name Description

UInt32

This operation returns a UInt32.