Set Child-and-Parents Relationship Parents Ordering
Set Child-and-Parents Relationship Parents Ordering
JSON
Request
POST /platform/tree/child-and-parents-relationships/CPID/parents/order
Content-Type: application/x-fs-v1+json
X-Reason: Birth Certificate indicates proper parents
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE{
"childAndParentsRelationships" : [ {
"id" : "CPID",
"attribution" : {
"changeMessage" : "...change message..."
},
"parent1" : {
"resource" : "https://api.familysearch.org/platform/tree/persons/femaleParentA",
"resourceId" : "femaleParentA"
},
"parent2" : {
"resource" : "https://api.familysearch.org/platform/tree/persons/femaleParentB",
"resourceId" : "femaleParentB"
}
} ]
}
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/child-and-parents-relationships/CPID/parents/order
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-cache, no-store, no-transform, must-revalidate, max-age=0
Updated 5 days ago