Create CET
This example request illustrates how to create a CET.
JSON
Request
POST /platform/trees
Content-Type: application/x-fs-v1+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
{
"trees" : [
"groupIds" : [
"9MMN-C68"
],
"name" : "The Good Ship Zion, Voyage #1",
"description" : "The passengers and descendants of those who migrated on the Good Ship Zion, Voyage #1",
"ownerAccess" : "http://familysearch.org/v1/CompanyApp",
"groupAccess" : "http://familysearchorg/v1/None"
]
}
Response
HTTP/1.1 201 Created X-entity-id: 9NMM-9D6C Location: https://api.familysearch.org/platform/trees/9NMM-9D6C X-processing-time: 164 Vary: Accept,Accept-Language,Accept-Encoding,Expect Date: Sun, 03 Apr 1836 10:00:00 GMT-5 Cache-control: no-cache, no-store, no-transform, must-revalidate, max-age=0 Transfer-encoding: chunked
Sending...
Feedback was sent.
Can't send feedback. Retry in 5 seconds.