REST API - editWorkListView

The table summarizes the REST API - editWorkListView.

Request

Format
PUT <baseurl>/worklist/worklistview/<viewid>
Path parameters viewid: The unique ID of the work list view.

Note: You will need to have set getWorkListViewDetails with the edit flag blockview=true first.

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 editWorkListViewResponse element (from the WorkListService schema)

Response

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

Example

Request
PUT <baseurl>/worklist/worklistview/2
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

}