Open Archives API » Records/Show

This method shows one specific genealogical record in either JSON or GEDCOM format.

URL

https://api.openarch.nl/1.0/records/show.json

Method

GET

Input

NameRequiredDescriptionDefault
archiveYesCode of archive (obtain a list of valid archive codes via Stats/Archives)
identifierYesIdentifier of the record
callbackNoFunction name to be called on JSON data (JSONP).

Output

The returned data in is JSON(P) format and contains the complete Archive 2 All model record. Beware that the order may not be as speficied the XSD due to the fact that hashes loose order. See functional documentation and technical documentation of A2A (Dutch only).

Example: https://api.openarch.nl/1.0/records/show.json?archive=elo&identifier=00005706-bcda-a217-aa3c-805d660252c1 outputs:

[
	{
		"a2a_Person": [
			{
				"pid": "Person1",
				"a2a_PersonName": {
					"a2a_PersonNameFirstName": {
						"a2a_PersonNameFirstName": "Petrus"
					},
					"a2a_PersonNameLastName": {
						"a2a_PersonNameLastName": "Breedeveld"
					}
				}
			},
			{
				"pid": "Person2",
				"a2a_PersonName": {
					"a2a_PersonNameFirstName": {
						"a2a_PersonNameFirstName": "Nicolaas"
					},
					"a2a_PersonNameLastName": {
						"a2a_PersonNameLastName": "Breedeveld"
					}
				}
			},
			{
				"pid": "Person3",
				"a2a_PersonName": {
					"a2a_PersonNameFirstName": {
						"a2a_PersonNameFirstName": "Catharina"
					},
					"a2a_PersonNameLastName": {
						"a2a_PersonNameLastName": "Kuyters"
					}
				}
			},
			{
				"pid": "Person4",
				"a2a_PersonName": {
					"a2a_PersonNameFirstName": {
						"a2a_PersonNameFirstName": "Johanna"
					},
					"a2a_PersonNameLastName": {
						"a2a_PersonNameLastName": "Breedeveld"
					}
				}
			},
			{
				"pid": "Person5",
				"a2a_PersonName": {
					"a2a_PersonNameFirstName": {
						"a2a_PersonNameFirstName": "Petrus"
					},
					"a2a_PersonNameLastName": {
						"a2a_PersonNameLastName": "Pech"
					}
				}
			}
		],
		"a2a_Event": {
			"eid": "Event1",
			"a2a_EventType": {
				"a2a_EventType": "Doop"
			},
			"a2a_EventDate": {
				"a2a_Year": {
					"a2a_Year": "1804"
				},
				"a2a_Month": {
					"a2a_Month": "10"
				},
				"a2a_Day": {
					"a2a_Day": "18"
				}
			},
			"a2a_EventPlace": {
				"a2a_Place": {
					"a2a_Place": "Leiden"
				}
			}
		},
		"a2a_RelationEP": [
			{
				"a2a_PersonKeyRef": {
					"a2a_PersonKeyRef": "Person1"
				},
				"a2a_EventKeyRef": {
					"a2a_EventKeyRef": "Event1"
				},
				"a2a_RelationType": {
					"a2a_RelationType": "Kind"
				}
			},
			{
				"a2a_PersonKeyRef": {
					"a2a_PersonKeyRef": "Person2"
				},
				"a2a_EventKeyRef": {
					"a2a_EventKeyRef": "Event1"
				},
				"a2a_RelationType": {
					"a2a_RelationType": "Vader"
				}
			},
			{
				"a2a_PersonKeyRef": {
					"a2a_PersonKeyRef": "Person3"
				},
				"a2a_EventKeyRef": {
					"a2a_EventKeyRef": "Event1"
				},
				"a2a_RelationType": {
					"a2a_RelationType": "Moeder"
				}
			},
			{
				"a2a_PersonKeyRef": {
					"a2a_PersonKeyRef": "Person4"
				},
				"a2a_EventKeyRef": {
					"a2a_EventKeyRef": "Event1"
				},
				"a2a_RelationType": {
					"a2a_RelationType": "Getuige"
				}
			},
			{
				"a2a_PersonKeyRef": {
					"a2a_PersonKeyRef": "Person5"
				},
				"a2a_EventKeyRef": {
					"a2a_EventKeyRef": "Event1"
				},
				"a2a_RelationType": {
					"a2a_RelationType": "Getuige"
				}
			}
		],
		"a2a_Source": {
			"a2a_SourcePlace": {
				"a2a_Place": {
					"a2a_Place": "Leiden"
				}
			},
			"a2a_SourceIndexDate": {
				"a2a_From": {
					"a2a_From": "1789-01-01"
				},
				"a2a_To": {
					"a2a_To": "1811-12-31"
				}
			},
			"a2a_SourceDate": {
				"a2a_Year": {
					"a2a_Year": "1804"
				},
				"a2a_Month": {
					"a2a_Month": "10"
				},
				"a2a_Day": {
					"a2a_Day": "18"
				}
			},
			"a2a_SourceType": {
				"a2a_SourceType": "DTB Dopen"
			},
			"a2a_SourceReference": {
				"a2a_Place": {
					"a2a_Place": "Leiden"
				},
				"a2a_InstitutionName": {
					"a2a_InstitutionName": "Erfgoed Leiden en omstreken"
				},
				"a2a_Archive": {
					"a2a_Archive": "1004"
				},
				"a2a_Collection": {
					"a2a_Collection": "Archiefnaam: Doopboek RK Utrechtse Veer, Deel: 303, Periode: 1789-1811"
				},
				"a2a_Book": {
					"a2a_Book": "Dopen RK gemeente - Kerk aan de Utrechtsche Veer 1789 - 1811."
				},
				"a2a_RegistryNumber": {
					"a2a_RegistryNumber": "303"
				}
			},
			"a2a_SourceAvailableScans": {
				"a2a_Scan": {
					"a2a_OrderSequenceNumber": {
						"a2a_OrderSequenceNumber": "1"
					},
					"a2a_Uri": {
						"a2a_Uri": "http:\/\/images.memorix.nl\/lei\/thumb\/1200x1200\/a18fe20a-3fc0-c7b0-373f-ead480ff24a2.jpg"
					},
					"a2a_UriViewer": {
						"a2a_UriViewer": "http:\/\/www.archiefleiden.nl\/home\/collecties\/personen\/zoek-op-personen\/weergave\/akte\/layout\/default\/id\/00005706-bcda-a217-aa3c-805d660252c1"
					},
					"a2a_UriPreview": {
						"a2a_UriPreview": "http:\/\/images.memorix.nl\/lei\/thumb\/188x188\/a18fe20a-3fc0-c7b0-373f-ead480ff24a2.jpg"
					}
				}
			},
			"a2a_SourceLastChangeDate": {
				"a2a_SourceLastChangeDate": "2014-06-27"
			},
			"a2a_RecordGUID": {
				"a2a_RecordGUID": "{00005706-bcda-a217-aa3c-805d660252c1}"
			},
			"a2a_SourceRemark": {
				"Key": "Opmerking",
				"a2a_Value": {
					"a2a_Value": "Doopboek RK Utrechtse Veer"
				}
			}
		}
	}
]

