IndiAddToExistingIndiAsRelation

Description

The IndiAddToExistingIndiAsRelation operation adds an individual record to another individual record with a particular relationship (i.e. father, mother, spouse, child or sibiling).

History

2008-08-19 Initial version without URL versioning

2009-03-03 Version URL's implemented

/FamilyTree/2009-03-03/Indi.svc

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

SOAP URI:
/Service/2009-03-18

REST URI [POST]:
/FamilyTree/2009-03-18/Indi.svc/AddIndiAsRelation

Request Parameters

Name Description Required

existingIndi

A reference to the individual aggregate to update

Type: Indi

Default: None

Constraints:

Yes

newIndi

A reference to the new individual aggregate to update

Type: Indi

Default: None

Constraints:

Yes

FamOgfn

The OneGreatFamily ID for the family to add the relationship

Type: UInt64

Default: None

Constraints: Must be a valid family ID.

Yes

indiType

The relationship type to add

Type: RelationshipTypeWS

Default: None

Constraints: Must be a valid RelationshipTypeWS.

Yes

GroupOgfn

The OneGreatFamily ID for the group making the request

Type: UInt64

Default: None

Constraints: Must be a valid group ID.

Yes

Response Elements

The only thing returned is the aggregate below:

Name Description

Indi

This operation returns a Indi aggregate upon success. Otherwise an error is returned.

Type: Indi