DESCRIPTION

This endpoint retrieves all documents for matter ID of a specified extension. This extension must not be in quotes. 

URL STRUCTURE

https://[hostname]/document/matter/{matterId:[0-9]+}/{extension}

METHOD

GET

HEADERS

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

ARGUMENTS

NameTypeDescription
matterIdintEquinox internal reference for the matter
extensionstringDocument exension (e.g. pdf)


RETURNS

Returns json array of all documents for matter with the spefified extension. This example shows two documents.

{
      "id": "281",
      "matterId": "307",
      "title": "Content Notes Special Characters",
      "filename": "Content Notes Special Characters.pdf",
      "date": "2019-11-12 00:00:00",
      "fileSize": "14373",
      "setupBy": null,
      "setupDate": null,
      "fileContent": null,
      "incomingDocId": null,
      "publishedStatus": {
          "id": "3"
      },
      "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": "83",
      "attentionOf": "0",
      "usersForInformation": null,
      "entity": null,
      "entityType": "document",
      "titleAddendum": "",
      "oldId": "0",
      "renewalBatchNumber": null,
      "sender": "",
      "recipient": "",
      "folder": "0",
      "filingStatus": null,
      "modifiedDate": "2019-11-12 12:56:29",
      "modifiedUserId": null,
      "modifiedUser": null,
      "createDate": null,
      "createUserId": null,
      "createUser": null,
      "customFields": [],
      "isCheckedOut": false
  },
  {
      "id": "267",
      "matterId": "307",
      "title": "Content Notes Special Characters",
      "filename": "Content Notes Special Characters.pdf",
      "date": "2019-11-01 00:00:00",
      "fileSize": "14350",
      "setupBy": null,
      "setupDate": null,
      "fileContent": null,
      "incomingDocId": null,
      "publishedStatus": {
          "id": "3"
      },
      "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": "83",
      "attentionOf": "0",
      "usersForInformation": null,
      "entity": null,
      "entityType": "document",
      "titleAddendum": "",
      "oldId": "0",
      "renewalBatchNumber": null,
      "sender": "",
      "recipient": "",
      "folder": "0",
      "filingStatus": null,
      "modifiedDate": "2019-11-01 11:27:51",
      "modifiedUserId": null,
      "modifiedUser": null,
      "createDate": null,
      "createUserId": null,
      "createUser": null,
      "customFields": [],
      "isCheckedOut": false
    }