;

Skip to main content

 

  • arrow icon

 

Planview Customer Success Center

Getting the List of Snapshots for a Project

Example Request URL

PROJID is the project Id of the project for which snapshots are requested. Use detail=full to include the snapshot attributes in the response.

  https://<URL>/HibernateTableService/snapshots/all/?codeduser=<user_querystring_token>&projid=<PROJID>&detail=full

Example Response

The response is a JSON with the following structure:

name: "snapshots" - a constant name for the call
totalRows: integer - number of fetched snapshots records
rowData: array of snapshot records.

The snapshot record structure has the following JSON structure:

id: a string of the integer snapshot ID
name: a string of the snapshot name
data: an object with snapshot record data   
    creator_id: a string of the user id of the snapshot creator
    creator_fancy_name: a string for the descriptive name of the user (e.g., "System Administrator")
    project_id: a string of the integer project ID
    proj_name: a string for name of the project
    proj_temp_id: a string of the integer project template ID
    proj_temp_name: a string of the name of the project template
    approved: a string if the snapshot is an approved label. "True"/"False" (capitalized!)
    default_data: a string if the snapshot contains default data. "True"/"False" (capitalized!)
    publish_data: a string if the snapshot contains published data. "True"/"False" (capitalized!)
    workspace_data: a string if the snapshot contains data from private changes. "True"/"False" (capitalized!)
    populated: a string if the snapshot is populated or pending refresh. "True"/"False" (capitalized!)
    latest: a string if the snapshot is LPD. "True"/"False" (capitalized!)
    as_of: a string if the snapshot is an as-of snapshot "True"/"False" (capitalized!)
    is_public: a string if the snapshot is public. "True"/"False" (capitalized!)
    is_dynamic: a string if the snapshot is dynamic. "True"/"False" (capitalized!)
    locked: a string if the snapshot is locked. "True"/"False" (capitalized!)
    create_time: a string of the creation time. M/D/YYYY hh:mm:ss period
    label_id: a string of the label id. empty if not a label
    label_name_id: a string of the name of the label, if a label
    latest_label:"0" if not. "1" if latest label snapshot.
    refresh_time: a string of the last refresh end time. M/D/YYYY hh:mm:ss period
    refresh_start: a string of the last refresh start time. M/D/YYYY hh:mm:ss period
    failed: a string if the snapshot has permanently failed refresh. "True"/"False" (capitalized!)
    lnk_cnt: a string of the integer number of N-level links this snapshot participates in (i.e. pointed to as a source of a link).
    port_cnt: a string of the number of portfolios this snapshot is a member of
    proj_temp_version: a string of the version number of the project template
    last_update: a string of the latest update of the snapshot taking into account label updates
    last_update_raw: a string of the latest update of the snapshot