Read Not Found Person
This example request illustrates what happens during an attempt to read a person that doesn't exist. Note the 404 Not Found error in the response code.
JSON
Request
GET /platform/tree/persons/NOTFOUND Accept: application/x-gedcomx-v1+json Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 404 Not Found Content-type: application/x-gedcomx-v1+json X-processing-time: 3 Vary: Accept,Accept-Language,Accept-Encoding,Expect Content-location: /platform/tree/persons/NOTFOUND 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
XML
Request
GET /platform/tree/persons/NOTFOUND Accept: application/x-gedcomx-v1+xml Authorization: Bearer YOUR_ACCESS_TOKEN_HERE
Response
HTTP/1.1 404 Not Found Content-type: application/x-gedcomx-v1+xml X-processing-time: 3 Vary: Accept,Accept-Language,Accept-Encoding,Expect Content-location: /platform/tree/persons/NOTFOUND 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.