documents

A person can have documents stored against their record. These end points allow person documents to be retrieved and added to a person record

Get Document by ID

Get a Document by ID

SecuritybearerAuth
Request
path Parameters
id
required
string <guid>

Document ID

Example: 34ec69b8-b5de-4d3d-9240-d84ed06558ac
Responses
200

Document Response

400

Bad Request

401

Unauthorized - Authorization Required

404

Not Found

422

Unprocessable Entity

default

General Error

get/documents/{id}
Request samples
Response samples
application/vnd.api+json

Add a Document

Add a Document to a Person

SecuritybearerAuth
Request
Request Body schema: application/vnd.api+json

Document to be added

object
Responses
200

Document Response

400

Bad Request

401

Unauthorized - Authorization Required

422

Unprocessable Entity

default

General Error

post/documents
Request samples
application/vnd.api+json
{
  • "data": {
    }
}
Response samples
application/vnd.api+json