Get distinct values for a column

get/servers/{serverName}/caslibs/{caslibName}/tables/{tableName}/columns/{columnName}/distinctValues
Internal-Use Only

Returns a collection of distinct values for a single column in a single loaded CAS table. Supports SAS standard paging query parameters. Supports SAS standard paging query parameters, sorting, and filtering. Returned values in the collection are all of the type of the column.

Request Samples

1

Response Samples

1No example avaliable

Path Parameters

NameTypeRequiredDescription
caslibName
string
true

The name of the Caslib containing the table.

columnName
string
true

The name of column for which distinct values info is requested.

serverName
string
true

The name of the server containing the Caslib.

tableName
string
true

The name of table for which column info is requested.

Query Parameters

NameTypeRequiredDescription
sessionId
string
false

The optional ID of the session containing the Caslib. If unspecified, only tables in global caslibs will be accessible.

limit
integer
false

Maximum number of items to return in this page of results. The actual number of returned items can be less if the collection has been exhausted. Defaults to 10.

start
integer
false

The starting index of the first item in a page. Defaults to 0.

Responses

StatusMeaningDescription
200OKThe requested column's distinct values were returned.
404Not FoundThe requested CAS server or Caslib does not exist.
409ConflictThe request could not be completed due to a conflict with the current state of the resource. Details are included in the response body.