REST API - addCurrentResourceToView

The table summarizes the REST API - addCurrentResourceToView.

Request

Format
PUT <baseurl>/worklist/addresourcetoview/<viewid>
Path parameters viewid: Position in the work view list from which to start this page. (The list is zero-based. To start at the first item, specify 0.)
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.

Response

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

Example

Request
PUT <baseurl>/worklist/addresourcetoview/2
Response
{

    true

}