union/update

Updates a union

Usage

Requires POST.

https://www.geni.com/api/union-1/update?marriage[date][year]=1969&marriage[location][city]=Los Angeles

Parameters

Name Type Description Required
divorce Event Divorce date and location false
marriage Event Marriage date and location false

Returned Fields

Name Type Description
adopted_children Array of Strings Subset of the children array, indicating which children are adopted
children Array of Strings Array of children in the union (urls or ids, if requested)
divorce Event Divorce date and location
foster_children Array of Strings Subset of the children array, indicating which children are foster
id String The union's id
marriage Event Marriage date and location
marriage_date Date When the couple was married
marriage_location Location Where the couple was married
partners Array of Strings Array of partners in the union (urls or ids, if requested)
status String The status of the union (spouse|ex_spouse)
Note: Blank fields will not be returned to save bandwidth.

rails-1a-002