getCount()
Purpose
Retrieves the total number of records in a view (see Working with views for more information about views).
Syntax
getCount(string sessionId, string viewId, string filterName, string filterValue);
Parameters
sessionId
A string containing the session ID obtained at log in.
viewId
The original ID of the view.
filterName
The name of the field to filter output using the
filterValue
The value of the field to filter output using the
Output
Number of Records
Permissions Required
View permission for the requested object type.
Example
int count = binding.getCount("7ae747a0e36648ef8bd016eec1502779@46216462", "123", "lastName", "Grey");