Saving Project Changes to a Snapshot
Example Request URL
https://<URL>/SnapshotManagerService/create/?codeduser={CODEDUSER}
Example Request
Saving changes to a snapshot is a POST request with the following JSON fields:
{ "name": <snapshot name string>, "projId": <the project ID integer, "tempId": <template ID integer>, "isPublic": <true/false Boolean>, "locaked": <true/false Boolean>, "isDynamic": <true/false Boolean>, "clean": <true/false Boolean> } }
Planview Advisor will provide the template ID (tempId) to use. The projId is the project ID for which changes are made. The rest of the parameters, except clean, are snapshot type parameters. Entering true for clean will clear changes from the current workspace after the snapshot is created.
NOTE
We recommend that you always enter true for the clean parameter. This will prevent the uncontrolled accumulation of changes in the workspace.
Example Response
The response is a JSON with the following structure:
{ success: true/false, message: <success/error message> }