Assign Ordinance Reservations to Temple

This example request illustrates how to assign ordinance reservations to the temple.

JSON

Request

POST /platform/ordinances/persons/ordinances/reservations
Content-Type: application/x-fs-v1+json
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
                
                  {
  "persons" : [ {
    "id" : "JHNM-KLP",
    "ordinances" : [ {
      "type" : "http://churchofjesuschrist.org/Initiatory",
      "reservation" : {
        "assigneeType" : "http://churchofjesuschrist.org/Church"
      }
    }, {
      "type" : "http://churchofjesuschrist.org/Endowment",
      "reservation" : {
        "assigneeType" : "http://churchofjesuschrist.org/Church"
      }
    } ]
  } ]
}
                
              

Response

HTTP/1.1 201 Created
Content-type: text/html
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Link: <https://api.familysearch.org/platform/ordinances/family-name-cards?flag=fsh>; rel="temple-family-name-cards"
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
Transfer-encoding: chunked
                
              

XML

Request

POST /platform/ordinances/persons/ordinances/reservations
Content-Type: application/x-fs-v1+xml
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
                
                  <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<fs:familysearch xmlns:fs="http://familysearch.org/v1/" xmlns="http://gedcomx.org/v1/" xmlns:atom="http://www.w3.org/2005/Atom">
    <person id="JHNM-KLP">
        <fs:ordinance type="http://churchofjesuschrist.org/Initiatory">
            <fs:reservation assigneeType="http://churchofjesuschrist.org/Church"/>
        </fs:ordinance>
        <fs:ordinance type="http://churchofjesuschrist.org/Endowment">
            <fs:reservation assigneeType="http://churchofjesuschrist.org/Church"/>
        </fs:ordinance>
    </person>
</fs:familysearch>

                
              

Response

HTTP/1.1 201 Created
Content-type: text/html
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Link: <https://api.familysearch.org/platform/ordinances/family-name-cards?flag=fsh>; rel="temple-family-name-cards"
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-transform, must-revalidate, max-age=0
Transfer-encoding: chunked
                
              

Change Language

Feedback

Sending...

Feedback was sent.

Can't send feedback. Retry in 5 seconds.