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:
|
Body | WorkListViewEdit element (from the WorkListService schema) |
Response
JSON | Returns a JSON representation of the content of the createWorkListViewResponseelement. |
XML | Returns the content of the createWorkListViewResponseelement (from the WorkListService schema) |
Example
Request | POST <baseurl>/worklist/createview/Pending |
Request body | <WorkListViewEdit description="Pending orders" 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="32B63222-5B76-4EF9-8BEA-A8E538A3BB17"/> </WorkListViewEdit> |
Response | 2 |