Reserving a Change Object
Before carrying out any operation on a change object you must first reserve it. This example shows how to reserve a Change Issue using the following POST URI with the request body
URI
POST /Windchill/servlet/odata/ChangeMgmt/ChangeIssues('{ChangeIssueId}')/PTC.ChangeMgmt.Reserve HTTP/1.1
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{ “Duration” : 1 }
In the response the ReservedBy attribute shows the name of the user who carries out this action.
Was this helpful?