Read Couple Relationship (Conditional)
This example request illustrates how to conditionally read a couple relationship. Note that if you maintain the version of the couple relationship, as provided in the Etag
, you can provide the version using the If-None-Match
header and we'll tell you if you have the latest version.
JSON
Request
GET /platform/tree/couple-relationships/crid Accept: application/x-gedcomx-v1+json If-None-Match: "vjfje78v34" Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 304 Not Modified Content-type: application/x-gedcomx-v1+json X-processing-time: 3 Etag: "1543638712000" Vary: Accept,Accept-Language,Accept-Encoding,Expect Content-length: 0 Content-location: /platform/tree/couple-relationships/crid Date: Sun, 03 Apr 1836 10:00:00 GMT-5 Cache-control: no-transform, must-revalidate, max-age=0
XML
Request
GET /platform/tree/couple-relationships/crid Accept: application/x-gedcomx-v1+xml If-None-Match: "vjfje78v34" Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 304 Not Modified Content-type: application/x-gedcomx-v1+xml X-processing-time: 3 Etag: "1543638712000" Vary: Accept,Accept-Language,Accept-Encoding,Expect Content-length: 0 Content-location: /platform/tree/couple-relationships/crid Date: Sun, 03 Apr 1836 10:00:00 GMT-5 Cache-control: no-transform, must-revalidate, max-age=0
Sending...
Feedback was sent.
Can't send feedback. Retry in 5 seconds.