Saving Project Changes to an Existing Snapshot
Example Request URL
https://<URL>/SnapshotManagerService/update/?codeduser={CODEDUSER}
Example Request
Saving changes to an existing snapshot is a POST request with the following JSON fields:
{
"name": <snapshot name string>,
"id": <ID of the existing snapshot>,
"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>
}
}
You can specify the snapshot to save changes with either name or the id field. However, if you are using the name field, the call may fail if a snapshot with that name does not exist. If both name and id are used, name will be ignored.
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>
}

