REST API - rescheduleWorkitem

The table summarizes the REST API - rescheduleWorkitem.

Request

Format
PUT <baseurl>/workitem/reschedule/<workitemid>/<workitemversion>
Path parameters
  • workitemid: ID of a work item that is to be rescheduled.
  • workitemversion: Version of the work item. If not set, the latest version will be used.
Body Optional itemBody containing data changes on a reschedule. The body is the data as a name/value pair.

Response

JSON Returns a JSON representation of the content of the rescheduleWorkItemResponse element.
XML Returns the content of the rescheduleWorkItemResponse element (from the WorkItemSchedulerService schema)

Example

Request
PUT <baseurl>/workitem/reschedule/1/0
Request body
<rescheduleWorkItem>
       <itemSchedule>
              <startDate>1994-12-07T11:19:32.797Z</startDate>
              <targetDate>2994-12-06T21:17:21.000Z</targetDate>
       </itemSchedule>
       <itemBody>
       <parameter Name="CustomerDetails" Array="false">
              <Value>set from reschedule</Value>
       </parameter>
       </itemBody>
</rescheduleWorkItem>
Response
true