Parse Segments

This example request illustrates how to POST to the names segments resource to compose and possibly transliterate a name from its component parts.

JSON

Request

POST /platform/names/segments
Content-Type: application/x-gedcomx-v1+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE{
  "persons": [
    {
      "names": [
        {
          "nameForms": [
            {
              "lang": "ru-Latn",
              "fullText": "Anastassiya Aleksandrova",
              "parts": [
                {
                  "type": "http://gedcomx.org/Given",
                  "value": "Anastassiya"
                },
                {
                  "type": "http://gedcomx.org/Surname",
                  "value": "Aleksandrova"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

Response

HTTP/1.1 200 OK
Content-type: application/x-gedcomx-v1+json
X-processing-time: 179
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-length: 0
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: max-age=604800, must-revalidate, no-transform