DESCRIPTION

This endpoint searches for a given number of cases using a partial reference for the mattercode. 

URL STRUCTURE

https://[hostname]/matter/get-by-mattercode/{searchTerm}/{matterCount}

METHOD

GET

HEADERS

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

ARGUMENTS

NameTypeDescription
searchTermstringString to search
matterCountstringNumber of results to be returned


RETURNS

Sample response

[
  {
      "id": "65",
      "oldCode": null,
      "oldId": null,
      "country": "GB",
      "countryName": "United Kingdom",
      "status": {
          "id": "8",
          "name": "Pending"
      },
      "matterCode": "000014GB",
      "shortTitle": "Back scratcher",
      "longTitle": "Back scratcher",
      "formalTitle": "",
      "clientRef": null,
      "parentage": null,
      "designatedCountries": null,
      "application": {},
      "publication": {},
      "natRegEntry": {},
      "natRegPublication": null,
      "grant": {},
      "priority": {},
      "applicants": [],
      "inventors": [],
      "licensees": [],
      "associates": [],
      "otherSideClients": [],
      "otherSideSolicitors": [],
      "clientKeyContactId": null,
      "category": {
          "id": "33",
          "definition": "patent",
          "name": "Patents"
      },
      "subCategory": {
          "id": "1",
          "name": "Patent - Concept",
          "categoryType": "patent"
      },
      "imageId": "0",
      "typeOfMark": "0",
      "businessUnit": null,
      "expiryDate": null,
      "client": null,
      "clientId": "27",
      "billingAddress": null,
      "billingAddressId": "0",
      "user": {
          "id": "1776",
          "oldId": null,
          "subscriberId": null,
          "username": "Josh",
          "email": null,
          "secondaryEmail": [],
          "firstName": "Josh",
          "secondName": "Lyell",
          "subscriberRef": null,
          "clientSQL": null,
          "loginCount": null,
          "lastLogin": null,
          "notes": null,
          "gender": null,
          "initials": null,
          "legalEntity": null
      },
      "user2": {
          "id": null,
          "oldId": null,
          "subscriberId": null,
          "username": null,
          "email": null,
          "secondaryEmail": [],
          "firstName": null,
          "secondName": null,
          "subscriberRef": null,
          "clientSQL": null,
          "loginCount": null,
          "lastLogin": null,
          "notes": null,
          "gender": null,
          "initials": null,
          "legalEntity": null
      },
      "user3": {
          "id": null,
          "oldId": null,
          "subscriberId": null,
          "username": null,
          "email": null,
          "secondaryEmail": [],
          "firstName": null,
          "secondName": null,
          "subscriberRef": null,
          "clientSQL": null,
          "loginCount": null,
          "lastLogin": null,
          "notes": null,
          "gender": null,
          "initials": null,
          "legalEntity": null
      },
      "user4": {
          "id": null,
          "oldId": null,
          "subscriberId": null,
          "username": null,
          "email": null,
          "secondaryEmail": [],
          "firstName": null,
          "secondName": null,
          "subscriberRef": null,
          "clientSQL": null,
          "loginCount": null,
          "lastLogin": null,
          "notes": null,
          "gender": null,
          "initials": null,
          "legalEntity": null
      },
      "family": null,
      "office": null,
      "notes": null,
      "familyId": "48",
      "businessGroup": null,
      "internationalRegistrationId": "0",
      "classes": null,
      "goods": null,
      "openDate": "2018-08-22 12:19:59",
      "designatedStates": "",
      "parentMatterId": null,
      "typeId": "5",
      "correspondenceNotes": null,
      "renewalClient": null,
      "renewalClientId": null,
      "renewalBillingAddress": null,
      "renewalBillingAddressId": null,
      "entityType": "matter",
      "legalEntity": "1",
      "allHistoryDates": null,
      "goodsAndClasses": null,
      "associatesLoaded": null,
      "budgets": null,
      "customFields": []
  },
  {
      "id": "66",
      "oldCode": null,
      "oldId": null,
      "country": "GB",
      "countryName": "United Kingdom",
      "status": {
          "id": "0",
          "name": "Open"
      },
      "matterCode": "000015GB",
      "shortTitle": "Seraphis Hybrid",
      "longTitle": "Seraphis Hybrid",
      "formalTitle": "",
      "clientRef": null,
      "parentage": null,
      "designatedCountries": null,
      "application": {},
      "publication": {},
      "natRegEntry": {},
      "natRegPublication": null,
      "grant": {},
      "priority": {},
      "applicants": [],
      "inventors": [],
      "licensees": [],
      "associates": [],
      "otherSideClients": [],
      "otherSideSolicitors": [],
      "clientKeyContactId": null,
      "category": {
          "id": "4",
          "definition": null,
          "name": null
      },
      "subCategory": {
          "id": "2",
          "name": "",
          "categoryType": ""
      },
      "imageId": "0",
      "typeOfMark": "0",
      "businessUnit": null,
      "expiryDate": null,
      "client": null,
      "clientId": "27",
      "billingAddress": null,
      "billingAddressId": "0",
      "user": {
          "id": "1776",
          "oldId": null,
          "subscriberId": null,
          "username": "Josh",
          "email": null,
          "secondaryEmail": [],
          "firstName": "Josh",
          "secondName": "Lyell",
          "subscriberRef": null,
          "clientSQL": null,
          "loginCount": null,
          "lastLogin": null,
          "notes": null,
          "gender": null,
          "initials": null,
          "legalEntity": null
      },
      "user2": {
          "id": null,
          "oldId": null,
          "subscriberId": null,
          "username": null,
          "email": null,
          "secondaryEmail": [],
          "firstName": null,
          "secondName": null,
          "subscriberRef": null,
          "clientSQL": null,
          "loginCount": null,
          "lastLogin": null,
          "notes": null,
          "gender": null,
          "initials": null,
          "legalEntity": null
      },
      "user3": {
          "id": null,
          "oldId": null,
          "subscriberId": null,
          "username": null,
          "email": null,
          "secondaryEmail": [],
          "firstName": null,
          "secondName": null,
          "subscriberRef": null,
          "clientSQL": null,
          "loginCount": null,
          "lastLogin": null,
          "notes": null,
          "gender": null,
          "initials": null,
          "legalEntity": null
      },
      "user4": {
          "id": null,
          "oldId": null,
          "subscriberId": null,
          "username": null,
          "email": null,
          "secondaryEmail": [],
          "firstName": null,
          "secondName": null,
          "subscriberRef": null,
          "clientSQL": null,
          "loginCount": null,
          "lastLogin": null,
          "notes": null,
          "gender": null,
          "initials": null,
          "legalEntity": null
      },
      "family": null,
      "office": null,
      "notes": null,
      "familyId": "0",
      "businessGroup": null,
      "internationalRegistrationId": "0",
      "classes": null,
      "goods": null,
      "openDate": "2018-08-24 09:30:03",
      "designatedStates": "",
      "parentMatterId": null,
      "typeId": "0",
      "correspondenceNotes": null,
      "renewalClient": null,
      "renewalClientId": null,
      "renewalBillingAddress": null,
      "renewalBillingAddressId": null,
      "entityType": "matter",
      "legalEntity": "1",
      "allHistoryDates": null,
      "goodsAndClasses": null,
      "associatesLoaded": null,
      "budgets": null,
      "customFields": []
  }
]