Query View Members (Label)

0 Likes
over 3 years ago

Returns the set of all view members in the specified view, in a chosen project,
or the subset of items in a specific folder, rolled back to the point in time described by the view label

  projectid the integer id of the chosen project
  viewid the integer id of a view of the project
  labelid the integer id of a label in this view
  typeid the integer id of a viewmember type from the server catalog
  sessionid a valid session for the logged on user running this query
  folderid an optional integer folderid for the subset of items in that folder only
  pid an optional integer array of propertyids targeting the property values to returns
  filterid an optional integer filter id describing a saved public filter,  which if specified, will sort the resultset, possibly pruning it as well, based on a query attached to the filter
  first an optional integer to demarcate the start of the results to return 
  last an optional integer to demarcate the end of the results to return the tuple {first, last} describe the range of the results of interest additionally, first and last are 1 based, and first <= last
 @return the set of all view members visible to the user running the query

usage example
 http://localhost:8080/MicroFocusHubRESTService/rest/viewmembers/snapshot/projectid=0/viewid=1/labelid=2/typeid=3;sessionid=7c5ceef9-7c79-4b8f-83ba-cb6e082ddd1d?pid=1234&pid=5678&filterid=3&first=1&last=10

Labels:

How To-Best Practice
Comment List
Anonymous
Related Discussions
Recommended