Read Child-and-Parents Relationship Note

This example request illustrates how to read a note on a child-and-parents relationship.

JSON

Request

GET /platform/tree/child-and-parents-relationships/RRRX-RRX/notes/NNNN-NNN
Accept: application/x-fs-v1+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE

Response

HTTP/1.1 200 OK
Content-type: application/x-fs-v1+json
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-location: /platform/tree/child-and-parents-relationships/RRRX-RRX/notes/NNNN-NNN
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
Transfer-encoding: chunked{
  "childAndParentsRelationships" : [ {
    "id" : "RRRX-RRX",
    "links" : {
      "relationship" : {
        "href" : "https://api.familysearch.org/platform/tree/child-and-parents-relationships/RRRX-RRX?flag=fsh"
      }
    },
    "notes" : [ {
      "id" : "NNNN-NNN",
      "subject" : "Sample",
      "text" : "Sample note text",
      "attribution" : {
        "contributor" : {
          "resource" : "https://api.familysearch.org/platform/users/agents/JNYR-KJP",
          "resourceId" : "JNYR-KJP"
        }
      },
      "links" : {
        "note" : {
          "href" : "https://api.familysearch.org/platform/tree/child-and-parents-relationships/RRRX-RRX/notes/NNNN-NNN?flag=fsh"
        },
        "notes" : {
          "href" : "https://api.familysearch.org/platform/tree/child-and-parents-relationships/RRRX-RRX/notes?flag=fsh"
        }
      }
    } ]
  } ]
}

XML

Request

GET /platform/tree/child-and-parents-relationships/RRRX-RRX/notes/NNNN-NNN
Accept: application/x-fs-v1+xml
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE

Response

HTTP/1.1 200 OK
Content-type: application/x-fs-v1+xml
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-location: /platform/tree/child-and-parents-relationships/RRRX-RRX/notes/NNNN-NNN
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"?>
<fs:familysearch xmlns:fs="http://familysearch.org/v1/" xmlns="http://gedcomx.org/v1/" xmlns:atom="http://www.w3.org/2005/Atom">
    <fs:childAndParentsRelationship id="RRRX-RRX">
        <link rel="relationship" href="https://api.familysearch.org/platform/tree/child-and-parents-relationships/RRRX-RRX?flag=fsh"/>
        <note id="NNNN-NNN">
            <link rel="note" href="https://api.familysearch.org/platform/tree/child-and-parents-relationships/RRRX-RRX/notes/NNNN-NNN?flag=fsh"/>
            <link rel="notes" href="https://api.familysearch.org/platform/tree/child-and-parents-relationships/RRRX-RRX/notes?flag=fsh"/>
            <subject>Sample</subject>
            <text>Sample note text</text>
            <attribution>
                <contributor resource="https://api.familysearch.org/platform/users/agents/JNYR-KJP" resourceId="JNYR-KJP"/>
            </attribution>
        </note>
    </fs:childAndParentsRelationship>
</fs:familysearch>