Read Person Not-A-Match Declarations
This example request illustrates how to read the persons that have been designated as not a match for a specific person.
JSON
Request
GET /platform/tree/persons/12345/not-a-match
Accept: application/x-gedcomx-v1+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 200 OK
Content-type: application/x-gedcomx-v1+json
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
Transfer-encoding: chunked{
"persons" : [ {
"id" : "MJVL-PRP",
"attribution" : {
"contributor" : {
"resource" : "https://api.familysearch.org/platform/users/agents/GNMB-DWS"
},
"modified" : 1543677067759,
"changeMessage" : "(The reason for the not-a-match declaration.)"
},
"links" : {
"person" : {
"href" : "https://api.familysearch.org/platform/tree/persons/MJVL-PRP?flag=fsh"
},
"non-match" : {
"href" : "https://api.familysearch.org/platform/tree/persons/12345/not-a-match/MJVL-PRP?flag=fsh"
}
}
} ]
}
XML
Request
GET /platform/tree/persons/12345/not-a-match
Accept: application/x-gedcomx-v1+xml
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 200 OK
Content-type: application/x-gedcomx-v1+xml
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
Transfer-encoding: chunked<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<gedcomx xmlns:fs="http://familysearch.org/v1/" xmlns="http://gedcomx.org/v1/" xmlns:atom="http://www.w3.org/2005/Atom">
<person id="MJVL-PRP">
<link rel="non-match" href="https://api.familysearch.org/platform/tree/persons/12345/not-a-match/MJVL-PRP?flag=fsh"/>
<link rel="person" href="https://api.familysearch.org/platform/tree/persons/MJVL-PRP?flag=fsh"/>
<attribution>
<contributor resource="https://api.familysearch.org/platform/users/agents/GNMB-DWS"/>
<modified>2018-12-01T08:11:07.759-07:00</modified>
<changeMessage>(The reason for the not-a-match declaration.)</changeMessage>
</attribution>
</person>
</gedcomx>
Updated 5 days ago