Appearance
findSmartEntry ​
Request ​
http
GET /rest/smartlib/smartentry/{smartEntryId}?includeAIData=trueHeaders ​
| Header | Required | Description |
|---|---|---|
x-nextinteract-authtoken | Yes | Auth token returned from loginUser |
Parameters ​
| Parameter | Type | Required | Description |
|---|---|---|---|
smartEntryId | Long | Yes | Id of the Smart Entry being requested |
includeAIData | Boolean | No | Flag 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 ​
| Exception | Description |
|---|---|
WSInvalidParameterException | See Error Definitions |
WSInvalidAuthTokenException | See Error Definitions |
WSCacheServiceException | See Error Definitions |
WSInsufficientPrivilegesException | See Error Definitions |
WSSmartEntryNotFoundException | See Error Definitions |
WSBrochureNotFoundException | See Error Definitions |
WSAuthorisationServiceException | See Error Definitions |
WSSmartLibNotFoundException | See Error Definitions |
WSSmartLibraryServiceException | See Error Definitions |