REST API - closeWorkitem

The table summarizes the REST API - closeWorkite.


PUT <baseurl>/workitem/presentation/close/<id>/<userid>/<typeuid>/<typeversion>  
Path parameters
  • id: ID of the work item to be closed.
  • userid: GUID of the resource that wants to close the work item.
  • typeuid: Unique ID of the work type from which the work item is derived.
  • typeversion: Version number of the work type from which the work item is derived.
Query parameters
  • channelid=string (optional, default=openspaceGWTPull_DefaultChannel): Identifier of the channel to which the requesting client application is bound.
  • channeltype=string (optional, default=openspaceChannel): Enumerated value defining the channel type (technology) associated with the specified channelid. For a list of available enumerations, see channeltype enumerations.

    See Identifying the Client Channel in a Service Call for more information.

  • version=long (optional, default = -1): Version number of the work item to be opened. If set to -1 or omitted, the latest version of the work item is used.
  • responsetype=string (optional, default = JSON): Enumerated value defining the format of the data payload to be used in the response message - either XML or JSON.
  • getGlobalValues=boolean (optional, default=false) If you require the values or just the goref itself.
Body payLoadDetails element (optional): Data payload for the specified work item.

See Valid Format for DataModel for information about the valid format of this data.


JSON Returns a JSON representation of the contents of a workResponse element.
XML Returns a workResponse element (from the WorkPresentationService schema)


PUT <baseurl>/workitem/presentation/close/51/812935E2-06D5-4504-8621-6E5B901702C4/WT__UXUNYCIYEeCnP8eZZTCDGg/
    "xml-fragment": {
        "@isSuccessful": "true"