ComponentOne Web API Edition
GetUniqueValues(String,String,EngineRequest) Method

C1.Web.Api.DataEngine Namespace > DataEngineController Class : GetUniqueValues(String,String,EngineRequest) Method
The data source key specifies the data.
The key of the field which unique values you want to get.
The engine request.
Gets the unique values of a field.
Syntax
'Declaration
 
<HttpPostAttribute()>
<RouteAttribute("{dataSourceKey}/fields/{fieldname}/uniquevalues")>
Public Overridable Function GetUniqueValues( _
   ByVal dataSourceKey As String, _
   ByVal fieldname As String, _
   ByVal er As EngineRequest _
) As IHttpActionResult
[HttpPost()]
[Route("{dataSourceKey}/fields/{fieldname}/uniquevalues")]
public virtual IHttpActionResult GetUniqueValues( 
   string dataSourceKey,
   string fieldname,
   EngineRequest er
)

Parameters

dataSourceKey
The data source key specifies the data.
fieldname
The key of the field which unique values you want to get.
er
The engine request.

Return Value

The unique value list.
Remarks
Now only the DataEngine data and the in-memory data support this action. The cube data doesn't support it.
See Also

Reference

DataEngineController Class
DataEngineController Members