REST API - rescheduleWorkitem
The table summarizes the REST API - rescheduleWorkitem.
Request
| Format | PUT <baseurl>/workitem/reschedule/<workitemid>/<workitemversion> |
| Path parameters |
|
| Body | Optional rescheduleWorkItem 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 rescheduleWorkItemResponseelement. |
| XML | Returns the content of the rescheduleWorkItemResponseelement (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 |