Errors

One of the following errors may be thrown:

Error codeError message
1Invalid archive
2Invalid identifier (syntax)
11Missing required archive
12Missing required identifier

An example error looks (pretty-printed) like:

{
	"error_code": 1,
	"error_description": "Invalid archive"
}

URL

https://api.openarch.nl/1.0/records/show.ged

Method

GET

Input

NameRequiredDescriptionDefault
archiveYesCode of archive (obtain a list of valid archive codes via Stats/Archives)
identifierYesIdentifier of the record

Output

The returned record is in GEDCOM 5.5.1 Format. In case of an error a JSON error message is returned (see table above).

Example: https://api.openarch.nl/1.0/records/show.gedcom?archive=elo&identifier=dbd950ab-6a89-cefb-59d1-549facd65795 outputs:

0 HEAD
1 SOUR OPENARCH
2 VERS 0.1
2 NAME Open Archieven
2 CORP Coret Genealogie
1 DATE 15 JAN 2014
2 TIME 20:54
1 _STS
2 INDI 3
2 FAM 1
2 REPO 0
2 SOUR 1
2 NOTE 0
2 SUBM 1
2 OBJE 0
1 SUBM @U@
1 FILE openarchieven-20140115-205421.ged
1 CHAR UTF-8
1 GEDC
2 VERS 5.5.1
2 FORM LINEAGE-LINKED
1 LANG Dutch
0 @I1@ INDI
1 NAME Lena /Satdhouder/
2 GIVN Lena
2 SURN Satdhouder
1 RESI
2 PLAC Maren, wijk 6, no 1198
1 BIRT
2 DATE 15 JAN 1814
2 PLAC Leiden
2 SOUR @S1@
3 NOTE Scan via http://www.archiefleiden.nl/home/collecties/personen/zoek-op-personen/weergave/akte/
4 CONC layout/default/id/dbd950ab-6a89-cefb-59d1-549facd65795
3 DATA
4 DATE 15 JAN 1814
1 FAMC @F1@
0 @I2@ INDI
1 NAME Nicolaas /Satdhouder/
2 GIVN Nicolaas
2 SURN Satdhouder
1 SEX M
1 FAMS @F1@
0 @I3@ INDI
1 NAME Lena /van Booken/
2 GIVN Lena
2 SPFX van
2 SURN Booken
1 SEX F
1 FAMS @F1@
0 @F1@ FAM
1 HUSB @I2@
1 WIFE @I3@
1 CHIL @I1@
0 @S1@ SOUR
1 DATA
2 EVEN BIRT
3 DATE FROM 1 JAN 1814 TO 31 DEC 1814
3 PLAC Leiden
1 TITL Stadsarchief van Leiden (Stadsbestuur (SA II))
2 CONT Archief 501A, inventarisnummer 7416
1 ABBR BS Geboorte
1 REPO @R@
0 @U@ SUBM
1 NAME Open Archieven
0 TRLR

Back to API documentation

Publiceer uw stamboom en zoek uw voorouders op Genealogie Online!
https://www.genealogieonline.nl/