Unsolved
1 Rookie
•
26 Posts
0
1089
March 5th, 2020 06:00
RP4VM Rest API - Create Bookmark
Hello - I'm trying to navigate some REST commands on RP4VM 5.2 so I can avoid using the awful Flash interface, but the REST documentation is very vague and limited. What I want to do is be able to take bookmark snapshots at a specific time of day for a group set. I have found the location, but the json body that has to be included is where I'm confused. I'm using powershell and the invoke-restmethod command, like below:
Invoke-RestMethod -Method POST -Uri https://{CLUSTER_IP}:443/fapi/rest/5_2/group_sets/subsets/snapshots -Credential admin -Body ????
After reviewing the object browser, it appears it needs a json body element, but I can't seem to find what parameters need to be passed. I'm assuming it's something like: groupSetId, bookmarkName, consolidationPolicy, consistencyType, however none of those combos seem to work. Is there any further documentation, or something that can point me in the right direction?
Thanks!



DELL-Sam L
Moderator
•
7.7K Posts
0
March 6th, 2020 11:00
Hello jsinclar1,
Here is the steps that is listed in RecoverPoint Version 5.0 REST API
Workflow for creating a bookmark
The following is a sample workflow for creating a bookmark using the REST API.
Procedure
(getAllGroupsSettings method):
../groups/settings
to bookmark.
consistency groups (createBookmark method):
../groups/bookmarks
REST API
Workflow for creating a bookmark 11
(Parameters: bookmarkName, consistencyType, consolidationPolicy,
https://dell.to/2Tv54j1
Please let us know if you have any other questions.