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

/FamilyTree/2009-03-03/Match.svc

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

SOAP URI:
/Service/2009-03-18

REST URI [GET]:
/FamilyTree/2009-03-18/Indi.svc/Compare/Indi/{indiOGFN1}/Indi/{indiOGFN2}/Group/{groupOgfn}?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

groupOgfn

The OneGreatFamily ID for the group requesting the comparison

Type: UInt64

Default: None

Constraints: Must be a valid group ID.

Yes

AutoMergeIfMatch

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

Type: bool

Default: None

Constraints:

Yes

Response Elements

The only thing returned is the return code below:

Name Description

UInt32

This operation returns a UInt32.