REST API - saveOpenWorkItem

The table summarizes the REST API - saveOpenWorkItem.

Request

Format
PUT <baseurl>/workitem/saveopen/<id>/<version>
Path parameters
  • id: Unique ID of the work item.
  • version: Version of the work item. If not set, the latest version will be used.
Body saveOpenWorkItem element (from the WorkItemManagementService schema)

Response

JSON Returns a JSON representation of the content of the saveOpenWorkItemResponse element.
XML Returns the content of the saveOpenWorkItemResponse element (from the WorkItemManagementService schema)

Example

Request
PUT <baseurl>/workitem/saveopen/8/7
Request body
<?xml version="1.0" encoding="UTF-8"?>

<workItemPayload xmlns="">

    <dataModel>

      <inouts name=" UserName" type=" STRING ">

        <simpleSpec>

          <value> test</value>

        </simpleSpec>

      </inouts>

    </dataModel>

  </workItemPayload>
Response
{

    "workItemID": {

        "@id": "8",

        "@version": "7"

    }

}