DESCRIPTION

This endpoint fetches a document by its internal ID in Equinox.

URL STRUCTURE

https://[hostname]/document/{documentId:[0-9]+}

METHOD

GET

HEADERS

**Authorization:**    string Base64       [email]:[key]

ARGUMENTS

NameTypeDescription
documentIdintDocument ID


RETURNS

Sample response 

[
{
  "id": "268",
  "matterId": "296",
  "title": "User Signature Test",
  "filename": "User Signature Test.docx",
  "date": "2019-12-05 00:00:00",
  "fileSize": "22613",
  "setupBy": null,
  "setupDate": null,
  "fileContent": null,
  "incomingDocId": null,
  "publishedStatus": {
      "id": "2"
  },
  "primaryClassification": {
      "id": null,
      "name": "",
      "documentNameString": null,
      "outgoing": null,
      "incoming": null
  },
  "secondaryClassification": {
      "id": null,
      "primaryClassificationId": null,
      "name": null,
      "country": null,
      "category": null,
      "subCategory": null,
      "doubleCheckRequired": null,
      "showInClientPortal": null,
      "documentNameString": null,
      "primaryClassification": null,
      "incoming": null,
      "outgoing": null,
      "epoImportString": null
  },
  "status": "C",
  "instanceId": "0",
  "lockedFromClientAccess": "1",
  "notes": null,
  "templateId": "74",
  "attentionOf": "0",
  "usersForInformation": null,
  "entity": null,
  "entityType": "document",
  "titleAddendum": "",
  "oldId": "0",
  "renewalBatchNumber": null,
  "sender": "",
  "recipient": "",
  "folder": "0",
  "filingStatus": null,
  "modifiedDate": "2019-12-05 17:22:49",
  "modifiedUserId": null,
  "modifiedUser": null,
  "createDate": null,
  "createUserId": null,
  "createUser": null,
  "customFields": [],
  "isCheckedOut": true
}
]