- Family Graph API
- Objects
- AggregateValueAdd
- Album
- Audio
- BuyNowData
- ChildInFamily
- Citation
- ColorizationData
- Comment
- Config
- ConfirmationStatus
- Counter
- Device
- DiscoveryBase
- DnaAncestorName
- DnaEnums
- DnaEthnicity
- DnaEthnicityReport
- DnaKit
- DnaKitFile
- DnaMatch
- DnaMatchCommonAncestor
- DnaMatchNote
- DnaMatchRelationship
- DnaOrderItemShippingDetails
- Document
- Enums
- EthnicityInLocation
- Event
- EventDate
- EventPlace
- ExportGEDCOM
- ExportGEDCOMStatus
- Family
- FamilyEvent
- GenealogyEvent
- GoalActivity
- Image
- Individual
- Installation
- Invitation
- MatchesCount
- MatchingRequest
- MediaItem
- Membership
- Navigation
- NavigationItem
- NavigationItemBadge
- NewPhotoInfo
- Note
- Notification
- NotificationHistory
- OrderItemCoupon
- OrderItemShippingDetails
- Page
- PersonalPhotosDiscovery
- Phones
- Photo
- PhotoVersion
- Range
- RecordColorizationData
- RecordIndividual
- RecordMatchesCount
- Relationship
- ResiEvent
- ShippingOption
- SingleDate
- Site
- SmartMatch
- Source
- StructuredDate
- StructuredPlace
- SubTree
- SuggestedRelative
- System
- Tag
- ThreadsCount
- Tree
- TreeItem
- User
- UserMenu
- ValueAddData
- ValueAddElement
- ValueAddFactor
- Video
- WorldEthnicities
- SDKs
- PHP SDK
- iOS SDK
- Android SDK
ResiEvent
A RESI event of an individual represented in the Family Graph API.
Individuals in a family tree have resi events such as email, phone and address. etc. Each event includes a type and can also specify a date when the event occurred, a place where it occurred and other properties.
Fields
The ResiEvent
object contains the following fields:
Name | Description | Type | Access Mode |
id |
The event's id |
id |
read |
event_type |
The event's type
|
string |
read, write |
title |
A description of the event type in the current data language |
string |
read |
date |
The date when the event occurred |
EventDate object: gedcom, text, date, structured_date and class_name fields |
read, write |
place |
The place where the event occurred |
string |
read, write |
header |
A header describing the event (for example, the occupation in an OCCU event) |
string |
read, write |
age |
Age of individual when the event occurred |
string |
read |
link |
Link to individual of this event on MyHeritage.com |
string |
read |
Email address |
string |
read, write |
|
address |
First address line |
string |
read, write |
address2 |
Second address line |
string |
read, write |
city |
City |
string |
read, write |
state |
State, province or district |
string |
read, write |
country |
Country name (not country code) |
string |
read, write |
zip_code |
Zip or postal code |
string |
read, write |
fax |
Fax number |
string |
read, write |
phone |
Phone number |
string |
read, write |
web_address |
Web address (URL) relevant for the individual the event belongs to |
string |
read, write |
web_username |
User name in web account |
string |
read, write |
web_type |
Type of web account the webusername belongs to (Twitter, Facebook, Skype and so on) |
string |
read, write |
hair_color |
Color of hair of the individual |
string |
read |
eye_color |
Color of eyes of the individual |
string |
read |
height |
Height of the individual |
string |
read |
weight |
Weight of the individual |
string |
read |
description |
Physical description of the individual |
string |
read |
cause_of_death |
Cause of death of the individual |
string |
read |
category |
The category of the event |
string |
read |
data_language |
Language code for the data of the event (ISO-639-1 code) |
string |
read |
individual |
The individual that the event belongs to |
Individual object: id and name fields |
read |
tree |
The family tree of the family the event belongs to |
Tree object: id and name fields |
read |
site |
The family site of the event's tree |
Site object: id and name fields |
read |
class_name |
The object class name |
string |
read |
Connections
The ResiEvent object contains the following connections:Name | Description | Type | Access Mode |
media |
List of media items of the event, including photos, videos, document and audios |
array of MediaItem objects |
read |
citations |
List of citations of the event |
array of Citation objects |
read |
notes |
List of notes of the event |
array of Note objects |
read |
Example
https://familygraph.myheritage.com/resievent-144530322-1000257 (open in browser){
"id": "resievent-144530322-1000257",
"event_type": "RESI",
"title": "Residence",
"header": "<Address>1600 Pennsylvania Ave.<\/Address><City>Washington DC<\/City>",
"link": "https:\/\/www.myheritage.com\/person-1000001_144530322_144530322\/john-fitzgerald-kennedy?show=events",
"address": "1600 Pennsylvania Ave.",
"city": "Washington DC",
"category": "residence",
"data_language": "EN",
"individual": {
"id": "individual-144530322-1000001",
"name": "John Fitzgerald Kennedy"
},
"tree": {
"id": "tree-144530322-1",
"name": "jfk"
},
"site": {
"id": "site-144530322",
"name": "Demo Family Site"
},
"class_name": "ResiEvent"
}