Person

Create Genealogies Person

Create a genealogies person in the specified genealogies tree.

post/genealogies/trees/{tid}/persons

Request

  • Base URL
    https://apibeta.familysearch.org/platform
  • URL
    https://apibeta.familysearch.org/platform/genealogies/trees/{tid}/persons
  • Auth
    HTTP bearer

Path parameters

tidstring required

The ID of the genealogies tree. To find genealogies tree IDs, see <a href="/reference/readgenealogiestrees" target="_blank">Read Genealogies Trees</a>, or <a href="/reference/creategenealogiestree" target="_blank">Create Genealogies Tree</a> to create a new genealogies tree.

Headers

Content-Type'application/x-fs-v1+json' | 'application/x-gedcomx-v1+json' | 'application/x-fs-v1+xml' | 'application/x-gedcomx-v1+xml' required

Specifies the media type of the entity-body sent to the server in the request.

X-Reasonstring

Header giving the reason for creating a genealogies person.

Request body

Example request

{
  "persons": [
    {
      "id": "local-person-1",
      "gender": {
        "type": "http://gedcomx.org/Female"
      },
      "names": [
        {
          "type": "http://gedcomx.org/BirthName",
          "preferred": true,
          "nameForms": [
            {
              "fullText": "Anastasia Aleksandrova",
              "parts": [
                {
                  "type": "http://gedcomx.org/Given",
                  "value": "Anastasia"
                }
              ]
            }
          ]
        }
      ],
      "facts": [
        {
          "type": "http://gedcomx.org/Birth",
          "date": {
            "original": "3 Apr 1836",
            "formal": "+1836"
          },
          "place": {
            "original": "Moscow, Russia"
          }
        }
      ],
      "attribution": {
        "changeMessage": "message"
      }
    }
  ]
}

Response

The creation of the genealogies person was successful. Expect a location header specifying the link to the created person.

Changes

No recorded changes to this operation across all 1 revision of this API.