GET api/Document/SearchDocuments?text={text}&folderId={folderId}
Gets a list of Documents where the searched text is found.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
text |
search text |
string |
Required |
folderId |
folder for searches |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GetDocumentResultName | Description | Type | Additional information |
---|---|---|---|
Id |
The document id |
integer |
None. |
ContentType |
MIME type |
string |
None. |
Description |
The description |
string |
None. |
DateAddUTC |
Date when the document was inserted to Requestor |
date |
None. |
FileName |
File name |
string |
None. |
ContentLength |
The length in bytes |
integer |
None. |
RealFileName |
The filename which was generated on server |
string |
None. |
SourceType |
the file source |
DocumentSourceEnum |
None. |
SourceUrl |
Source url for link's documents |
string |
None. |
Image |
Icon for document. If it is null the image doesn't exist. |
Collection of byte |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "ContentType": "text/plain", "Description": "Everything else", "DateAddUTC": "2024-12-22T03:00:53.805681Z", "FileName": "sample.txt", "ContentLength": 1200, "RealFileName": "241145b1-f07c-4f12-bd3c-9e73dd8640a6.txt", "SourceType": 0, "SourceUrl": null, "Image": null } ]