DESCRIPTION

This endpoint searches the database for documents on a particular matter ID, with a title of string specified. This string has to be exact to the title of the document being searched. Quotes around supplied string are not necessary.

URL STRUCTURE

https://[hostname]/document/get-by-title/{matterId:[0-9]+}/{documentTitle}

METHOD

GET

HEADERS

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

ARGUMENTS

NameTypeDescription
matterIdintMatter to search for documents.
documentTitlestringTitle of document to search.


RETURNS

Returns a document, or an array of documents if string pattern is matched.

[
  {
      "id": "281",
      "matterId": "307",
      "title": "Content Notes Special Characters",
      "filename": "Content Notes Special Characters.docx",
      "date": "2019-11-12 00:00:00",
      "fileSize": "14373",
      "setupBy": null,
      "setupDate": null,
      "fileContent": null,
      "incomingDocId": null,
      "publishedStatus": {
          "id": "2"
      },
      "primaryClassification": {
          "id": "0",
          "name": "",
          "documentNameString": null,
          "outgoing": null,
          "incoming": null
      },
      "secondaryClassification": {
          "id": "0",
          "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": "",
      "templateId": "83",
      "attentionOf": "0",
      "usersForInformation": null,
      "entity": null,
      "entityType": "document",
      "titleAddendum": "",
      "oldId": "0",
      "renewalBatchNumber": "0",
      "sender": "jea",
      "recipient": "",
      "folder": "0",
      "filingStatus": "0",
      "modifiedDate": "2019-12-10 13:49:34",
      "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
   
  }

]