Read Couple Relationship Source References

This example request illustrates how to read the source references for a couple relationship. Source references are used to validate the couple relationship.

JSON

Request

GET /platform/tree/couple-relationships/RRRR-RRR/source-references
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
Content-location: /platform/tree/couple-relationships/RRRR-RRR/source-references
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
Transfer-encoding: chunked{
  "relationships" : [ {
    "id" : "RRRR-RRR",
    "links" : {
      "relationship" : {
        "href" : "https://api.familysearch.org/platform/tree/couple-relationships/RRRR-RRR?flag=fsh"
      }
    },
    "sources" : [ {
      "id" : "abcde",
      "attribution" : {
        "contributor" : {
          "resource" : "https://api.familysearch.org/platform/users/agents/UUUU-UUU",
          "resourceId" : "UUUU-UUU"
        },
        "modified" : 123456789,
        "changeMessage" : "Family is at the same address found in other sources associated with this family.  Names are a good match.  Estimated births are reasonable."
      },
      "links" : {
        "source-reference" : {
          "href" : "https://api.familysearch.org/platform/tree/couple-relationships/RRRR-RRR/source-references/psrcrefid?flag=fsh"
        }
      },
      "description" : "https://api.familysearch.org/platform/sources/descriptions/MMMM-MMM",
      "tags" : [ {
        "resource" : "http://gedcomx.org/Name"
      }, {
        "resource" : "http://gedcomx.org/Gender"
      }, {
        "resource" : "http://gedcomx.org/Birth"
      } ]
    }, {
      "id" : "fghij",
      "attribution" : {
        "contributor" : {
          "resource" : "https://api.familysearch.org/platform/users/agents/UUUU-UUU",
          "resourceId" : "UUUU-UUU"
        },
        "modified" : 987654321,
        "changeMessage" : "Dates and location match with other sources."
      },
      "links" : {
        "source-reference" : {
          "href" : "https://api.familysearch.org/platform/tree/couple-relationships/RRRR-RRR/source-references/srcrefid2?flag=fsh"
        }
      },
      "description" : "https://api.familysearch.org/platform/sources/descriptions/BBBB-BBB"
    } ]
  } ]
}

XML

Request

GET /platform/tree/couple-relationships/RRRR-RRR/source-references
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
Content-location: /platform/tree/couple-relationships/RRRR-RRR/source-references
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">
    <relationship id="RRRR-RRR">
        <link rel="relationship" href="https://api.familysearch.org/platform/tree/couple-relationships/RRRR-RRR?flag=fsh"/>
        <source description="https://api.familysearch.org/platform/sources/descriptions/MMMM-MMM" id="abcde">
            <fs:tag resource="http://gedcomx.org/Name"/>
            <fs:tag resource="http://gedcomx.org/Gender"/>
            <fs:tag resource="http://gedcomx.org/Birth"/>
            <link rel="source-reference" href="https://api.familysearch.org/platform/tree/couple-relationships/RRRR-RRR/source-references/psrcrefid?flag=fsh"/>
            <attribution>
                <contributor resource="https://api.familysearch.org/platform/users/agents/UUUU-UUU" resourceId="UUUU-UUU"/>
                <modified>1970-01-02T03:17:36.789-07:00</modified>
                <changeMessage>Family is at the same address found in other sources associated with this family.  Names are a good match.  Estimated births are reasonable.</changeMessage>
            </attribution>
        </source>
        <source description="https://api.familysearch.org/platform/sources/descriptions/BBBB-BBB" id="fghij">
            <link rel="source-reference" href="https://api.familysearch.org/platform/tree/couple-relationships/RRRR-RRR/source-references/srcrefid2?flag=fsh"/>
            <attribution>
                <contributor resource="https://api.familysearch.org/platform/users/agents/UUUU-UUU" resourceId="UUUU-UUU"/>
                <modified>1970-01-12T03:20:54.321-07:00</modified>
                <changeMessage>Dates and location match with other sources.</changeMessage>
            </attribution>
        </source>
    </relationship>
</gedcomx>