Search the course catalog's search history

Prev Next
Get
/SearchCourseCatalogSearchHistory

Allows you to search course catalog search history records.

Security
API Key
Header parameter nameapi_key
Query parameters
pageIndex
integer (int32)

A 0-based index of the paged results you wish to receive. In general, you should start with a value of zero and increment it as you need to retrieve additional results. If not supplied, a value of 0 is used (the first page of results).

pageSize
integer (int32)

Indicates how many results you want per page. if not supplied, a default value of 100 is used.

sort
string

The value you want to sort by. If not supplied, a default value of "SearchTime DESC" will be assumed. You can append " DESC" after the sort value to sort descending. For example, "SearchTime DESC" would sort by when the search was run in descending order.

Possible values:

  • SearchTime
  • LastName
userId
integer (int32)

An optional parameter used to filter for searches run by a particular user.

userExternalId
string

An optional parameter used to filter for searches run by a particular user using an external identifier.

searchedAfter
integer (int64)

An optional parameter used to filter for searches run after a specified date. When used in conjunction with the "searchedBefore" parameter, it becomes possible to filter for a given time range. This should be provided in unix epoch format, which is the number of seconds that have elapsed since midnight UTC January 1st, 1970.

searchedBefore
integer (int64)

An optional parameter used to filter for searches run before a specified date. When used in conjunction with the "searchedAfter" parameter, it becomes possible to filter for a given time range. This should be provided in unix epoch format, which is the number of seconds that have elapsed since midnight UTC January 1st, 1970.

Responses
200

OK Response

Expand All
object
Status
integer (int32)

Indicates the status of the API request.

0 = Success
10 = Error
20 = Not found
30 = Invalid integration key

Example10
Error
string | null

Error details. This will only have a value if an error was encountered. The status property will also be set to Error (10).

TotalCount
integer (int32)

The total number of results that match the search conditions, not all of which may be in the current result set.

Example1
TotalPages
integer (int32)

The total number of result pages that match the search conditions.

Example1
Results
Array of object (CourseCatalogSearchHistorySearchResult)

See CourseAssignmentSearchResult

object
Id
integer (int64)

The search result's unique identifier

Example4754
UserId
integer (int32)

The user's unique identifier

Example190615
UserExternalId
string | null

The user's external ID, usually a unique identifier from the calling system

ExampleEC11A1BE-4A26-4D28-AA75-F41E3F56DB57
FirstName
string

The user's first name

ExampleJane
LastName
string

The user's last name

ExampleDoe
OrganizationId
integer (int32)

The unique identifier of the organization the user belongs to

Example3456
Search
integer (int64)

When the search was run. Provided in Unix epoch format, which is the number of seconds that have elapsed since midnight UTC January 1st, 1970.

Example1466092675
TextFilter
string | null

The text filter entered by the user

ExampleScripting
Tags
Array of object (Tag)

All tags selected by the user. See Tag type below.

object
Id
integer (int32)

The tag's unique identifier.

Example2
Name
string | null

The tag's name.

ExampleTag Example 1
ClubIds
Array of integer

Unique identifiers of all clubs the search was filtered against.

Example[ "1234", "4332" ]
integer (int64)
Example123
PageIndex
integer (int32)

The zero-based index of the page of results displayed by the search

NumResults
integer (int32)

The total number of results matched by the search

Example10