Set Couple Relationship Spouses Ordering

This example request illustrates how to set the couple relationship spouses ordering. The relationship with the given persons must already exist.

JSON

Request

POST /platform/tree/couple-relationships/CRID/spouses/order
Content-Type: application/x-fs-v1+json
X-Reason: Marriage Certificate indicates proper spouses
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
                
                  {
  "relationships" : [ {
    "id" : "CRID",
    "attribution" : {
      "changeMessage" : "...change message..."
    },
    "type" : "http://gedcomx.org/Couple",
    "person1" : {
      "resource" : "https://api.familysearch.org/platform/tree/persons/femaleSpouseA",
      "resourceId" : "femaleSpouseA"
    },
    "person2" : {
      "resource" : "https://api.familysearch.org/platform/tree/persons/femaleSpouseB",
      "resourceId" : "femaleSpouseB"
    }
  } ]
}
                
              

Response

HTTP/1.1 204 No Content
Content-type: text/html
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Content-length: 0
Content-location: /platform/tree/couple-relationships/CRID/spouses/order
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-cache, no-store, no-transform, must-revalidate, max-age=0
                
              

언어 변경

피드백

보내는 중…

피드백이 발송되었습니다.

피드백을 발송할 수 없습니다. 5초 후에 다시 시도하십시오.