/dataAccess/advancedQuery/¶
Perform an advanced search query against the document archive of the TrustID Cloud.
Request
POST {{server}}/VPE/dataAccess/advancedQuery/
Content-Type: application/json
Tid-Api-Key: xxx-xxx-xx
{
"DeviceId": "device-id",
"SessionId": "...",
"Arguments": {
"QuickQuery": "Banderas"
},
"RangeFrom": "/Date(...)/",
"RangeUntil": "/Date(...)/",
"Page": 1,
"PageSize": 10,
"DocumentSortingColumn": "ScanDate",
"SortingDirection": "Descending"
}
- ArchiveAdvancedQueryRequest.Arguments¶
=
ArgumentsA set of advanced search query filters.
See also
AdvancedQueryArguments for more information about advanced search query arguments.
- ArchiveAdvancedQueryRequest.RangeFrom¶
=
RangeFromDate range from (scanned date).
- ArchiveAdvancedQueryRequest.RangeUntil¶
=
RangeUntilDate range until (scanned date).
- ArchiveAdvancedQueryRequest.Page¶
=
PageIndex of the page to receive (0-indexed).
- ArchiveAdvancedQueryRequest.PageSize¶
=
PageSizeThe maximum number of items to receive for the given page. If the page size is defined as
0, the default page size is used. Any value lower than0means that the page size is infinite and the entire result set is returned.
- ArchiveAdvancedQueryRequest.DocumentSortingColumn¶
=
DocumentSortingColumnThe document column by which the result is sorted. The document column is encoded as a string rather than an integer/enum.
See also
DocumentSortingColumn for more information about the sorting column.
- ArchiveAdvancedQueryRequest.SortingDirection¶
=
SortingDirectionThe sorting direction in which results are sorted in combination with the document sorting column. The sorting direction is encoded as a string, rather than an integer/enum.
See also
SortingDirection for more information about the sorting direction.
Response
{
"Success": true,
"Message": "Operation executed successfully.",
"Documents": [
...
],
"Page": 1,
"PageSize": 10,
"PaginationSupported": true,
"TotalPages": 2,
"TotalRecords": 44,
"TotalRecordsMatched": 18
}
- ArchiveQueryResponse.Documents¶
=
DocumentsList of matched documents covering the content of the current page.
- ArchiveQueryResponse.TotalRecords¶
=
TotalRecordsThe number of total records in the system.
- ArchiveQueryResponse.TotalRecordsMatched¶
=
TotalRecordsMatchedNumber of total records that matched the query.
- ArchiveQueryResponse.TotalPages¶
=
TotalPagesNumber of total pages for the result set according to the page size.
- ArchiveQueryResponse.PageSize¶
=
PageSizeNumber of records per page.
- ArchiveQueryResponse.Page¶
=
PageThe index position of the current page (0-indexed).
- ArchiveQueryResponse.PaginationSupported¶
=
PaginationSupportedtrueif the result has been paginated according to the given page and page size successfully. If pagination support is not available due to the internal constraints of the database system used,falseis returned.falsemight also be returned if pagination is not relevant, based on the way this API endpoint was used. If pagination is not relevant or is not supported, then the result may only cover the first page, even if that is not the page that has been asked for.