Update Genealogies Person
This example request illustrates how to make changes to a person.
JSON
Request
POST /platform/genealogies/persons/2:2:PPPJ-MYZ
Content-Type: application/x-gedcomx-v1+json
Accept: application/x-gedcomx-v1+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE{
"persons" : [ {
"id" : "PPPJ-MYZ"
} ]
}
Response
HTTP/1.1 201 Created
Content-type: application/x-gedcomx-v1+json
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-location: /platform/genealogies/persons/2:2:PPPJ-MYZ
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
Location: http://acme.com
Transfer-encoding: chunked
XML
Request
POST /platform/genealogies/persons/2:2:PPPJ-MYZ
Content-Type: application/x-gedcomx-v1+xml
Accept: application/x-gedcomx-v1+xml
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE<?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="PPPJ-MYZ"/>
</gedcomx>
Response
HTTP/1.1 201 Created
Content-type: application/x-gedcomx-v1+xml
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-location: /platform/genealogies/persons/2:2:PPPJ-MYZ
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
Location: http://acme.com
Transfer-encoding: chunked
Updated 5 days ago