REST API - createWorkListView

The table summarizes the REST API - createWorkListView.

Request

Format
POST <baseurl>/worklist/createview/<name>
Path parameters name: The user defined name of the view.
Query parameters apiversion=version (optional, default = 1): Defines the format in which the operation returns its response. If version is:
  • < 2, the response is returned as an unwrapped primitive.
  • 2, the response data is wrapped as an XML fragment.
Body createWorkListView element (from the WorkListService schema)

Response

JSON Returns a JSON representation of the content of the createWorkListViewResponse element.
XML Returns the content of the createWorkListViewResponse element (from the WorkListService schema)

Example

Request
POST <baseurl>/worklist/createview/test
Request body
<WorkListView name="cjed3" description="vdesc" public="true" xmlns="http://api.brm.n2.tibco.com">

  <entityID entity-type="RESOURCE" guid="9178DD52-C6AE-468E-AF31-10EA78CC500B"/>

  <orderFilterCriteria xmlns="">

    <order>id ASC , startDate DESC</order>

    <filter>(appName='GetandViewData')</filter>

  </orderFilterCriteria>

<users entity-type="RESOURCE" guid="tibco-admin"/>

</WorkListView>
Response
{

    2

}