Skip to content

findSmartEntry ​

Request ​

http
GET /rest/smartlib/smartentry/{smartEntryId}?includeAIData=true

Headers ​

HeaderRequiredDescription
x-nextinteract-authtokenYesAuth token returned from loginUser

Parameters ​

ParameterTypeRequiredDescription
smartEntryIdLongYesId of the Smart Entry being requested
includeAIDataBooleanNoFlag to indicate that AI data should be returned i.e. lastIngestedDate, aiSummary, and aiTipOfTheDayJSON

Response ​

200 OK ​

json
{
  "smartLibId": 347,
  "smartEntryId": 454,
  "smartEntryStatus": "A",
  "smartEntryType": "PDF",
  "smartEntryName": "AWS HIPAA Whitepaper Final",
  "smartEntryDesc": "AWS HIPAA Whitepaper Final",
  "smartEntryDownloadOrig": "N",
  "smartEntryDownloadPdf": "N",
  "smartEntryCreated": 1537938167057,
  "smartEntryModified": 1537938211113,
  "smartEntryMetadataVersion": 2,
  "smartEntryFileVersion": 1,
  "smartEntryRelatedDate": 1537315200000,
  "notifyUserOfExternalUrl" : "N",
  "smartFiles": [
    {
      "smartEntryId": 454,
      "smartFileId": 564,
      "smartFileType": "OUF",
      "smartFileName": "AWS_HIPAA_Whitepaper_Final.pdf",
      "smartFileBytes": 128304,
      "smartFileMd5": "42af94dd0a50c844acc50e66d6094c20",
      "smartFileCreated": 1537938167092,
      "smartFileModified": 1537938167092
    },
    {
      "smartEntryId": 454,
      "smartFileId": 565,
      "smartFileType": "THMB",
      "smartFileName": "AWS_HIPAA_Whitepaper_Final-5657a665-c0cb-4d15-866f-9a00ed55d961-tile.jpg",
      "smartFileBytes": 24246,
      "smartFileMd5": "3adf0dce2b7f25a7f33041b692cccf3b",
      "smartFileCreated": 1537938167210,
      "smartFileModified": 1537938167210
    }
  ],
  "smartEntryCategories": [],
  "smartEntryAuthors": "Aaron, HIPAA",
  "smartEntryURLs": [],
  "smartEntryTags": [
    {
      "smartTagId": 109,
      "smartTagName": "Tag2"
    }
  ],
  "smartEntryFolders": [],
  "smartEntryFilters": [
    {
      "smartFilterId": 22,
      "smartFilterName": "Filter2"
    }
  ]
}

Errors ​

ExceptionDescription
WSInvalidParameterExceptionSee Error Definitions
WSInvalidAuthTokenExceptionSee Error Definitions
WSCacheServiceExceptionSee Error Definitions
WSInsufficientPrivilegesExceptionSee Error Definitions
WSSmartEntryNotFoundExceptionSee Error Definitions
WSBrochureNotFoundExceptionSee Error Definitions
WSAuthorisationServiceExceptionSee Error Definitions
WSSmartLibNotFoundExceptionSee Error Definitions
WSSmartLibraryServiceExceptionSee Error Definitions