{"info":{"_postman_id":"18e980ae-a047-45f5-bd6e-8357d37db08b","name":"Cohesity-Cloud-Services","description":"<html><head></head><body><h2 id=\"description\">Description</h2>\n<p>Cohesity Cloud Services API collection where you will find API examples for various workflows like Getting Started, SaaS Connector workflow, VMware, O365 and others. The API documentation can be found in the <a href=\"https://developers.cohesity.com/reference\">Cohesity Developers Portal</a>.</p>\n<h2 id=\"environment-variables\">Environment Variables</h2>\n<ul>\n<li>Choose the <code>CohesityCloudServices</code> Postman Environment for this collection. You need to set the following variables.</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Environment Variable</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>apiKey</td>\n<td>Cohesity Cloud Services API Key to make API calls</td>\n</tr>\n<tr>\n<td>tenantID</td>\n<td>Your Tenant ID.</td>\n</tr>\n<tr>\n<td>regionId</td>\n<td>Your Region ID.</td>\n</tr>\n<tr>\n<td>HeliosEndpoint</td>\n<td>Helios Endpoint where you will make API calls</td>\n</tr>\n</tbody>\n</table>\n</div><ul>\n<li>There are other collection variables that will be set when you make API calls, like <code>RegistrationId</code> etc. These collection variables will be used further during subsequent API calls</li>\n</ul>\n<h2 id=\"getting-started-with-helios-apis\">Getting Started with Helios APIs</h2>\n<h3 id=\"get-apikey-to-make-api-calls\">Get <code>apiKey</code> to make API calls</h3>\n<p>Before making any API requests, the first step is to generate an <code>apiKey</code> from Helios UI. This <code>apiKey</code> needs to be passed in the header of the API call to Helios.</p>\n<h4 id=\"steps\">Steps</h4>\n<ul>\n<li>Login to Helios using your username and password.</li>\n<li>Choose <code>Protection</code> &gt; <code>DataProtect as a Service</code></li>\n</ul>\n<img src=\"https://content.pstmn.io/9b7b8f9e-a709-45c5-bba4-0d343c6b38d6/U2NyZWVuc2hvdCAyMDI0LTA0LTA5IGF0IDIuMTguMjXigK9QTS5wbmc=\" width=\"341\" height=\"264\">\n\n<ul>\n<li>From left Nav, goto <code>Settings</code> &gt;<code>Access Management</code></li>\n</ul>\n<img src=\"https://content.pstmn.io/11bae3d5-3bb9-4886-8ed6-ef614477b260/U2NyZWVuc2hvdCAyMDI0LTA0LTA5IGF0IDIuMTkuMDTigK9QTS5wbmc=\" width=\"278\" height=\"598\">\n\n<ul>\n<li>From the available tabs, select <code>API Keys</code></li>\n</ul>\n<img src=\"https://content.pstmn.io/7556c0b9-9400-4fcf-8240-0321afd79d2d/U2NyZWVuc2hvdCAyMDI0LTA0LTA5IGF0IDIuMTkuNTnigK9QTS5wbmc=\" width=\"295\" height=\"97\">\n\n<ul>\n<li>Click on <code>Add API Key</code> button</li>\n</ul>\n<img src=\"https://content.pstmn.io/c3fcd985-0cb4-4d79-baa2-4cf8bf3b64c8/U2NyZWVuc2hvdCAyMDI0LTA0LTA5IGF0IDIuMjIuNDXigK9QTS5wbmc=\" width=\"313\" height=\"93\">\n\n<ul>\n<li>Give the <code>apiKey</code> a name and click the <code>Save</code> button</li>\n</ul>\n<img src=\"https://content.pstmn.io/cdac13af-c600-4313-b0ae-215efb16b3d3/U2NyZWVuc2hvdCAyMDI0LTA0LTA5IGF0IDIuMjMuMTbigK9QTS5wbmc=\" width=\"321\" height=\"184\">\n\n<p>Note: once you navigate to a different page from this page, you won't be able to view the <code>apiKey</code> again. So copy and save the <code>apiKey</code> Making API calls</p>\n<p>The <code>Getting Started</code> workflows has API calls that you will need to make to collect information like your <code>TenantID</code> and <code>RegionID</code> that will be used in other workflows such as VMware and 0365.</p>\n<h2 id=\"contribute\">Contribute</h2>\n<p>You can also contribute to this collection by submitting your collections and/or workflows. You can fork our Workspace and then submit a merge request.</p>\n<h2 id=\"feedback\">Feedback</h2>\n<p>If you want to see more collections/use-cases reach out to: <a href=\"https://mailto:support@cohesity.com\">suppport@cohesity.com</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"14330502","collectionId":"18e980ae-a047-45f5-bd6e-8357d37db08b","publishedId":"UyxeqUWf","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-05-10T16:39:31.000Z"},"item":[{"name":"Getting Started","item":[{"name":"Validate API Connection","event":[{"listen":"test","script":{"exec":["tests[\"Validate Helios Connection, Status code is 200\"] = responseCode.code === 200;"],"type":"text/javascript","id":"22aff859-9e69-4859-92ba-3953fc53bbdb"}}],"id":"6c08c847-6e94-4439-ad5b-3164bf546d79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"url":"https://helios.cohesity.com/irisservices/api/v1/public/mcm/clusters/info","urlObject":{"protocol":"https","path":["irisservices","api","v1","public","mcm","clusters","info"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6c08c847-6e94-4439-ad5b-3164bf546d79"},{"name":"Get User Info (for Tenant ID)","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"tenantID\", jsonData.user.profiles[0].tenantId);"],"type":"text/javascript","id":"1de6ad47-7baa-4c42-9994-dff02a685b5d"}}],"id":"941c9692-9742-451f-b81a-0883f7aaca71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"accept","value":"application/json, text/plain, */*"}],"url":"https://helios.cohesity.com/irisservices/api/v1/mcm/userInfo","description":"<h2 id=\"introduction\">Introduction</h2>\n<ul>\n<li><p>This API calls returns the Users info based on the <code>apiKey</code> set in the <code>DMaaS</code> environment. </p>\n</li>\n<li><p>The response also contains the <code>tenantId</code> which is then set in an environment variable to be used in subsequent API calls</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["irisservices","api","v1","mcm","userInfo"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"941c9692-9742-451f-b81a-0883f7aaca71"},{"name":"Get Regions by Tenant ID","id":"935821fb-14a6-4488-90d5-e947ecc29154","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"accept","value":"application/json, text/plain, */*"}],"url":"https://helios.cohesity.com/v2/mcm/dms/tenants/regions?tenantId={{tenantID}}","description":"<h2 id=\"introduction\">Introduction</h2>\n<ul>\n<li><p>This API calls returns all regions available for the specified user's Tenant ID.</p>\n</li>\n<li><p>The response contains <code>regionId</code> which is then set to be used in the subsequent API calls.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v2","mcm","dms","tenants","regions"],"host":["helios","cohesity","com"],"query":[{"key":"tenantId","value":"{{tenantID}}"}],"variable":[]}},"response":[],"_postman_id":"935821fb-14a6-4488-90d5-e947ecc29154"}],"id":"f1d39853-ef95-40ec-8171-b9644de90695","description":"<p>The <code>Getting Started</code> workflows has API calls that you will need to make to collect information like your <code>TenantID</code> and <code>RegionID</code> that will be used in other workflows such as VMware and 0365.</p>\n","_postman_id":"f1d39853-ef95-40ec-8171-b9644de90695"},{"name":"SaaS Connector","item":[{"name":"Get SaaS Connectors","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"fa4fd9db-fd71-4b76-8bf1-9e011812514f"}}],"id":"3c699b5a-1613-4e8b-87ae-059785b2a1e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"accept","value":"application/json, text/plain, */*"}],"url":"https://helios.cohesity.com/v2/mcm/rigelmgmt/rigel-groups?tenantId={{tenantID}}&maxRecordLimit=1000","description":"<h2 id=\"introduction\">Introduction</h2>\n<ul>\n<li>This API call returns all the SaaS connector present in the specified tentant</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v2","mcm","rigelmgmt","rigel-groups"],"host":["helios","cohesity","com"],"query":[{"key":"tenantId","value":"{{tenantID}}"},{"key":"maxRecordLimit","value":"1000"}],"variable":[]}},"response":[],"_postman_id":"3c699b5a-1613-4e8b-87ae-059785b2a1e7"},{"name":"Get Saas Connector Image Links","id":"d3aa99aa-58e0-457b-901e-e002d39fdb51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://helios.cohesity.com/v2/mcm/rigelmgmt/regions/{{regionId}}/images","description":"<h2 id=\"introduction\">Introduction</h2>\n<ul>\n<li>This API calls returns the VHD (for Azure) and OVA (for VMware) links to be downloaded.</li>\n<li>Use the link to deploy the SaaS connector on your respective environment</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v2","mcm","rigelmgmt","regions","{{regionId}}","images"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d3aa99aa-58e0-457b-901e-e002d39fdb51"},{"name":"Create Connector and Claim token.","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"groupId\", jsonData.groupId);"],"type":"text/javascript","id":"24b4a0fa-2ff9-459e-9611-0620d865e3dc"}}],"id":"d5a638c8-4942-49ee-8f93-d4c4666172c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"regionId\": \"{{regionId}}\",\n    \"tenantId\": \"{{tenantID}}\"\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/mcm/rigelmgmt/rigel-groups","description":"<h2 id=\"introduction\">Introduction</h2>\n<ul>\n<li><p>This API calls creates a SaaS connector group and also returns a <code>Claim Token</code> and <code>groupId</code> for the connector Group. </p>\n</li>\n<li><p>You will use the <code>groupId</code> to check if the SaaS connector is successfully claimed by the Tenant.</p>\n</li>\n<li><p>This <code>Claim Token</code> will be needed to configure the SaaS connector that you have deployed using link in the <code>Get Saas Connector Image Links</code> API call</p>\n</li>\n<li><p>You will need to pass the <code>regionId</code> and <code>tenantId</code> in the request body</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v2","mcm","rigelmgmt","rigel-groups"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d5a638c8-4942-49ee-8f93-d4c4666172c2"},{"name":"Check SaaS Connection","id":"1b7cff5c-127e-48f3-b468-fc5ba8a0990b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://helios.cohesity.com/v2/mcm/rigelmgmt/rigel-groups?tenantId={{tenantID}}&groupId={{groupId}}&fetchToken=true","description":"<h2 id=\"introduction\">Introduction</h2>\n<ul>\n<li><p>This API calls checks if the SaaS connector is successfully claimed by the Tenant.</p>\n</li>\n<li><p>You will need to pass the <code>groupId</code> received in the <code>Create Connector and Claim token.</code> api call.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v2","mcm","rigelmgmt","rigel-groups"],"host":["helios","cohesity","com"],"query":[{"key":"tenantId","value":"{{tenantID}}"},{"key":"groupId","value":"{{groupId}}"},{"key":"fetchToken","value":"true"}],"variable":[]}},"response":[],"_postman_id":"1b7cff5c-127e-48f3-b468-fc5ba8a0990b"}],"id":"262da513-d17a-48c2-9b79-7c2fb05935a3","description":"<h2 id=\"introduction\">Introduction</h2>\n<ul>\n<li>This folder covers the SaaS connector API calls.</li>\n<li>You will need to first run the <code>Getting Started</code> API calls to set the required variables</li>\n</ul>\n","_postman_id":"262da513-d17a-48c2-9b79-7c2fb05935a3"},{"name":"O365 Workflows","item":[{"name":"Select region","event":[{"listen":"test","script":{"exec":["tests[\"Select region, Status code is 200\"] = responseCode.code === 200;\r","var jsonData = JSON.parse(responseBody);\r","if (jsonData.regions.length > 0) {\r","    // select a region id\r","    var regionId = jsonData.regions[1].id\r","    postman.setEnvironmentVariable(\"regionId\", regionId);\r","}"],"type":"text/javascript","id":"12be93d2-45d7-4286-83ac-6e66045a6c0c"}}],"id":"3230296e-e7a3-46b8-ac9c-2faddad5e648","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"url":"https://helios.cohesity.com/v2/mcm/dms/regions","urlObject":{"protocol":"https","path":["v2","mcm","dms","regions"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3230296e-e7a3-46b8-ac9c-2faddad5e648"},{"name":"Register O365","event":[{"listen":"test","script":{"exec":["tests[\"Register O365 protection source, Status code is 201\"] = responseCode.code === 201;\r","var jsonData = JSON.parse(responseBody);\r","postman.setEnvironmentVariable(\"o365RegistrationId\", jsonData.id);\r","postman.setEnvironmentVariable(\"o365Name\", jsonData.sourceId);"],"type":"text/javascript","id":"a8536c9a-3b4e-4667-be27-52e4454b6fb4"}}],"id":"f737adbd-a5ae-453a-a1b5-943db2715068","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"environment\": \"kO365\",\r\n    \"office365Params\": {\r\n        \"endpoint\": \"https://outlook.office365.com/EWS/Exchange.asmx\",\r\n        \"office365AppCredentialsList\": [\r\n            {\r\n                \"clientId\": \"{{o365ClientId}}\",\r\n                \"clientSecret\": \"{{o365ClientSecret}}\"\r\n            }\r\n        ],\r\n        \"office365Region\": \"Default\",\r\n        \"password\": \"{{o365Password}}\",\r\n        \"proxyHostSourceIdList\": [],\r\n        \"useOAuthForExchangeOnline\": false,\r\n        \"username\": \"{{o365UserName}}\",\r\n        \"o365ObjectsDiscoveryParams\": {\r\n            \"discoverableObjectTypeList\": [\r\n                \"kUsers\",\r\n                \"kSites\"\r\n            ],\r\n            \"usersDiscoveryParams\": {\r\n                \"discoverUsersWithMailbox\": true,\r\n                \"discoverUsersWithOnedrive\": true\r\n            }\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/mcm/data-protect/sources/registrations","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","sources","registrations"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f737adbd-a5ae-453a-a1b5-943db2715068"},{"name":"Get Protection Source","event":[{"listen":"test","script":{"exec":["tests[\"Get Protection Sources, Status code is 200\"] = responseCode.code === 200;\r","var jsonData = JSON.parse(responseBody);\r","var foundSource = false;\r","var o365Name = postman.getEnvironmentVariable(\"o365Name\");\r","for (index = 0; index < jsonData.sources.length; index++) {\r","    var source = jsonData.sources[index]\r","    var sourceInfo = source.sourceInfoList[0]\r","    if (o365Name === source.name) {\r","        foundSource = true\r","        postman.setEnvironmentVariable(\"o365Id\", source.id);\r","        postman.setEnvironmentVariable(\"o365SourceId\", sourceInfo.sourceId);\r","    }\r","}\r","tests[\"The source is found\"] = foundSource === true;\r",""],"type":"text/javascript","id":"0a3c1604-8ba8-4c98-a5a5-130dca804184"}}],"id":"3fb44923-152d-476f-934f-ec233a907de9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"url":"https://helios.cohesity.com/v2/mcm/data-protect/sources?regionIds={{regionId}}","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","sources"],"host":["helios","cohesity","com"],"query":[{"key":"regionIds","value":"{{regionId}}"}],"variable":[]}},"response":[],"_postman_id":"3fb44923-152d-476f-934f-ec233a907de9"},{"name":"Get O365Users","event":[{"listen":"test","script":{"exec":["tests[\"Get O365 users, Status code is 200\"] = responseCode.code === 200;\r","var jsonData = JSON.parse(responseBody);\r","for (index = 0; index < jsonData[0].nodes.length; index++) {\r","    var node = jsonData[0].nodes[index]\r","    if (node.protectionSource.name === \"Users\") {\r","        postman.setEnvironmentVariable(\"o365UsersId\",node.protectionSource.id)\r","        break\r","    }\r","}"],"type":"text/javascript","id":"247a3ef3-5855-4a94-a543-ab2375be69c3"}}],"id":"af034953-266a-42ed-bba2-1ad30f85f4ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"url":"https://helios.cohesity.com/irisservices/api/v1/public/protectionSources?id={{o365SourceId}}&excludeOffice365Types=kMailbox,kUser,kGroup,kSite,kPublicFolder,kTeam&allUnderHierarchy=false","urlObject":{"protocol":"https","path":["irisservices","api","v1","public","protectionSources"],"host":["helios","cohesity","com"],"query":[{"key":"id","value":"{{o365SourceId}}"},{"key":"excludeOffice365Types","value":"kMailbox,kUser,kGroup,kSite,kPublicFolder,kTeam"},{"key":"allUnderHierarchy","value":"false"}],"variable":[]}},"response":[],"_postman_id":"af034953-266a-42ed-bba2-1ad30f85f4ef"},{"name":"Select O365Users Object","event":[{"listen":"test","script":{"exec":["tests[\"Get O365 users object, Status code is 200\"] = responseCode.code === 200;\r","var jsonData = JSON.parse(responseBody);\r","var nodes = jsonData[0].nodes\r","for (index = 0; index < nodes.length; index++) {\r","    var node = nodes[index]\r","    if (node.protectionSource.environment === \"kO365\" && node.protectionSource.office365ProtectionSource.type === \"kUser\") {\r","        postman.setEnvironmentVariable(\"o365UsersObjectId\",node.protectionSource.id)\r","        break\r","    }\r","}"],"type":"text/javascript","id":"7db8d547-d6e0-46fd-874c-da6a46eff8f1"}}],"id":"6c124740-927a-4234-a8c1-8d617cb5c1e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"url":"https://helios.cohesity.com/irisservices/api/v1/public/protectionSources?pageSize=50000&nodeId={{o365UsersId}}&id={{o365UsersId}}&hasValidMailbox=true&allUnderHierarchy=false","urlObject":{"protocol":"https","path":["irisservices","api","v1","public","protectionSources"],"host":["helios","cohesity","com"],"query":[{"key":"pageSize","value":"50000"},{"key":"nodeId","value":"{{o365UsersId}}"},{"key":"id","value":"{{o365UsersId}}"},{"key":"hasValidMailbox","value":"true"},{"key":"allUnderHierarchy","value":"false"}],"variable":[]}},"response":[],"_postman_id":"6c124740-927a-4234-a8c1-8d617cb5c1e6"},{"name":"Select DMaas Policy","event":[{"listen":"test","script":{"exec":["tests[\"Select DMaas policy, Status code is 200\"] = responseCode.code === 200;\r","var jsonData = JSON.parse(responseBody);\r","var policies = jsonData.policies\r","for (index = 0; index < policies.length; index++) {\r","    var policy = policies[index]\r","    if (policy.name === \"Silver\") {\r","        postman.setEnvironmentVariable(\"dmaasPolicyId\",policy.id)\r","        break\r","    }\r","}"],"type":"text/javascript","id":"c1bc1182-4197-4fb1-adb8-45e751053a0d"}}],"id":"d83f68a8-d188-4c37-95bb-3af2bcaf5702","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"url":"https://helios.cohesity.com/v2/mcm/data-protect/policies?types=DMaaSPolicy","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","policies"],"host":["helios","cohesity","com"],"query":[{"key":"types","value":"DMaaSPolicy"}],"variable":[]}},"response":[],"_postman_id":"d83f68a8-d188-4c37-95bb-3af2bcaf5702"},{"name":"Protect O365Users Object","event":[{"listen":"test","script":{"exec":["tests[\"Protect O365Users object, Status code is 207\"] = responseCode.code === 207;\r","var jsonData = JSON.parse(responseBody);\r",""],"type":"text/javascript","id":"37b6b31a-1b50-4920-bb36-8529adc9e97f"}}],"id":"dde4e867-2c3c-463a-afa4-8392b10326ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"policyId\": \"{{dmaasPolicyId}}\",\r\n    \"startTime\": {\r\n        \"hour\": 14,\r\n        \"minute\": 53,\r\n        \"timeZone\": \"Asia/Kolkata\"\r\n    },\r\n    \"priority\": \"kMedium\",\r\n    \"sla\": [\r\n        {\r\n            \"backupRunType\": \"kFull\",\r\n            \"slaMinutes\": 1440\r\n        },\r\n        {\r\n            \"backupRunType\": \"kIncremental\",\r\n            \"slaMinutes\": 1440\r\n        }\r\n    ],\r\n    \"qosPolicy\": \"kBackupSSD\",\r\n    \"abortInBlackouts\": false,\r\n    \"objects\": [\r\n        {\r\n            \"environment\": \"kO365Exchange\",\r\n            \"office365Params\": {\r\n                \"objectProtectionType\": \"kMailbox\",\r\n                \"userMailboxObjectProtectionParams\": {\r\n                    \"objects\": [\r\n                        {\r\n                            \"id\": {{o365UsersObjectId}}\r\n                        }\r\n                    ],\r\n                    \"indexingPolicy\": {\r\n                        \"enableIndexing\": true,\r\n                        \"includePaths\": [\r\n                            \"/\"\r\n                        ],\r\n                        \"excludePaths\": []\r\n                    }\r\n                }\r\n            }\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/data-protect/protected-objects","urlObject":{"protocol":"https","path":["v2","data-protect","protected-objects"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"dde4e867-2c3c-463a-afa4-8392b10326ab"},{"name":"Get Protection Status","event":[{"listen":"test","script":{"exec":["tests[\"Get the Protection Status, Status code is 201\"] = responseCode.code === 201;\r","var jsonData = JSON.parse(responseBody);\r","var objects = jsonData.objects\r","for (index = 0; index < objects.length; index++) {\r","    var status = objects[index].lastRun.localSnapshotInfo.snapshotInfo.status\r","    var snapshotId = objects[index].lastRun.localSnapshotInfo.snapshotInfo.snapshotId\r","    if (status === \"Succeeded\" && null != snapshotId) {\r","        postman.setEnvironmentVariable(\"snapshotId\", objects[index].lastRun.localSnapshotInfo.snapshotInfo.snapshotId);\r","        break\r","    }\r","}"],"type":"text/javascript","id":"fedff243-f90d-425f-8751-cf129d75b14a"}}],"id":"5638a289-05d4-412f-9b3a-d6d5df5b6509","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"url":"https://helios.cohesity.com/v2/data-protect/objects?includeLastRunInfo=true&ids={{o365UsersObjectId}}","urlObject":{"protocol":"https","path":["v2","data-protect","objects"],"host":["helios","cohesity","com"],"query":[{"key":"includeLastRunInfo","value":"true"},{"key":"ids","value":"{{o365UsersObjectId}}"}],"variable":[]}},"response":[],"_postman_id":"5638a289-05d4-412f-9b3a-d6d5df5b6509"},{"name":"Recover O365Users Object","event":[{"listen":"test","script":{"exec":["tests[\"Recover O365Users object, Status code is 201\"] = responseCode.code === 201;\r","var jsonData = JSON.parse(responseBody);\r","var recoveryInitiated = false\r","if (jsonData.status === \"Accepted\") {\r","    recoveryInitiated = true\r","}\r","tests[\"Recovery Initiated\"] = recoveryInitiated == true;"],"type":"text/javascript","id":"4e862478-6ff5-4092-aa10-e1077110cee0"}},{"listen":"prerequest","script":{"exec":["var recoverTaskName = \"RecoverO365UsersObject-\" + (new Date()).getTime()\r","pm.environment.set(\"recoverTaskName\", recoverTaskName);"],"type":"text/javascript","id":"8d76f638-0686-466d-87ec-e1df0db8a786"}}],"id":"a7a0fc5a-8b43-49da-996a-d4114b5a23f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{recoverTaskName}}\",\r\n    \"snapshotEnvironment\": \"kO365\",\r\n    \"office365Params\": {\r\n        \"recoveryAction\": \"RecoverMailbox\",\r\n        \"recoverMailboxParams\": {\r\n            \"continueOnError\": false,\r\n            \"objects\": [\r\n                {\r\n                    \"mailboxParams\": {\r\n                        \"recoverEntireMailbox\": true\r\n                    },\r\n                    \"ownerInfo\": {\r\n                        \"snapshotId\": \"{{snapshotId}}\"\r\n                    }\r\n                }\r\n            ]\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/data-protect/recoveries","urlObject":{"protocol":"https","path":["v2","data-protect","recoveries"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a7a0fc5a-8b43-49da-996a-d4114b5a23f2"},{"name":"Unprotect O365Users Object","event":[{"listen":"test","script":{"exec":["tests[\"Unprotect O365Users object, Status code is 207\"] = responseCode.code === 207;\r","var jsonData = JSON.parse(responseBody);\r","var unprotectSuccess = false\r","var o365UsersObjectId = postman.setEnvironmentVariable(\"o365UsersObjectId\")\r","if (jsonData.objects[0].id == o365UsersObjectId) {\r","    unprotectSuccess = true\r","}\r","tests[\"Check if unprotect a success\"] = unprotectSuccess == true;"],"type":"text/javascript","id":"8b29bfb8-fe4a-4401-8cd0-8157563ac2b0"}}],"id":"623d048f-d5b8-4400-a12a-319bea3a20d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"action\": \"UnProtect\",\r\n    \"objectActionKey\": \"kO365Exchange\",\r\n    \"unProtectParams\": {\r\n        \"objects\": [\r\n            {\r\n                \"id\": {{o365UsersObjectId}},\r\n                \"deleteAllSnapshots\": true,\r\n                \"forceUnprotect\": true\r\n            }\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/data-protect/protected-objects/actions","urlObject":{"protocol":"https","path":["v2","data-protect","protected-objects","actions"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"623d048f-d5b8-4400-a12a-319bea3a20d9"},{"name":"Unregister O365","event":[{"listen":"test","script":{"exec":["tests[\"Unregister O365 protection source, Status code is 204\"] = responseCode.code === 204;"],"type":"text/javascript","id":"8d0d87fd-dd20-47ec-9972-e8d2de87e1b0"}}],"id":"8efbde0b-e2b7-4f93-8906-ab7c6c5819cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"action\": \"UnProtect\",\r\n    \"objectActionKey\": \"kO365Exchange\",\r\n    \"unProtectParams\": {\r\n        \"objects\": [\r\n            {\r\n                \"id\": {{o365UsersObjectId}},\r\n                \"deleteAllSnapshots\": true,\r\n                \"forceUnprotect\": true\r\n            }\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/mcm/data-protect/sources/registrations/","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","sources","registrations",""],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8efbde0b-e2b7-4f93-8906-ab7c6c5819cf"}],"id":"7d5edefe-02a7-456d-868c-47b5f9a09afe","description":"<p>Operations on O365 resources with Helios,</p>\n<ol>\n<li>Validate the Helios connection with the apiKey</li>\n<li>Select a region</li>\n<li>Now you have the region info, use the apiKey and the region id in the subsequent calls </li>\n<li>Register the O365 protection source</li>\n<li>Validate the registration</li>\n<li>Select O365 \"Users\" from Sites/Users</li>\n<li>Select one of DMaas policy</li>\n<li>Now you have all necessary information to protect an O365Users object source.</li>\n<li>Get the status of protected object</li>\n<li>Now the O365Users object is ready for recovery</li>\n<li>Lets clean it up by unprotecting the O365Users object and unregistering the O365 protection source</li>\n</ol>\n","_postman_id":"7d5edefe-02a7-456d-868c-47b5f9a09afe"},{"name":"VMware Workflows","item":[{"name":"Register VMware Source","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.set(\"VMwareSourceRegistrationId\", jsonData.id);","pm.collectionVariables.set(\"VMwareSourceRegistrationShortId\", parseInt(jsonData.id.split(\":\")[2]));"],"type":"text/javascript","id":"f38b2d28-25d8-433c-83c0-591e6665f5f0"}}],"id":"b416d8bc-15ef-4c44-ab1a-b4417c7012a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"regionId","value":"{{regionId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"environment\": \"kVMware\",\n    \"vmwareParams\": {\n        \"type\": \"kVCenter\",\n        \"vCenterParams\": {\n            \"endpoint\": \"vcenter.com\",\n            \"password\": \"password\",\n            \"username\": \"administrator@vsphere.local\"\n        }\n    },\n    \"connectionId\": 1234\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/mcm/data-protect/sources/registrations","description":"<h2 id=\"introduction\">Introduction</h2>\n<ul>\n<li><p>Use this API call to register a VMware source on Cohesity DMaaS</p>\n</li>\n<li><p>This will return the source registration Id which will be used in the future.</p>\n</li>\n<li><p>The response from this API call is used to set the <code>VMwareSourceRegistrationId</code> and <code>VMwareSourceRegistrationShortId</code> Collection Variable that is used in the subsequent API calls</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","sources","registrations"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b416d8bc-15ef-4c44-ab1a-b4417c7012a1"},{"name":"Refresh VMware Source","id":"00bae389-bcf1-437e-bf15-ffeca26668a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"regionid","value":"us-west-1"}],"url":"https://helios.cohesity.com/irisservices/api/v1/public/protectionSources/refresh/","description":"<h2 id=\"introduction\">Introduction</h2>\n<ul>\n<li>Run this API call to refresh the VMware source which will reflect the newly added VMs</li>\n</ul>\n","urlObject":{"protocol":"https","path":["irisservices","api","v1","public","protectionSources","refresh",""],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"00bae389-bcf1-437e-bf15-ffeca26668a9"},{"name":"Get VMware Source by ID","event":[{"listen":"test","script":{"exec":["var jsonData = JSON.parse(responseBody);","pm.collectionVariables.set(\"VMwareSourceRegistrationShortId\", parseInt(jsonData.id.split(\":\")[2]));"],"type":"text/javascript","id":"75e5480c-444d-4efa-88d7-5f234ac683fb"}}],"id":"2d0832ad-66d4-4986-995d-3acadbd7ad2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"regionId","value":"{{regionId}}","type":"text"}],"url":"https://helios.cohesity.com/v2/mcm/data-protect/sources/registrations/","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","sources","registrations",""],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[{"id":"f3a75e44-afd1-46c9-a6f8-906380adc614","name":"Get VMware Source by ID","originalRequest":{"method":"GET","header":[{"key":"regionId","value":"{{regionId}}","type":"text"}],"url":"https://helios.cohesity.com/v2/mcm/data-protect/sources/registrations/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Nov 2021 21:13:59 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-envoy-upstream-service-time","value":"572"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"content-security-policy","value":"frame-ancestors 'self';"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"referrer-policy","value":"strict-origin-when-cross-origin"},{"key":"x-download-options","value":"noopen"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"},{"key":"feature-policy","value":"camera 'none';microphone 'none';geolocation 'none';encrypted-media 'none';payment 'none';usb 'none';"},{"key":"server","value":"istio-envoy"}],"cookie":[],"responseTime":null,"body":"{\n    \"regionId\": \"us-west-1\",\n    \"id\": \"222222222222:111111111111:1234\",\n    \"connectionId\": 3271,\n    \"connections\": [],\n    \"sourceId\": \"147544e8-abcd-abcd-abcd\",\n    \"environment\": \"kVMware\",\n    \"vmwareParams\": {\n        \"type\": \"kVCenter\",\n        \"vCenterParams\": {\n            \"username\": \"administrator@vsphere.local\",\n            \"password\": \"\",\n            \"endpoint\": \"vmware-host.cohesity.com\",\n            \"throttlingParams\": {},\n            \"dataStoreParams\": null\n        }\n    }\n}"}],"_postman_id":"2d0832ad-66d4-4986-995d-3acadbd7ad2a"},{"name":"Get Protection Policy","id":"984b0664-a798-4527-8cee-99bec1055f1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://helios.cohesity.com/v2/mcm/data-protect/policies?types=DMaaSPolicy","description":"<h2 id=\"introduction\">Introduction</h2>\n<ul>\n<li><p>This API call returns the list of all Policies available.</p>\n</li>\n<li><p>Use the response for this API call to set the <code>policyId</code> Collection Variable which is used in the <code>Protect VMware Object</code> API call.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","policies"],"host":["helios","cohesity","com"],"query":[{"key":"types","value":"DMaaSPolicy"}],"variable":[]}},"response":[],"_postman_id":"984b0664-a798-4527-8cee-99bec1055f1a"},{"name":"Get SnapshotId for Object","id":"125db0ba-5b5c-4c3a-b3f9-7eae5151c1bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"regionId","value":"{{regionId}}","type":"text"}],"url":"https://helios.cohesity.com/v2/data-protect/objects//snapshots","description":"<h2 id=\"introduction\">Introduction</h2>\n<ul>\n<li><p>This API call returns the list of all snapshots available for the specified <code>objectId</code>.</p>\n</li>\n<li><p>Use the response and set the Collection Variable <code>snapshotId</code> to perform a restore operation</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v2","data-protect","objects","","snapshots"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"125db0ba-5b5c-4c3a-b3f9-7eae5151c1bd"},{"name":"Protect VMware Object","event":[{"listen":"test","script":{"exec":[""],"type":"text/javascript","id":"c8e926c1-651f-4a6d-a300-d264f4191684"}}],"id":"8924af56-6596-4675-b2b1-f3a53813bc6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"regionid","value":"{{regionId}}"}],"body":{"mode":"raw","raw":"{\n    \"policyId\": \"\",\n    \"startTime\": {\n        \"hour\": 16,\n        \"minute\": 51,\n        \"timeZone\": \"America/New_York\"\n    },\n    \"sla\": [\n        {\n            \"backupRunType\": \"kFull\",\n            \"slaMinutes\": 1440\n        },\n        {\n            \"backupRunType\": \"kIncremental\",\n            \"slaMinutes\": 1440\n        }\n    ],\n    \"qosPolicy\": \"kBackupSSD\",\n    \"abortInBlackouts\": false,\n    \"objects\": [\n        {\n            \"environment\": \"kVMware\",\n            \"vmwareParams\": {\n                \"objects\": [\n                    {\n                        \"id\": , //ID for the VMware VM/Object that needs to be protect\n                        \"isAutoprotected\": false,\n                        \"excludeObjectIds\": []\n                    }\n                ],\n                \"excludeVmTagIds\": [],\n                \"appConsistentSnapshot\": false,\n                \"fallbackToCrashConsistentSnapshot\": true,\n                \"skipPhysicalRDMDisks\": false,\n                \"globalExcludeDisks\": []\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/data-protect/protected-objects","description":"<h2 id=\"introduction\">Introduction</h2>\n<ul>\n<li><p>This API calls protects the specified VMware object/vm.</p>\n</li>\n<li><p>You can pass multiple objects and also choose to auto protect the a VMware folder</p>\n</li>\n<li><p>Auto protect will also protect the newly created VMs under the folder.</p>\n</li>\n<li><p>Call the <code>Get VWware Activities</code> to get the Object ID for a protected object</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v2","data-protect","protected-objects"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[{"id":"0095db9a-c511-40cd-aeed-206580394638","name":"Protect VMware Object","originalRequest":{"method":"POST","header":[{"key":"regionid","value":"{{regionId}}"}],"body":{"mode":"raw","raw":"{\n    \"policyId\": \"0bf19954-2219-44eb-56ff-5ff5e1be102f\",\n    \"startTime\": {\n        \"hour\": 16,\n        \"minute\": 51,\n        \"timeZone\": \"America/New_York\"\n    },\n    \"sla\": [\n        {\n            \"backupRunType\": \"kFull\",\n            \"slaMinutes\": 1440\n        },\n        {\n            \"backupRunType\": \"kIncremental\",\n            \"slaMinutes\": 1440\n        }\n    ],\n    \"qosPolicy\": \"kBackupSSD\",\n    \"abortInBlackouts\": false,\n    \"objects\": [\n        {\n            \"environment\": \"kVMware\",\n            \"vmwareParams\": {\n                \"objects\": [\n                    {\n                        \"id\": 188074,\n                        \"isAutoprotected\": false,\n                        \"excludeObjectIds\": []\n                    }\n                ],\n                \"excludeVmTagIds\": [],\n                \"appConsistentSnapshot\": false,\n                \"fallbackToCrashConsistentSnapshot\": true,\n                \"skipPhysicalRDMDisks\": false,\n                \"globalExcludeDisks\": []\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/data-protect/protected-objects"},"status":"Multi-Status","code":207,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Nov 2021 22:49:39 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-envoy-upstream-service-time","value":"1356"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"content-security-policy","value":"frame-ancestors 'self';"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"referrer-policy","value":"strict-origin-when-cross-origin"},{"key":"x-download-options","value":"noopen"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"},{"key":"feature-policy","value":"camera 'none';microphone 'none';geolocation 'none';encrypted-media 'none';payment 'none';usb 'none';"},{"key":"server","value":"istio-envoy"}],"cookie":[],"responseTime":null,"body":"{\n    \"protectedObjects\": [\n        {\n            \"id\": 1234,\n            \"name\": \"VM_NAME\",\n            \"environment\": \"kVMware\"\n        }\n    ]\n}"}],"_postman_id":"8924af56-6596-4675-b2b1-f3a53813bc6f"},{"name":"Restore VMware Object","id":"e1d6cbea-6c93-4407-bc31-ff999429abb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"regionid","value":"{{regionId}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"REVCOVERY_JOB_NAME\",\n    \"snapshotEnvironment\": \"kVMware\",\n    \"vmwareParams\": {\n        \"objects\": [\n            {\n                \"snapshotId\": \n            }\n        ],\n        \"recoveryAction\": \"RecoverVMs\",\n        \"recoverVmParams\": {\n            \"targetEnvironment\": \"kVMware\",\n            \"recoverProtectionGroupRunsParams\": [],\n            \"vmwareTargetParams\": {\n                \"recoveryTargetConfig\": {\n                    \"recoverToNewSource\": false,\n                    \"originalSourceConfig\": {\n                        \"networkConfig\": {\n                            \"detachNetwork\": true,\n                            \"disableNetwork\": true\n                        }\n                    }\n                },\n                \"renameRecoveredVmsParams\": {\n                    \"prefix\": \"copy-\"\n                },\n                \"recoveryProcessType\": \"CopyRecovery\",\n                \"powerOnVms\": true,\n                \"continueOnError\": false\n            }\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/data-protect/recoveries","description":"<h2 id=\"introduction\">Introduction</h2>\n<ul>\n<li><p>Make this API call to perform a restore task for any protected VMware object(s).</p>\n</li>\n<li><p>You will need to pass the <code>snapshotId</code> for the protected Object. </p>\n</li>\n<li><p>Run the <code>Get SnapshotId for Object</code> API call to get the <code>snapshotId</code></p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v2","data-protect","recoveries"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e1d6cbea-6c93-4407-bc31-ff999429abb4"},{"name":"Get VWware Activities","id":"ae99a310-0025-4e37-b8e6-83b270c13ac3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"statsParams\": {\n        \"attributes\": [\n            \"Status\",\n            \"ActivityType\"\n        ]\n    },\n    \"environments\": [\n        \"kVMware\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/mcm/data-protect/objects/activity?regionIds={{regionId}}","description":"<h2 id=\"introduction\">Introduction</h2>\n<ul>\n<li><p>Make this API call to get the Backup Activity for all the objects in the specified region. </p>\n</li>\n<li><p>The result can be narrowed down passing the <code>environment</code> variable in the request body</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","objects","activity"],"host":["helios","cohesity","com"],"query":[{"key":"regionIds","value":"{{regionId}}"}],"variable":[]}},"response":[],"_postman_id":"ae99a310-0025-4e37-b8e6-83b270c13ac3"},{"name":"Unprotect VMware Object","id":"2611766b-de04-4ce9-a235-4bf64a288aa9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"regionid","value":"{{regionId}}"}],"body":{"mode":"raw","raw":"{\n    \"action\": \"UnProtect\",\n    \"unProtectParams\": {\n        \"objects\": [\n            {\n                \"id\": , //ID of VMware Object/VM that needs to be unprotected\n                \"deleteAllSnapshots\": true,\n                \"forceUnprotect\": true\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/data-protect/protected-objects/actions","description":"<h2 id=\"introduction\">Introduction</h2>\n<ul>\n<li><p>This API call can be used if you want to unprotect any protected VMware object.</p>\n</li>\n<li><p>You can pass array of objects that you want to unprotect.</p>\n</li>\n<li><p>Call the <code>Get VWware Activities</code> to get the Object ID for a protected object</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v2","data-protect","protected-objects","actions"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[{"id":"1472fbeb-fc86-4925-8749-e6059d546f0d","name":"Unprotect VMware Object","originalRequest":{"method":"POST","header":[{"key":"authority","value":"helios.cohesity.com"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"94\", \"Google Chrome\";v=\"94\", \";Not A Brand\";v=\"99\""},{"key":"accept","value":"application/json, text/plain, */*"},{"key":"content-type","value":"application/json"},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"user-agent","value":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36"},{"key":"regionid","value":"us-west-1"},{"key":"sec-ch-ua-platform","value":"\"macOS\""},{"key":"origin","value":"https://helios.cohesity.com"},{"key":"sec-fetch-site","value":"same-origin"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-dest","value":"empty"},{"key":"referer","value":"https://helios.cohesity.com/objects/run/188074/OBJECT-188074:1636667515670281/cloud-archive?regionId=us-west-1"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"cookie","value":"CookieConsent={stamp:%27Y0HL1YkOUkjhWf3cd0DqpJeoxvmmqxTX7YNb9mILvVgSca2vFtvJQg==%27%2Cnecessary:true%2Cpreferences:true%2Cstatistics:true%2Cmarketing:true%2Cver:1%2Cutc:1622643239857%2Cregion:%27us%27}; _mkto_trk=id:103-SPE-204&token:_mch-cohesity.com-1622644044647-80790; _biz_uid=49ba57db03354bbbc436fa4fda532de1; _biz_flagsA=%7B%22Version%22%3A1%2C%22Mkto%22%3A%221%22%2C%22ViewThrough%22%3A%221%22%2C%22XDomain%22%3A%221%22%7D; _lo_uid=202893-1622644045490-610bfd89ff00c01b; __lotl=https%3A%2F%2Fwww.cohesity.com%2Fmarketplace%2F; __lotr=https%3A%2F%2Fwww.google.com%2F; OptanonAlertBoxClosed=2021-08-16T21:15:26.479Z; _gcl_au=1.1.1435042025.1631824999; refiner_cookie_uuid=d6f57af1-966e-a41c-781f-1017dc4dabb6; mp_412f41b9a2f5b1a17e172e08ee7b3691_mixpanel=%7B%22distinct_id%22%3A%2010453128%2C%22%24device_id%22%3A%20%2217c99917fa4c58-0d819c597a7837-1c3b6650-13c680-17c99917fa5bdc%22%2C%22Platform%22%3A%20%22Web-Attendee%22%2C%22Event%22%3A%20%22Cohesity%20Connect%22%2C%22EventID%22%3A%20355934%2C%22EventStatus%22%3A%20%22published%22%2C%22BizzaboID%22%3A%2010453128%2C%22isBizzaboer%22%3A%20false%2C%22%24initial_referrer%22%3A%20%22https%3A%2F%2Fwww.cohesity.com%2F%22%2C%22%24initial_referring_domain%22%3A%20%22www.cohesity.com%22%2C%22%24user_id%22%3A%2010453128%7D; fs_uid=rs.fullstory.com#1198B0#6714367399010304:4653539369263104#94b47f2d#/1666200022; _sp_id.0602=f94b7c7d-4c10-4ae6-bf42-5130feff2707.1634664022.3.1634753635.1634670875.eb464bd4-cda2-4065-b40e-9031e508c59c; _clck=y24eze|1|ew2|0; _lo_v=63; OptanonConsent=isIABGlobal=false&datestamp=Wed+Nov+03+2021+10%3A56%3A27+GMT-0400+(Eastern+Daylight+Time)&version=6.20.0&hosts=&consentId=163d2949-4e44-41ab-9984-54636de6bcfb&interactionCount=2&landingPath=NotLandingPage&groups=C0001%3A1%2CC0004%3A1%2CC0003%3A1%2CC0002%3A1&AwaitingReconsent=false&geolocation=US%3BCA; _biz_nA=121; _biz_pendingA=%5B%5D; _ga_1GQPJLBLQE=GS1.1.1635951387.69.1.1635951401.0; _ga=GA1.2.514390341.1622642855; _ga_78424V1F1L=GS1.1.1635966243.6.0.1635966248.0; _gid=GA1.2.1210844367.1636579356; helios-session-name=MTYzNjY0NzI2NHxEdi1CQkFFQ180SUFBUkFCRUFBQV9nUExfNElBRHdaemRISnBibWNNQ3dBSmJHRnpkQzF1WVcxbEJuTjBjbWx1Wnd3SUFBWndiV1JsYlc4R2MzUnlhVzVuREFvQUNIVnpaWEp1WVcxbEJuTjBjbWx1Wnd3Y0FCcG9aV3hwYjNNdGNHMWtaVzF2UUdOdmFHVnphWFI1TG1OdmJRWnpkSEpwYm1jTUNBQUdaRzl0WVdsdUJuTjBjbWx1Wnd3SUFBWklaV3hwYjNNR2MzUnlhVzVuREFvQUNIVnpaWEl0YzJsa0JuTjBjbWx1Wnd3eUFEQlRMVEV0TVRBd0xUSXlMVEF3TVRVd01EQXdNREpKTTBOclZrRkJWaTB3TURVeVNqQXdNREF3T0VWNGFGWlJRVk1HYzNSeWFXNW5EQkVBRDJWNGNHbHlZWFJwYjI0dGRHbHRaUVp6ZEhKcGJtY01EQUFLTVRZek5qY3pNelkyTkFaemRISnBibWNNREFBS2NISnBkbWxzWldkbGN3WnpkSEpwYm1jTV9nRW1BUDRCSWpJM0xESTJMREV5TlN3eE1qUXNNakVzTWpBc01URXdMRFExTERRMExERXhOU3d4TVRZc05Dd3pMREV6TVN3eE16QXNNVEUwTERFeE15dzVMRGdzTVRrc01UZ3NNVGNzTVRBNUxERXhMREUyTERFMUxERXpMREUwTERFd0xEWXhMREkxTERJMExERXhPQ3d4TVRjc05qWXNOalVzTVRBd0xERXdPQ3cyTnl3ME55dzFPQ3cxTml3Mk15d3hNelVzT1Rjc09UWXNOVFFzTlRVc05Ua3NOVGNzTVRNekxEazFMRGswTERZeUxEWXdMRGNzTml3MUxESXNNU3d4TXpJc016SXNNekVzTXpVc016UXNNek1zTXpBc016a3NORFlzTXpnc016Y3NNellzTVRFeUxEWTBMREV4TVN3eU9Td3lPQ3cxTWl3ME9TdzFNQ3cxTVN3eE16WXNNVE0zTERRekxEUXlMRFF4TERRd0xERXlNaXd4TWpFc01USXdMREl6TERJeUJuTjBjbWx1Wnd3TEFBbHphV1J6TFdoaGMyZ0djM1J5YVc1bkRDMEFLMVZDZDNGeU1XSkpabmRqTkhCUmJHUmlRek5CUzNCTmJHZExZMFIwVUhwR2QzbE9WVUkyZERSU1ZtTUdjM1J5YVc1bkRBd0FDbWx1TFdOc2RYTjBaWElFWW05dmJBSUNBQUVHYzNSeWFXNW5EQVVBQTJGcFpBWnpkSEpwYm1jTUZBQVNNREF4TlRBd01EQXdNa2t6UTJ0V1FVRldCbk4wY21sdVp3d0hBQVZ5YjJ4bGN3WnpkSEpwYm1jTUdnQVlRMDlJUlZOSlZGbGZUVU5OWDFOVlVFVlNYMEZFVFVsT0JuTjBjbWx1Wnd3TUFBcG1hWEp6ZEMxdVlXMWxCbk4wY21sdVp3d0lBQVpvWld4cGIzTUdjM1J5YVc1bkRCUUFFbU5zZFhOMFpYSkpaR1Z1ZEdsbWFXVnljd1p6ZEhKcGJtY01Cd0FGTFRFNkxURUdjM1J5YVc1bkRBVUFBM1ZwWkFaemRISnBibWNNRkFBU01EQTFNa293TURBd01EaEZlR2hXVVVGVEJuTjBjbWx1Wnd3TEFBbGhkWFJvTFhSNWNHVUdjM1J5YVc1bkRBTUFBVE1HYzNSeWFXNW5EQWdBQm14dlkyRnNaUVp6ZEhKcGJtY01Cd0FGWlc0dGRYTT18QRcLlDpIqLrY7TAu0ZGmahJ9hH0IgDM585Db9fsGmVo=; ajs_group_id=%220015000002I3CkVAAV%22; mp_c20ead2eb17ee9ae6aad08545e86c00d_mixpanel=%7B%22distinct_id%22%3A%20%2217ce69cb5cd65-0bb65c8e297e15-1c3b6650-13c680-17ce69cb5cecbf%22%2C%22%24device_id%22%3A%20%2217ce69cb5cd65-0bb65c8e297e15-1c3b6650-13c680-17ce69cb5cecbf%22%2C%22mp_lib%22%3A%20%22Segment%3A%20web%22%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_referring_domain%22%3A%20%22%24direct%22%7D; ajs_anonymous_id=%229f709f8a-99d9-4a67-8242-e8dbc2b25ee5%22; ajs_user_id=%22helios-pmdemo%40cohesity.com%22; intercom-session-k9ja36ud=YW1aeXo1cmx6bmZoelNXZFZUZS9Jd2hKTU9EZzF5ZTFTWWNyZzFML1ZGMmpuaElKM3orVzNFZk8zbW5VYm5Iby0tdzFFTFBWTUxKTHQxRlZoa3U4WjRjdz09--b1466f25a816ee81f0b4425d077e489e3c8314f2"}],"body":{"mode":"raw","raw":"{\n    \"action\": \"UnProtect\",\n    \"unProtectParams\": {\n        \"objects\": [\n            {\n                \"id\": 188074,\n                \"deleteAllSnapshots\": true,\n                \"forceUnprotect\": true\n            }\n        ]\n    }\n}"},"url":"https://helios.cohesity.com/v2/data-protect/protected-objects/actions"},"status":"Multi-Status","code":207,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Nov 2021 22:51:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-envoy-upstream-service-time","value":"1111"},{"key":"content-encoding","value":"gzip"},{"key":"vary","value":"Accept-Encoding"},{"key":"content-security-policy","value":"frame-ancestors 'self';"},{"key":"x-xss-protection","value":"1; mode=block"},{"key":"x-content-type-options","value":"nosniff"},{"key":"referrer-policy","value":"strict-origin-when-cross-origin"},{"key":"x-download-options","value":"noopen"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"strict-transport-security","value":"max-age=31536000; includeSubDomains"},{"key":"feature-policy","value":"camera 'none';microphone 'none';geolocation 'none';encrypted-media 'none';payment 'none';usb 'none';"},{"key":"server","value":"istio-envoy"}],"cookie":[],"responseTime":null,"body":"{\n    \"action\": \"UnProtect\",\n    \"objects\": [\n        {\n            \"id\": 12345,\n            \"name\": \"vmware-vm\"\n        }\n    ]\n}"}],"_postman_id":"2611766b-de04-4ce9-a235-4bf64a288aa9"},{"name":"Perform a VMware Backup run ","id":"25b1c308-3b42-4d19-88ad-4773a6a66254","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"regionid","value":"{{regionId}}"}],"body":{"mode":"raw","raw":"{\n    \"action\": \"ProtectNow\",\n    \"runNowParams\": {\n        \"objects\": [\n            {\n                \"id\": , //ID of VMware Object/VM \n                \"takeLocalSnapshotOnly\": false,\n                \"backupType\": \"kFull\"\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/data-protect/protected-objects/actions","description":"<h2 id=\"introduction\">Introduction</h2>\n<ul>\n<li><p>Run this API Call to perform a Backup run for specified protected object.</p>\n</li>\n<li><p>You can pass array of objects that you want to unprotect.</p>\n</li>\n<li><p>Call the <code>Get VWware Activities</code> to get the Object ID for a protected object</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v2","data-protect","protected-objects","actions"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"25b1c308-3b42-4d19-88ad-4773a6a66254"},{"name":"Unregister VMware Source","id":"3a0ee016-f2fb-47c0-ad39-3030d257cb94","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"regionid","value":"{{regionId}}"}],"url":"https://helios.cohesity.com/v2/mcm/data-protect/sources/registrations/","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","sources","registrations",""],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3a0ee016-f2fb-47c0-ad39-3030d257cb94"}],"id":"210b2415-63d1-46e5-92ce-2102eeb486e6","description":"<h2 id=\"introduction\">Introduction</h2>\n<ul>\n<li>This folders contains APIs that can be used to perform VMware Protection and Recovery on your VMware source using DMaaS</li>\n</ul>\n","_postman_id":"210b2415-63d1-46e5-92ce-2102eeb486e6"},{"name":"AWS Workflows","item":[{"name":"Registration & SaaS Connector","item":[{"name":"Get SaaS Connection details","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Validating Response\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","var group_id = pm.environment.get(\"groupId\");","","for (var i = 0; i < jsonData[\"rigelGroups\"].length; i++) {","    if (jsonData[\"rigelGroups\"][i][\"groupId\"] === parseInt(group_id)) {","        pm.environment.set(\"existingConnectorsCount\", jsonData[\"rigelGroups\"][i][\"expectedNumberOfRigels\"]);","    }","}",""],"id":"04c7e7d1-608c-45b2-be71-932e58ba5af3"}}],"id":"f06f756d-9276-40b6-956f-74138327edfd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"url":"https://helios.cohesity.com/v2/mcm/rigelmgmt/rigel-groups?tenantId={{tenantId}}&regionId={{regionId}}&groupId={{groupId}}&getConnectionStatus=true","description":"<p>https://{{cluster}}/irisservices/api/v1/public/protectionPolicies</p>\n","urlObject":{"protocol":"https","path":["v2","mcm","rigelmgmt","rigel-groups"],"host":["helios","cohesity","com"],"query":[{"key":"tenantId","value":"{{tenantId}}"},{"key":"regionId","value":"{{regionId}}"},{"key":"groupId","value":"{{groupId}}"},{"key":"getConnectionStatus","value":"true"},{"disabled":true,"key":"apiKey","value":""}],"variable":[]}},"response":[],"_postman_id":"f06f756d-9276-40b6-956f-74138327edfd"},{"name":"Update SaaS Connection","id":"f4a5a28d-e052-4145-ba8e-e7d044203346","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apiKey","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"currentNumOfConnectors\": {{existingConnectorsCount}},\n    \"numberOfConnectors\": {{connectorCount}},\n    \"ConnectionId\": {{groupId}}\n}"},"url":"https://helios.cohesity.com/v2/mcm/rigelmgmt/rigel-groups","description":"<p>https://{{cluster}}/irisservices/api/v1/public/protectionPolicies</p>\n","urlObject":{"protocol":"https","path":["v2","mcm","rigelmgmt","rigel-groups"],"host":["helios","cohesity","com"],"query":[{"disabled":true,"key":"apiKey","value":""}],"variable":[]}},"response":[],"_postman_id":"f4a5a28d-e052-4145-ba8e-e7d044203346"}],"id":"d4c95e5d-c864-4552-b487-9f1465cc4f85","description":"<p>Start with the APIs in <strong>Getting Started</strong> section for getting <strong>TenantId</strong> and then <strong>Regions</strong> by <strong>TenantId</strong>.</p>\n","_postman_id":"d4c95e5d-c864-4552-b487-9f1465cc4f85"},{"name":"EC2 & RDS","item":[{"name":"Source Registration - Step 1","event":[{"listen":"test","script":{"exec":["tests[\"Register AWS Source, Status code is 201\"] = responseCode.code === 201;"],"type":"text/javascript","id":"026227c5-4779-413b-9854-b0afb147a073"}}],"id":"ffb9827d-a3fb-4187-ba03-830616bb43a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"useCases\": [\r\n        \"EC2\", \r\n        \"RDS\"\r\n    ],\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"destinationRegionId\": \"{{regionId}}\",\r\n    \"awsAccountNumber\": \"{{accountId}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/mcm/dms/tenants/regions/aws-cloud-source","description":"<p>AWS Source registration is a two-step process. This API request will generate a CF template. (step 1)</p>\n<p>Registration can be verified by running the template (generated in step 1) in AWS console.</p>\n<p>In the Source registration step 2, source registration is registered to the cluster successfully.</p>\n","urlObject":{"protocol":"https","path":["v2","mcm","dms","tenants","regions","aws-cloud-source"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ffb9827d-a3fb-4187-ba03-830616bb43a4"},{"name":"Verify Registration","event":[{"listen":"test","script":{"exec":["pm.test(\"Validating Response\", function () {","    pm.response.to.have.status(200);","});","","if (responseCode.code !== 200) {","    sleep(30000)","    postman.setNextRequest(\"Verify Registration\");","}","function sleep(ms) {","    return new Promise(resolve => setTimeout(resolve, ms));","}",""],"type":"text/javascript","id":"a6289b2e-b993-492b-8110-1488f0c550fb"}}],"id":"ff6c5e26-2511-482e-bcb9-2567493d03e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"url":"https://helios.cohesity.com/v2/mcm/dms/tenants/regions/aws-cloud-source-verify?tenantId={{tenantId}}&destinationRegionId={{regionId}}&awsAccountNumber={{accountId}}","description":"<p>https://{{cluster}}/irisservices/api/v1/public/protectionPolicies</p>\n","urlObject":{"protocol":"https","path":["v2","mcm","dms","tenants","regions","aws-cloud-source-verify"],"host":["helios","cohesity","com"],"query":[{"disabled":true,"key":"apiKey","value":""},{"key":"tenantId","value":"{{tenantId}}"},{"key":"destinationRegionId","value":"{{regionId}}"},{"key":"awsAccountNumber","value":"{{accountId}}"}],"variable":[]}},"response":[],"_postman_id":"ff6c5e26-2511-482e-bcb9-2567493d03e7"},{"name":"Fetch ARN","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Validating Response\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"cp_role_arn\", (jsonData.tenantCpRoleArn));","pm.environment.set(\"iam_role_arn\", (jsonData.awsIamRoleArn));"],"id":"d6a930ae-0da6-430b-a07b-f67bc797afc7"}}],"id":"4280178d-1de8-41e7-bb35-f58a1a61ab33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"url":"https://helios.cohesity.com/v2/mcm/dms/tenants/regions/aws-cloud-source?tenantId={{tenantId}}&destinationRegionId={{regionId}}&awsAccountNumber={{accountId}}","description":"<p>https://{{cluster}}/irisservices/api/v1/public/protectionPolicies</p>\n","urlObject":{"protocol":"https","path":["v2","mcm","dms","tenants","regions","aws-cloud-source"],"host":["helios","cohesity","com"],"query":[{"disabled":true,"key":"apiKey","value":""},{"key":"tenantId","value":"{{tenantId}}"},{"key":"destinationRegionId","value":"{{regionId}}"},{"key":"awsAccountNumber","value":"{{accountId}}"}],"variable":[]}},"response":[],"_postman_id":"4280178d-1de8-41e7-bb35-f58a1a61ab33"},{"name":"Source Registration - Step 2","id":"4f6fe48b-e020-4bf0-ad2c-5cfdf341ddd5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}"},{"key":"regionId","value":"{{regionId}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"environment\": \"kAWS\",\n    \"awsParams\": {\n        \"subscriptionType\": \"kAWSCommercial\",\n        \"standardParams\": {\n            \"authMethodType\": \"kUseIAMRole\",\n            \"iamRoleAwsCredentials\": {\n                \"iamRoleArn\": \"{{iam_role_arn}}\",\n                \"cpIamRoleArn\": \"{{cp_role_arn}}\"\n            }\n        }\n    }\n}"},"url":"https://helios.cohesity.com/v2/mcm/data-protect/sources/registrations","description":"<p>https://{{cluster}}/irisservices/api/v1/public/protectionPolicies</p>\n","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","sources","registrations"],"host":["helios","cohesity","com"],"query":[{"disabled":true,"key":"apiKey","value":""}],"variable":[]}},"response":[],"_postman_id":"4f6fe48b-e020-4bf0-ad2c-5cfdf341ddd5"},{"name":"Update AWS Cloud Source","id":"ec8fb50b-2536-479c-9796-5ead56f18e3b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apiKey","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"useCases\": [\n        \"EC2\",\n        \"RDS\"\n    ],\n    \"tenantId\": \"{{tenantId}}\",\n    \"destinationRegionId\": \"{{regionId}}\",\n    \"awsAccountNumber\": \"{{accountId}}\"\n}"},"url":"https://helios.cohesity.com/v2/mcm/dms/tenants/regions/aws-cloud-source","description":"<p>https://{{cluster}}/irisservices/api/v1/public/protectionPolicies</p>\n","urlObject":{"protocol":"https","path":["v2","mcm","dms","tenants","regions","aws-cloud-source"],"host":["helios","cohesity","com"],"query":[{"disabled":true,"key":"apiKey","value":""}],"variable":[]}},"response":[],"_postman_id":"ec8fb50b-2536-479c-9796-5ead56f18e3b"},{"name":"Get SourceId","event":[{"listen":"test","script":{"type":"text/javascript","exec":["tests[\"Fetch region Id, Status code is 200\"] = responseCode.code === 200;","var jsonData = JSON.parse(responseBody);","var source_name = pm.environment.get(\"sourceName\");","var region_name = pm.environment.get(\"regionId\");","for (var i = 0; i < jsonData.sources.length; i++) {","    if (jsonData.sources[i][\"name\"] == source_name) {","        var source_infos = jsonData.sources[i].sourceInfoList","        for (var j = 0; j < source_infos.length; j++) {","            if (source_infos[j][\"regionId\"] == region_name) {","                postman.setEnvironmentVariable(\"sourceId\", jsonData.sources[i].sourceInfoList[j][\"sourceId\"]);","                postman.setEnvironmentVariable(\"registrationId\", jsonData.sources[i].sourceInfoList[0][\"registrationId\"]);","            }","        }","    }","}"],"id":"59e222f6-a2cb-4ed6-b283-66bc5fe8ff02"}}],"id":"28ae627b-c676-48f3-914a-2159de19bcd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","type":"text","value":"{{apiKey}}"}],"url":"https://helios.cohesity.com/v2/mcm/data-protect/sources","description":"<p>https://{{cluster}}/irisservices/api/v1/public/protectionPolicies</p>\n","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","sources"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"28ae627b-c676-48f3-914a-2159de19bcd2"},{"name":"Get Protection Source","event":[{"listen":"test","script":{"exec":["tests[\"Get Protection Sources, Status code is 200\"] = responseCode.code === 200;\r","var jsonData = JSON.parse(responseBody);\r","for (index = 0; index < jsonData.sources.length; index++) {\r","    var source = jsonData.sources[index]\r","    if(source.environment === \"kAWS\") {\r","        postman.setEnvironmentVariable(\"awsProtectionSourceId\", source.sourceInfoList[0].sourceId);\r","        break\r","    }\r","}"],"type":"text/javascript","id":"bc334cdc-ffe9-4dc3-a4a1-e1fe39647104"}}],"id":"aa0b9bb5-5774-43b2-b4e5-3f7161fbf463","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"url":"https://helios.cohesity.com/v2/mcm/data-protect/sources?regionIds={{regionId}}","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","sources"],"host":["helios","cohesity","com"],"query":[{"key":"regionIds","value":"{{regionId}}"}],"variable":[]}},"response":[],"_postman_id":"aa0b9bb5-5774-43b2-b4e5-3f7161fbf463"},{"name":"Create AWS SaaS Connection","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Validating Response\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","postman.setEnvironmentVariable(\"groupId\", jsonData.groupId)"],"id":"963d4da1-df98-4c9e-8dcc-043315635c5a"}}],"id":"0a0b5fc4-f25e-42b5-8742-0e46386dc6e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"tenantId\": \"{{tenantId}}\",\n    \"connectorType\": \"AWS\",\n    \"useCase\": \"Ec2Backup\",\n    \"name\": \"{{accountId}}-{{rigelRegionId}}-{{regionId}}\",\n    \"numberOfRigels\": 1,\n    \"regionId\": \"{{regionId}}\",\n    \"rigelCloudInfraInfo\": {\n        \"awsRigelInfraInfo\": {\n            \"accountNumber\": \"{{accountNumber}}\",\n            \"regionId\": \"{{rigelRegionId}}\",\n            \"subnetId\": \"{{subnetId}}\",\n            \"securityGroupId\": \"{{sgId}}\",\n            \"vpcId\": \"{{vpcId}}\",\n            \"tags\": []\n        }\n    }\n}"},"url":"https://helios.cohesity.com/v2/mcm/rigelmgmt/rigel-groups","description":"<p>https://{{cluster}}/irisservices/api/v1/public/protectionPolicies</p>\n","urlObject":{"protocol":"https","path":["v2","mcm","rigelmgmt","rigel-groups"],"host":["helios","cohesity","com"],"query":[{"disabled":true,"key":"apiKey","value":""}],"variable":[]}},"response":[],"_postman_id":"0a0b5fc4-f25e-42b5-8742-0e46386dc6e4"},{"name":"Get AWS Cloud Source","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Validating Response\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","pm.environment.set(\"connections\", JSON.stringify(jsonData.connections))"],"id":"37b25edb-6007-4eb2-9824-2640769879ef"}}],"id":"fab68ec1-071e-4621-9919-87a05d59622e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"url":"https://helios.cohesity.com/v2/mcm/data-protect/sources/registrations/{{registrationId}}","description":"<p>https://{{cluster}}/irisservices/api/v1/public/protectionPolicies</p>\n","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","sources","registrations","{{registrationId}}"],"host":["helios","cohesity","com"],"query":[{"disabled":true,"key":"apiKey","value":""}],"variable":[]}},"response":[],"_postman_id":"fab68ec1-071e-4621-9919-87a05d59622e"},{"name":"Fetch EntityId for Region","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Validating Response\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","var region_id = pm.environment.get(\"rigelRegionId\");","for(var i=0; i< jsonData.objects.length; i++){","    if (jsonData.objects[i][\"name\"] == region_id){","        pm.environment.set(\"entityId\",jsonData.objects[i][\"id\"])","    }","}"],"id":"e1d987bb-cb27-4dea-aa5f-9fb1d7394bf2"}}],"id":"2bf6223c-63bf-401b-869b-53bfa5aa2d40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"url":"https://helios.cohesity.com/v2/data-protect/objects?parentId={{sourceId}}","description":"<p>https://{{cluster}}/irisservices/api/v1/public/protectionPolicies</p>\n","urlObject":{"protocol":"https","path":["v2","data-protect","objects"],"host":["helios","cohesity","com"],"query":[{"disabled":true,"key":"apiKey","value":""},{"key":"parentId","value":"{{sourceId}}"}],"variable":[]}},"response":[],"_postman_id":"2bf6223c-63bf-401b-869b-53bfa5aa2d40"},{"name":"Add SaaS Connection to Source","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["var connections = JSON.parse(pm.environment.get(\"connections\"));","// Add newly created connection by id.","var entity_id = pm.environment.get(\"entityId\");","var length = connections.length","var conn = []","var group_id = parseInt(pm.environment.get(\"groupId\"));","for (j=0; j< length;j++){","conn[j] = connections[j];","}","conn[length] = {\"connectionId\": group_id, \"entityId\": entity_id}","pm.environment.set(\"UpdatedConnections\", JSON.stringify(conn))"],"id":"9eb0b7b7-c2de-4e2b-b9fe-40f1e045b0f6"}}],"id":"58da26b4-db90-410d-a3c8-87027a8fd6d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apiKey","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"environment\": \"kAWS\",\n    \"awsParams\": {\n        \"subscriptionType\": \"kAWSCommercial\",\n        \"standardParams\": {\n            \"authMethodType\": \"kUseIAMRole\",\n            \"iamRoleAwsCredentials\": {\n                \"iamRoleArn\": \"{{iam_role_arn}}\",\n                \"cpIamRoleArn\": \"{{cp_role_arn}}\"\n            }\n        }\n    },\n    \"connections\": {{UpdatedConnections}}\n}"},"url":"https://helios.cohesity.com/v2/mcm/data-protect/sources/registrations/{{registrationId}}","description":"<p>https://{{cluster}}/irisservices/api/v1/public/protectionPolicies</p>\n","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","sources","registrations","{{registrationId}}"],"host":["helios","cohesity","com"],"query":[{"disabled":true,"key":"apiKey","value":""}],"variable":[]}},"response":[],"_postman_id":"58da26b4-db90-410d-a3c8-87027a8fd6d3"},{"name":"Get EC2 Object","event":[{"listen":"test","script":{"exec":["tests[\"Get Protection Sources, Status code is 200\"] = responseCode.code === 200;\r","var jsonData = JSON.parse(responseBody);\r","var nodes = jsonData[0].nodes\r","var node = findFirstNode(nodes)\r","postman.setEnvironmentVariable(\"awsObjectId\", node.protectionSource.id);\r","\r","function findFirstNode(nodes) {\r","    var node = null\r","    for (i = 0; i < nodes.length; i++) {\r","        node = nodes[i]\r","        if (node.protectionSource.awsProtectionSource.type === \"kEC2Instance\") {\r","            break\r","        }\r","    }\r","    return node\r","}\r",""],"type":"text/javascript","id":"92554a8f-76b4-4069-8ba8-76e7cde1acef"}}],"id":"74ce1a73-a68a-4013-886b-8cf726d53394","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"url":"https://helios.cohesity.com/irisservices/api/v1/public/protectionSources?includeVMFolders=true&includeSystemVApps=true&includeEntityPermissionInfo=true&id={{awsProtectionSourceId}}&excludeTypes=kResourcePool&excludeAwsTypes=kAuroraCluster,kRDSInstance,kRDSTag,kAuroraTag,kTag,kInstanceType&environment=kAWS&allUnderHierarchy=false","urlObject":{"protocol":"https","path":["irisservices","api","v1","public","protectionSources"],"host":["helios","cohesity","com"],"query":[{"key":"includeVMFolders","value":"true"},{"key":"includeSystemVApps","value":"true"},{"key":"includeEntityPermissionInfo","value":"true"},{"key":"id","value":"{{awsProtectionSourceId}}"},{"key":"excludeTypes","value":"kResourcePool"},{"key":"excludeAwsTypes","value":"kAuroraCluster,kRDSInstance,kRDSTag,kAuroraTag,kTag,kInstanceType"},{"key":"environment","value":"kAWS"},{"key":"allUnderHierarchy","value":"false"}],"variable":[]}},"response":[],"_postman_id":"74ce1a73-a68a-4013-886b-8cf726d53394"},{"name":"Get DMaas PolicyId","event":[{"listen":"test","script":{"exec":["tests[\"Select DMaas policy, Status code is 200\"] = responseCode.code === 200;\r","var jsonData = JSON.parse(responseBody);\r","var policies = jsonData.policies\r","for (index = 0; index < policies.length; index++) {\r","    var policy = policies[index]\r","    if (policy.name === \"Silver\") {\r","        postman.setEnvironmentVariable(\"dmaasPolicyId\",policy.id)\r","        break\r","    }\r","}"],"type":"text/javascript","id":"20c340e3-bbf2-4c40-bc82-0d316c490bb0"}}],"id":"872ba045-97a8-4c1b-879c-e86235a9dbf0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"url":"https://helios.cohesity.com/v2/mcm/data-protect/policies?types=DMaaSPolicy","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","policies"],"host":["helios","cohesity","com"],"query":[{"key":"types","value":"DMaaSPolicy"}],"variable":[]}},"response":[],"_postman_id":"872ba045-97a8-4c1b-879c-e86235a9dbf0"},{"name":"Protect EC2 Object","event":[{"listen":"test","script":{"exec":["tests[\"Protect EC2 Object, Status code is 207\"] = responseCode.code === 207;"],"type":"text/javascript","id":"337dac14-e230-429d-85f7-5f81301ae849"}}],"id":"1e5280bd-f9e4-49db-b72d-909ad7c35917","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"policyConfig\": {\r\n        \"policies\": [\r\n            {\r\n                \"id\": \"{{dmaasPolicyId}}\",\r\n                \"protectionType\": \"kSnapshotManager\"\r\n            },\r\n            {\r\n                \"id\": \"{{dmaasPolicyId}}\",\r\n                \"protectionType\": \"kNative\"\r\n            }\r\n        ]\r\n    },\r\n    \"startTime\": {\r\n        \"hour\": 16,\r\n        \"minute\": 22,\r\n        \"timeZone\": \"Asia/Kolkata\"\r\n    },\r\n    \"priority\": \"kMedium\",\r\n    \"sla\": [\r\n        {\r\n            \"backupRunType\": \"kFull\",\r\n            \"slaMinutes\": 1440\r\n        },\r\n        {\r\n            \"backupRunType\": \"kIncremental\",\r\n            \"slaMinutes\": 1440\r\n        }\r\n    ],\r\n    \"qosPolicy\": \"kBackupSSD\",\r\n    \"abortInBlackouts\": false,\r\n    \"objects\": [\r\n        {\r\n            \"environment\": \"kAWS\",\r\n            \"awsParams\": {\r\n                \"protectionType\": \"kSnapshotManager\",\r\n                \"snapshotManagerProtectionTypeParams\": {\r\n                    \"objects\": [\r\n                        {\r\n                            \"id\": {{awsObjectId}}\r\n                        }\r\n                    ]\r\n                },\r\n                \"nativeProtectionTypeParams\": {\r\n                    \"objects\": [\r\n                        {\r\n                            \"id\": {{awsObjectId}}\r\n                        }\r\n                    ]\r\n                }\r\n            }\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/data-protect/protected-objects","urlObject":{"protocol":"https","path":["v2","data-protect","protected-objects"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1e5280bd-f9e4-49db-b72d-909ad7c35917"},{"name":"Get Latest Snapshot Detail","event":[{"listen":"test","script":{"exec":["tests[\"Get the Protection Status, Status code is 201\"] = responseCode.code === 201;\r","var jsonData = JSON.parse(responseBody);\r","var objects = jsonData.objects\r","for (index = 0; index < objects.length; index++) {\r","    var status = objects[index].lastRun.localSnapshotInfo.snapshotInfo.status\r","    var snapshotId = objects[index].lastRun.localSnapshotInfo.snapshotInfo.snapshotId\r","    if (status === \"Succeeded\" && null != snapshotId) {\r","        postman.setEnvironmentVariable(\"snapshotId\", objects[index].lastRun.localSnapshotInfo.snapshotInfo.snapshotId);\r","        break\r","    }\r","}"],"type":"text/javascript","id":"e13bcc92-2b1b-44d2-a735-03babeb064b3"}}],"id":"f69a7510-dd3e-46aa-8175-cf16b7636f68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"url":"https://helios.cohesity.com/v2/data-protect/objects?includeLastRunInfo=true&ids={{awsObjectId}}","urlObject":{"protocol":"https","path":["v2","data-protect","objects"],"host":["helios","cohesity","com"],"query":[{"key":"includeLastRunInfo","value":"true"},{"key":"ids","value":"{{awsObjectId}}"}],"variable":[]}},"response":[],"_postman_id":"f69a7510-dd3e-46aa-8175-cf16b7636f68"},{"name":"Recover EC2 Object","event":[{"listen":"test","script":{"exec":["tests[\"Recover EC2 object, Status code is 201\"] = responseCode.code === 201;\r","var jsonData = JSON.parse(responseBody);\r","var recoveryInitiated = false\r","if (jsonData.status === \"Accepted\") {\r","    recoveryInitiated = true\r","}\r","tests[\"Recovery Initiated\"] = recoveryInitiated == true;"],"type":"text/javascript","id":"31a3aa3d-db0d-470f-952f-844095357a76"}},{"listen":"prerequest","script":{"exec":["var recoverTaskName = \"RecoverEC2Object-\" + (new Date()).getTime()\r","pm.environment.set(\"recoverTaskName\", recoverTaskName);"],"type":"text/javascript","id":"541692fb-f0b8-4efa-ab17-f72ffa8a717e"}}],"id":"b97e88c2-bef8-4b6d-81e3-1c5dc23f366e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{recoverTaskName}}\",\r\n    \"snapshotEnvironment\": \"kAWS\",\r\n    \"awsParams\": {\r\n        \"objects\": [\r\n            {\r\n                \"snapshotId\": \"{{snapshotId}}\"\r\n            }\r\n        ],\r\n        \"recoveryAction\": \"RecoverVMs\",\r\n        \"recoverVmParams\": {\r\n            \"targetEnvironment\": \"kAWS\",\r\n            \"recoverProtectionGroupRunsParams\": [],\r\n            \"awsTargetParams\": {\r\n                \"renameRecoveredVmsParams\": {\r\n                    \"prefix\": \"copy-\",\r\n                    \"suffix\": \"-suff\"\r\n                },\r\n                \"powerOnVms\": true,\r\n                \"continueOnError\": false\r\n            }\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/data-protect/recoveries","urlObject":{"protocol":"https","path":["v2","data-protect","recoveries"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b97e88c2-bef8-4b6d-81e3-1c5dc23f366e"},{"name":"Unprotect EC2 Object","event":[{"listen":"test","script":{"exec":["tests[\"Unprotect EC2 object, Status code is 207\"] = responseCode.code === 207;"],"type":"text/javascript","id":"5ba7a61f-2583-47ec-a0e7-94d6440964b9"}}],"id":"5e5a9cb8-05fd-48dc-9c5e-376144414c24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"action\": \"UnProtect\",\r\n    \"unProtectParams\": {\r\n        \"objects\": [\r\n            {\r\n                \"id\": {{awsObjectId}},\r\n                \"deleteAllSnapshots\": false,\r\n                \"forceUnprotect\": true\r\n            }\r\n        ]\r\n    },\r\n    \"snapshotBackendTypes\": [\r\n        \"kAWSNative\",\r\n        \"kAWSSnapshotManager\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/data-protect/protected-objects/actions","urlObject":{"protocol":"https","path":["v2","data-protect","protected-objects","actions"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5e5a9cb8-05fd-48dc-9c5e-376144414c24"},{"name":"Delete a Connection from Source","id":"5d8c9cf2-3ac0-488d-af2d-af2e24611e5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://helios.cohesity.com/v2/mcm/rigelmgmt/connections?tenantId={{tenantId}}&connectionId={{connectionId}}","description":"<p>https://{{cluster}}/irisservices/api/v1/public/protectionPolicies</p>\n","urlObject":{"protocol":"https","path":["v2","mcm","rigelmgmt","connections"],"host":["helios","cohesity","com"],"query":[{"disabled":true,"key":"apiKey","value":""},{"key":"tenantId","value":"{{tenantId}}"},{"key":"connectionId","value":"{{connectionId}}"}],"variable":[]}},"response":[],"_postman_id":"5d8c9cf2-3ac0-488d-af2d-af2e24611e5c"},{"name":"Get AWS Source details","event":[{"listen":"test","script":{"type":"text/javascript","exec":["pm.test(\"Validating Response\", function () {","    pm.response.to.have.status(200);","});","","var jsonData = JSON.parse(responseBody);","if (jsonData[\"connections\"] === []) {","    pm.environment.set(\"connections\", []);","}","else {","    pm.environment.set(\"connections\", JSON.stringify(jsonData[\"connections\"]));","}"],"id":"8c155bfd-0a61-4d64-b5f3-d6e052e0fb23"}}],"id":"bcf51d38-5ac1-47a7-a298-dec18df2eea4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"url":"https://helios.cohesity.com/v2/mcm/data-protect/sources/registrations/{{registrationId}}","description":"<p>https://{{cluster}}/irisservices/api/v1/public/protectionPolicies</p>\n","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","sources","registrations","{{registrationId}}"],"host":["helios","cohesity","com"],"query":[{"disabled":true,"key":"apiKey","value":""}],"variable":[]}},"response":[],"_postman_id":"bcf51d38-5ac1-47a7-a298-dec18df2eea4"},{"name":"Modify Connection on AWS Source","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["// Remove connection by id.","var connections = pm.environment.get(\"connections\");","var group_id = pm.environment.get(\"groupId\")","","if (connections !== null || connections == undefined) {","    connections = JSON.parse(connections);","    for (j = 0; j < connections.length; j++) {","        if (connections[j][\"connectionId\"] == group_id) {","            connections.splice(j, 1);","        }","    }","}","else {","    connections = []","}","pm.environment.set(\"modifiedConnections\", JSON.stringify(connections))"],"id":"bec0fbc7-9e38-4f2c-9049-1ecc147a78c0"}}],"id":"7d8992ea-8b6c-46a8-b766-c09db66be4ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"apiKey","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"environment\": \"kAWS\",\n    \"awsParams\": {\n        \"subscriptionType\": \"kAWSCommercial\",\n        \"standardParams\": {\n            \"authMethodType\": \"kUseIAMRole\",\n            \"iamRoleAwsCredentials\": {\n                \"iamRoleArn\": \"{{iam_role_arn}}\",\n                \"cpIamRoleArn\": \"{{cp_role_arn}}\"\n            }\n        }\n    },\n    \"connections\": {{modifiedConnections}}\n}   "},"url":"https://helios.cohesity.com/v2/mcm/data-protect/sources/registrations/{{registrationId}}","description":"<p>If the connections do not exist then pass empty list.</p>\n<p>For example :</p>\n<p>\"connections\": []</p>\n","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","sources","registrations","{{registrationId}}"],"host":["helios","cohesity","com"],"query":[{"disabled":true,"key":"apiKey","value":""}],"variable":[]}},"response":[],"_postman_id":"7d8992ea-8b6c-46a8-b766-c09db66be4ab"},{"name":"Unregister AWS Source - Step 1","id":"eecc4228-d541-4fea-b031-1c58350b502e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://helios.cohesity.com/v2/mcm/data-protect/sources/registrations/{{registrationId}}","description":"<p>https://{{cluster}}/irisservices/api/v1/public/protectionPolicies</p>\n","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","sources","registrations","{{registrationId}}"],"host":["helios","cohesity","com"],"query":[{"disabled":true,"key":"apiKey","value":""}],"variable":[]}},"response":[],"_postman_id":"eecc4228-d541-4fea-b031-1c58350b502e"},{"name":"Unregister AWS Source - Step 2","event":[{"listen":"test","script":{"exec":["tests[\"Unregister AWS Source, Status code is 204\"] = responseCode.code === 204;"],"type":"text/javascript","id":"f1ae63f7-a3cf-4739-b32d-2c3247d0c5b5"}}],"id":"54202876-abc6-4b1c-ac86-aefc04bea2ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"{{tenantId}}\",\r\n    \"destinationRegionId\": \"{{regionId}}\",\r\n    \"awsAccountNumber\": \"{{accountId}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/mcm/dms/tenants/regions/aws-cloud-source","urlObject":{"protocol":"https","path":["v2","mcm","dms","tenants","regions","aws-cloud-source"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"54202876-abc6-4b1c-ac86-aefc04bea2ba"}],"id":"c916e149-b337-4958-8103-5f56cab482c4","_postman_id":"c916e149-b337-4958-8103-5f56cab482c4","description":""}],"id":"f7be74e8-7669-4504-a248-9d0919b4d7bc","description":"<p>Operations on AWS resources with Helios,</p>\n<ol>\n<li>Select a region</li>\n<li>Now you have the region info, use the apiKey and the region id in the subsequent calls </li>\n<li>Select one AWS protection source</li>\n<li>Select on EC2 object</li>\n<li>Select one of DMaas policy</li>\n<li>Now you have all necessary information to protect an EC2 object.</li>\n<li>Get the status of protected object and the snapshot</li>\n<li>Now the EC2 object is ready for recovery</li>\n<li>Unprotect the EC2 object</li>\n</ol>\n","_postman_id":"f7be74e8-7669-4504-a248-9d0919b4d7bc"},{"name":"Database Workflows","item":[{"name":"MSSQL Workflow","item":[{"name":"Select region","event":[{"listen":"test","script":{"exec":["tests[\"Select region, Status code is 200\"] = responseCode.code === 200;\r","var jsonData = JSON.parse(responseBody);\r","if (jsonData.regions.length > 0) {\r","    // select a region id\r","    var regionId = jsonData.regions[1].id\r","    postman.setEnvironmentVariable(\"regionId\", regionId);\r","    console.log(regionId)\r","}"],"type":"text/javascript","id":"4bba93d8-366a-4a80-85ec-15b86dee5143"}}],"id":"b0bb8fee-f061-4c10-bd0a-cedb4d6d8b58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"url":"https://helios.cohesity.com/v2/mcm/dms/regions","urlObject":{"protocol":"https","path":["v2","mcm","dms","regions"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b0bb8fee-f061-4c10-bd0a-cedb4d6d8b58"},{"name":"Register MSSQL Source","event":[{"listen":"test","script":{"exec":["tests[\"Register MSSQL Source, Status code is 201\"] = responseCode.code === 201;\r","var jsonData = JSON.parse(responseBody);\r","postman.setEnvironmentVariable(\"registrationId\", jsonData.id);"],"type":"text/javascript","id":"b5ce4113-7812-49fc-b686-f1ae1984ae43"}}],"id":"00d30323-cc03-411f-884a-51eeb689e1d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"environment\": \"kPhysical\",\r\n    \"connectionId\": {{connectionId}},\r\n    \"physicalParams\": {\r\n        \"endpoint\": \"{{mssqlFQDN}}\",\r\n        \"hostType\": \"kWindows\",\r\n        \"physicalType\": \"kHost\",\r\n        \"applications\": [\r\n            \"kSQL\"\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/mcm/data-protect/sources/registrations","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","sources","registrations"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"00d30323-cc03-411f-884a-51eeb689e1d4"},{"name":"Get Protection Source","event":[{"listen":"test","script":{"exec":["tests[\"Get Protection Sources, Status code is 200\"] = responseCode.code === 200;\r","var jsonData = JSON.parse(responseBody);\r","for (index = 0; index < jsonData.sources.length; index++) {\r","    var source = jsonData.sources[index]\r","    if(source.environment === \"kPhysical\" && source.sourceInfoList[0].applications[0] === \"kSQL\") {\r","        postman.setEnvironmentVariable(\"mssqlProtectionSourceId\", source.sourceInfoList[0].sourceId);\r","        break\r","    }\r","}"],"type":"text/javascript","id":"674be9da-c3f2-43c9-9781-2eef1ba192e8"}}],"id":"b4d43f95-7d8b-46b4-82b5-3617c25e34b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"url":"https://helios.cohesity.com/v2/mcm/data-protect/sources?regionIds={{regionId}}","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","sources"],"host":["helios","cohesity","com"],"query":[{"key":"regionIds","value":"{{regionId}}"}],"variable":[]}},"response":[],"_postman_id":"b4d43f95-7d8b-46b4-82b5-3617c25e34b4"},{"name":"Get Oracle Object","event":[{"listen":"test","script":{"exec":["tests[\"Get Protection Source object, Status code is 200\"] = responseCode.code === 200;\r","var jsonData = JSON.parse(responseBody);\r","var objectId = jsonData[0].applicationServer.applicationNodes[0].nodes[0].protectionSource.id\r","postman.setEnvironmentVariable(\"mssqlObjectId\", objectId);\r",""],"type":"text/javascript","id":"7bb426e4-0e35-4bc6-9255-1cc064c1592d"}}],"id":"d218aaed-1168-4cdd-8db6-06de64184fe1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"url":"https://helios.cohesity.com/irisservices/api/v1/public/protectionSources/applicationServers?protectionSourcesRootNodeId={{mssqlProtectionSourceId}}&protectionSourceId={{mssqlProtectionSourceId}}&application=kSQL","urlObject":{"protocol":"https","path":["irisservices","api","v1","public","protectionSources","applicationServers"],"host":["helios","cohesity","com"],"query":[{"key":"protectionSourcesRootNodeId","value":"{{mssqlProtectionSourceId}}"},{"key":"protectionSourceId","value":"{{mssqlProtectionSourceId}}"},{"key":"application","value":"kSQL"}],"variable":[]}},"response":[],"_postman_id":"d218aaed-1168-4cdd-8db6-06de64184fe1"},{"name":"Select DMaas Policy","event":[{"listen":"test","script":{"exec":["tests[\"Select DMaas policy, Status code is 200\"] = responseCode.code === 200;\r","var jsonData = JSON.parse(responseBody);\r","var policies = jsonData.policies\r","for (index = 0; index < policies.length; index++) {\r","    var policy = policies[index]\r","    if (policy.name === \"Silver\") {\r","        postman.setEnvironmentVariable(\"dmaasPolicyId\",policy.id)\r","        break\r","    }\r","}"],"type":"text/javascript","id":"55955083-45da-41e3-bbcb-a5f9239a892b"}}],"id":"5903ed13-7155-4694-9465-511cd79e0fbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"url":"https://helios.cohesity.com/v2/mcm/data-protect/policies?types=DMaaSPolicy","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","policies"],"host":["helios","cohesity","com"],"query":[{"key":"types","value":"DMaaSPolicy"}],"variable":[]}},"response":[],"_postman_id":"5903ed13-7155-4694-9465-511cd79e0fbd"},{"name":"Protect MSSQL Object","event":[{"listen":"test","script":{"exec":["tests[\"Protect MSSQL Object, Status code is 207\"] = responseCode.code === 207;"],"type":"text/javascript","id":"4fe47701-3f52-4dfd-804f-629378c00147"}}],"id":"a14163df-6704-490e-a32b-7d47451a1052","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"policyId\": \"{{dmaasPolicyId}}\",\r\n    \"startTime\": {\r\n        \"hour\": 16,\r\n        \"minute\": 44,\r\n        \"timeZone\": \"Asia/Kolkata\"\r\n    },\r\n    \"priority\": \"kMedium\",\r\n    \"sla\": [\r\n        {\r\n            \"backupRunType\": \"kFull\",\r\n            \"slaMinutes\": 1440\r\n        },\r\n        {\r\n            \"backupRunType\": \"kIncremental\",\r\n            \"slaMinutes\": 1440\r\n        }\r\n    ],\r\n    \"qosPolicy\": \"kBackupSSD\",\r\n    \"abortInBlackouts\": false,\r\n    \"objects\": [\r\n        {\r\n            \"environment\": \"kSQL\",\r\n            \"mssqlParams\": {\r\n                \"objectProtectionType\": \"kNative\",\r\n                \"nativeObjectProtectionTypeParams\": {\r\n                    \"fullBackupsCopyOnly\": false,\r\n                    \"userDbBackupPreferenceType\": \"kBackupAllDatabases\",\r\n                    \"backupSystemDbs\": true,\r\n                    \"useAagPreferencesFromServer\": true,\r\n                    \"objects\": [\r\n                        {\r\n                            \"id\": {{mssqlObjectId}}\r\n                        }\r\n                    ]\r\n                }\r\n            }\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/data-protect/protected-objects","urlObject":{"protocol":"https","path":["v2","data-protect","protected-objects"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a14163df-6704-490e-a32b-7d47451a1052"},{"name":"Get Latest Snapshot Detail","event":[{"listen":"test","script":{"exec":["tests[\"Get the Protection Status, Status code is 201\"] = responseCode.code === 201;\r","var jsonData = JSON.parse(responseBody);\r","var snapshots = jsonData.snapshots\r","postman.setEnvironmentVariable(\"snapshotId\", snapshots[0].id);"],"type":"text/javascript","id":"39c47e43-1f9c-4ea5-9246-4ed6a1db76b7"}}],"id":"f5f4cfdb-ff3b-4c8c-ba5c-41ada62c3e83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"url":"https://helios.cohesity.com/v2/data-protect/objects/{{mssqlObjectId}}/snapshots","urlObject":{"protocol":"https","path":["v2","data-protect","objects","{{mssqlObjectId}}","snapshots"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f5f4cfdb-ff3b-4c8c-ba5c-41ada62c3e83"},{"name":"Recover MSSQL Object","event":[{"listen":"test","script":{"exec":["tests[\"Recover MSSQL object, Status code is 201\"] = responseCode.code === 201;\r","var jsonData = JSON.parse(responseBody);\r","var recoveryInitiated = false\r","if (jsonData.status === \"Accepted\") {\r","    recoveryInitiated = true\r","}\r","tests[\"Recovery Initiated\"] = recoveryInitiated == true;"],"type":"text/javascript","id":"053f79ea-37bf-453b-ab7f-0a88fc145bbe"}},{"listen":"prerequest","script":{"exec":["var recoverTaskName = \"RecoverMSSQLObject-\" + (new Date()).getTime()\r","pm.environment.set(\"recoverTaskName\", recoverTaskName);"],"type":"text/javascript","id":"a1bccce0-6140-4d8c-b28d-e34ab8cc5a8d"}}],"id":"c74c22c3-c84f-4e9b-80ed-015621c5bb8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{recoverTaskName}}\",\r\n    \"snapshotEnvironment\": \"kSQL\",\r\n    \"mssqlParams\": {\r\n        \"recoveryAction\": \"RecoverApps\",\r\n        \"recoverAppParams\": [\r\n            {\r\n                \"snapshotId\": \"{{snapshotId}}\",\r\n                \"targetEnvironment\": \"kSQL\",\r\n                \"sqlTargetParams\": {\r\n                    \"recoverToNewSource\": false,\r\n                    \"originalSourceConfig\": {\r\n                        \"keepCdc\": false,\r\n                        \"withNoRecovery\": false,\r\n                        \"captureTailLogs\": false\r\n                    }\r\n                }\r\n            }\r\n        ]\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/data-protect/recoveries","urlObject":{"protocol":"https","path":["v2","data-protect","recoveries"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c74c22c3-c84f-4e9b-80ed-015621c5bb8e"},{"name":"Unprotect MSSQL Object","event":[{"listen":"test","script":{"exec":["tests[\"Unprotect Oracle object, Status code is 207\"] = responseCode.code === 207;"],"type":"text/javascript","id":"e281a30f-7fe9-4ad9-91ec-207af5576fcd"}}],"id":"342dfd42-ffb1-482d-8bdd-f413927acc28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"action\": \"UnProtect\",\r\n    \"unProtectParams\": {\r\n        \"objects\": [\r\n            {\r\n                \"id\": {{mssqlObjectId}},\r\n                \"deleteAllSnapshots\": false,\r\n                \"forceUnprotect\": true\r\n            }\r\n        ]\r\n    },\r\n    \"snapshotBackendTypes\": [\r\n        \"kSQL\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/data-protect/protected-objects/actions","urlObject":{"protocol":"https","path":["v2","data-protect","protected-objects","actions"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"342dfd42-ffb1-482d-8bdd-f413927acc28"},{"name":"Unregister MSSQL Source","event":[{"listen":"test","script":{"exec":["tests[\"Unregister Oracle Source, Status code is 204\"] = responseCode.code === 204;"],"type":"text/javascript","id":"c1e45547-1cbc-4ad6-adbb-686c3d756441"}}],"id":"9e1c79a4-a6d7-47a1-8e24-4d1f9c61679f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/mcm/data-protect/sources/registrations/{{registrationId}}","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","sources","registrations","{{registrationId}}"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9e1c79a4-a6d7-47a1-8e24-4d1f9c61679f"}],"id":"7c628da2-cec7-43d8-b87f-757f4b854071","description":"<p>Operations on MSSQL resources with Helios,</p>\n<ol>\n<li>Select a region</li>\n<li>Now you have the region info, use the apiKey and the region id in the subsequent calls</li>\n<li>Register an MSSQL source</li>\n<li>Select one Oracle protection source</li>\n<li>Select an Oracle object</li>\n<li>Select one of DMaas policy</li>\n<li>Now you have all necessary information to protect an Oracle object.</li>\n<li>Find the latest snapshot detail</li>\n<li>Start a recovery process for the MSSQL object</li>\n<li>Unprotect the MSSQL object</li>\n<li>Unregister the MSSQL source</li>\n</ol>\n","_postman_id":"7c628da2-cec7-43d8-b87f-757f4b854071"},{"name":"Oracle Workflow","item":[{"name":"Select region","event":[{"listen":"test","script":{"exec":["tests[\"Select region, Status code is 200\"] = responseCode.code === 200;\r","var jsonData = JSON.parse(responseBody);\r","if (jsonData.regions.length > 0) {\r","    // select a region id\r","    var regionId = jsonData.regions[1].id\r","    postman.setEnvironmentVariable(\"regionId\", regionId);\r","    console.log(regionId)\r","}"],"type":"text/javascript","id":"a7ce89d6-0bb6-4f2c-8553-065603e5d552"}}],"id":"7569cdf6-480b-4033-9c2a-5404b20bd48d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"url":"https://helios.cohesity.com/v2/mcm/dms/regions","urlObject":{"protocol":"https","path":["v2","mcm","dms","regions"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7569cdf6-480b-4033-9c2a-5404b20bd48d"},{"name":"Register Oracle Source","event":[{"listen":"test","script":{"exec":["tests[\"Register Oracle Source, Status code is 201\"] = responseCode.code === 201;\r","var jsonData = JSON.parse(responseBody);\r","postman.setEnvironmentVariable(\"registrationId\", jsonData.id);"],"type":"text/javascript","id":"4225fa49-7739-4185-a0d2-a2dc1d047a3e"}}],"id":"070af642-5331-4012-be21-19f9291531b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"environment\": \"kPhysical\",\r\n    \"connectionId\": {{connectionId}},\r\n    \"physicalParams\": {\r\n        \"endpoint\": \"{{oracleFQDN}}\",\r\n        \"physicalType\": \"kHost\",\r\n        \"applications\": [\r\n            \"kOracle\"\r\n        ],\r\n        \"hostType\": \"kLinux\"\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/mcm/data-protect/sources/registrations","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","sources","registrations"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"070af642-5331-4012-be21-19f9291531b3"},{"name":"Get Protection Source","event":[{"listen":"test","script":{"exec":["tests[\"Get Protection Sources, Status code is 200\"] = responseCode.code === 200;\r","var jsonData = JSON.parse(responseBody);\r","for (index = 0; index < jsonData.sources.length; index++) {\r","    var source = jsonData.sources[index]\r","    if(source.environment === \"kPhysical\" && source.sourceInfoList[0].applications[0] === \"kOracle\") {\r","        postman.setEnvironmentVariable(\"oracleProtectionSourceId\", source.sourceInfoList[0].sourceId);\r","        break\r","    }\r","}"],"type":"text/javascript","id":"330e18aa-c4a5-4614-93c2-6a32294ef1f9"}}],"id":"01a55326-f720-48c0-ae01-d19bf8c02937","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"url":"https://helios.cohesity.com/v2/mcm/data-protect/sources?regionIds={{regionId}}","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","sources"],"host":["helios","cohesity","com"],"query":[{"key":"regionIds","value":"{{regionId}}"}],"variable":[]}},"response":[],"_postman_id":"01a55326-f720-48c0-ae01-d19bf8c02937"},{"name":"Get Oracle Object","event":[{"listen":"test","script":{"exec":["tests[\"Get Protection Source object, Status code is 200\"] = responseCode.code === 200;\r","var jsonData = JSON.parse(responseBody);\r","var objectId = jsonData[0].applicationServer.applicationNodes[0].protectionSource.id\r","var objectUuid = jsonData[0].applicationServer.applicationNodes[0].protectionSource.oracleProtectionSource.uuid\r","postman.setEnvironmentVariable(\"oracleObjectId\", objectId);\r","postman.setEnvironmentVariable(\"oracleObjectUuid\", objectUuid);\r",""],"type":"text/javascript","id":"f8d01000-fafb-4d73-84cd-e017909e7d10"}}],"id":"ccfcc6af-f100-45dc-b86d-d9346f5892c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"url":"https://helios.cohesity.com/irisservices/api/v1/public/protectionSources/applicationServers?protectionSourcesRootNodeId={{oracleProtectionSourceId}}&protectionSourceId={{oracleProtectionSourceId}}&application=kOracle","urlObject":{"protocol":"https","path":["irisservices","api","v1","public","protectionSources","applicationServers"],"host":["helios","cohesity","com"],"query":[{"key":"protectionSourcesRootNodeId","value":"{{oracleProtectionSourceId}}"},{"key":"protectionSourceId","value":"{{oracleProtectionSourceId}}"},{"key":"application","value":"kOracle"}],"variable":[]}},"response":[],"_postman_id":"ccfcc6af-f100-45dc-b86d-d9346f5892c3"},{"name":"Select DMaas Policy","event":[{"listen":"test","script":{"exec":["tests[\"Select DMaas policy, Status code is 200\"] = responseCode.code === 200;\r","var jsonData = JSON.parse(responseBody);\r","var policies = jsonData.policies\r","for (index = 0; index < policies.length; index++) {\r","    var policy = policies[index]\r","    if (policy.name === \"Silver\") {\r","        postman.setEnvironmentVariable(\"dmaasPolicyId\",policy.id)\r","        break\r","    }\r","}"],"type":"text/javascript","id":"1578b36b-7dbe-4f3d-a1dd-3d428ed596e3"}}],"id":"c7130e75-c057-45a5-ba30-774a05e6e1fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"url":"https://helios.cohesity.com/v2/mcm/data-protect/policies?types=DMaaSPolicy","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","policies"],"host":["helios","cohesity","com"],"query":[{"key":"types","value":"DMaaSPolicy"}],"variable":[]}},"response":[],"_postman_id":"c7130e75-c057-45a5-ba30-774a05e6e1fc"},{"name":"Protect Oracle Object","event":[{"listen":"test","script":{"exec":["tests[\"Protect Oracle Object, Status code is 207\"] = responseCode.code === 207;"],"type":"text/javascript","id":"c27a378f-2493-4e86-9fa7-48f219873ad5"}}],"id":"0aa8b82b-7c6a-47a5-b7ab-1220ea690b68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"policyId\": \"{{dmaasPolicyId}}\",\r\n    \"startTime\": {\r\n        \"hour\": 19,\r\n        \"minute\": 39,\r\n        \"timeZone\": \"Asia/Kolkata\"\r\n    },\r\n    \"priority\": \"kMedium\",\r\n    \"sla\": [\r\n        {\r\n            \"backupRunType\": \"kFull\",\r\n            \"slaMinutes\": 1440\r\n        },\r\n        {\r\n            \"backupRunType\": \"kIncremental\",\r\n            \"slaMinutes\": 1440\r\n        }\r\n    ],\r\n    \"qosPolicy\": \"kBackupSSD\",\r\n    \"abortInBlackouts\": false,\r\n    \"objects\": [\r\n        {\r\n            \"environment\": \"kOracle\",\r\n            \"oracleParams\": {\r\n                \"objects\": [\r\n                    {\r\n                        \"objectId\": {{oracleObjectId}},\r\n                        \"dbParams\": [\r\n                            {\r\n                                \"dbChannels\": [\r\n                                    {\r\n                                        \"databaseUuid\": \"{{oracleObjectUuid}}\",\r\n                                        \"rmanBackupType\": \"kSbt\"\r\n                                    }\r\n                                ]\r\n                            }\r\n                        ]\r\n                    }\r\n                ]\r\n            }\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/data-protect/protected-objects","urlObject":{"protocol":"https","path":["v2","data-protect","protected-objects"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0aa8b82b-7c6a-47a5-b7ab-1220ea690b68"},{"name":"Get Latest Snapshot Detail","event":[{"listen":"test","script":{"exec":["tests[\"Get the Protection Status, Status code is 201\"] = responseCode.code === 201;\r","var jsonData = JSON.parse(responseBody);\r","var snapshots = jsonData.snapshots\r","postman.setEnvironmentVariable(\"snapshotId\", snapshots[0].id);"],"type":"text/javascript","id":"2d7b3878-8d36-48b2-8f8f-a5a6d8842ba8"}}],"id":"1c0fde2c-c737-4003-99e7-062babe3a24d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"url":"https://helios.cohesity.com/v2/data-protect/objects/{{oracleObjectId}}/snapshots","urlObject":{"protocol":"https","path":["v2","data-protect","objects","{{oracleObjectId}}","snapshots"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1c0fde2c-c737-4003-99e7-062babe3a24d"},{"name":"Recover Oracle Object","event":[{"listen":"test","script":{"exec":["tests[\"Recover Oracle object, Status code is 201\"] = responseCode.code === 201;\r","var jsonData = JSON.parse(responseBody);\r","var recoveryInitiated = false\r","if (jsonData.status === \"Accepted\") {\r","    recoveryInitiated = true\r","}\r","tests[\"Recovery Initiated\"] = recoveryInitiated == true;"],"type":"text/javascript","id":"0f8dfc63-e9b9-4332-90ac-eacdf82bb7bf"}},{"listen":"prerequest","script":{"exec":["var recoverTaskName = \"RecoverOracleObject-\" + (new Date()).getTime()\r","pm.environment.set(\"recoverTaskName\", recoverTaskName);"],"type":"text/javascript","id":"a07ef262-88e8-4609-ba33-fc3257f0bc3b"}}],"id":"36c4b4ed-6410-4a9b-a371-bd81565369d1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"{{recoverTaskName}}\",\r\n    \"snapshotEnvironment\": \"kOracle\",\r\n    \"oracleParams\": {\r\n        \"objects\": [\r\n            {\r\n                \"snapshotId\": \"{{snapshotId}}\"\r\n            }\r\n        ],\r\n        \"recoveryAction\": \"RecoverApps\",\r\n        \"recoverAppParams\": {\r\n            \"targetEnvironment\": \"kOracle\",\r\n            \"oracleTargetParams\": {\r\n                \"recoverToNewSource\": false,\r\n                \"originalSourceConfig\": {\r\n                    \"attemptCompleteRecovery\": false\r\n                }\r\n            }\r\n        }\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/data-protect/recoveries","urlObject":{"protocol":"https","path":["v2","data-protect","recoveries"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"36c4b4ed-6410-4a9b-a371-bd81565369d1"},{"name":"Unprotect Oracle Object","event":[{"listen":"test","script":{"exec":["tests[\"Unprotect Oracle object, Status code is 207\"] = responseCode.code === 207;"],"type":"text/javascript","id":"1d4144b7-d1b9-4368-b853-020d0cf2daa8"}}],"id":"1403ecbe-1b64-4698-83fa-e780f17953f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"},{"key":"regionId","value":"{{regionId}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"action\": \"UnProtect\",\r\n    \"unProtectParams\": {\r\n        \"objects\": [\r\n            {\r\n                \"id\": {{oracleObjectId}},\r\n                \"deleteAllSnapshots\": false,\r\n                \"forceUnprotect\": true\r\n            }\r\n        ]\r\n    },\r\n    \"snapshotBackendTypes\": [\r\n        \"kOracle\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/data-protect/protected-objects/actions","urlObject":{"protocol":"https","path":["v2","data-protect","protected-objects","actions"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"1403ecbe-1b64-4698-83fa-e780f17953f0"},{"name":"Unregister Oracle Source","event":[{"listen":"test","script":{"exec":["tests[\"Unregister Oracle Source, Status code is 204\"] = responseCode.code === 204;"],"type":"text/javascript","id":"3bf9edaf-3e64-4e9f-b099-ad48d8da3c1d"}}],"id":"57867215-c302-4625-85c1-b6badc50d564","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/mcm/data-protect/sources/registrations/{{registrationId}}","urlObject":{"protocol":"https","path":["v2","mcm","data-protect","sources","registrations","{{registrationId}}"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"57867215-c302-4625-85c1-b6badc50d564"}],"id":"fe5ae4ef-0f60-49e3-8899-8d1b318768c3","description":"<p>Operations on Oracle resources with Helios,</p>\n<ol>\n<li>Select a region</li>\n<li>Now you have the region info, use the apiKey and the region id in the subsequent calls</li>\n<li>Register an Oracle source</li>\n<li>Select one Oracle protection source</li>\n<li>Select an Oracle object</li>\n<li>Select one of DMaas policy</li>\n<li>Now you have all necessary information to protect an Oracle object.</li>\n<li>Find the latest snapshot detail</li>\n<li>Make an attempt to recover the Oracle object</li>\n<li>Unprotect the Oracle object</li>\n<li>Unregister the Oracle source</li>\n</ol>\n","_postman_id":"fe5ae4ef-0f60-49e3-8899-8d1b318768c3"}],"id":"cd23ee61-07c5-42b7-b711-39d34112ed60","_postman_id":"cd23ee61-07c5-42b7-b711-39d34112ed60","description":""},{"name":"Data Mobility Workflows","item":[{"name":"Get Cluster Info","event":[{"listen":"test","script":{"exec":["tests[\"Get cluster details, Status code is 200\"] = responseCode.code === 200;","var jsonData = JSON.parse(responseBody);","for (index = 0; index < jsonData.upgradeInfo.length; index++) {","    var node = jsonData.upgradeInfo[index];","    postman.setEnvironmentVariable(\"siteConclusterId\", node.clusterId);","    postman.setEnvironmentVariable(\"siteConclusterIncarnationId\", node.clusterIncarnationId);","    break","}"],"type":"text/javascript","id":"0df33d17-9f07-482d-a1e6-b764826add32"}}],"id":"169c873f-334a-462d-a566-37d73801e195","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"url":"https://helios.cohesity.com/mcm/upgradeInfo?operator=Gte&softwareVersion={{clusterVersion}}","urlObject":{"protocol":"https","path":["mcm","upgradeInfo"],"host":["helios","cohesity","com"],"query":[{"key":"operator","value":"Gte"},{"key":"softwareVersion","value":"{{clusterVersion}}"}],"variable":[]}},"response":[],"_postman_id":"169c873f-334a-462d-a566-37d73801e195"},{"name":"Get Site Location","event":[{"listen":"test","script":{"exec":["tests[\"Get site locations, Status code is 200\"] = responseCode.code === 200;","var jsonData = JSON.parse(responseBody);","var request = pm.request.toJSON().url.query;","","for (index = 0; index < jsonData.cities.length; index++) {","    var node = jsonData.cities[index];","    if (JSON.stringify(node.city).toLowerCase() === JSON.stringify(request[0].value).toLowerCase()) {","        postman.setEnvironmentVariable(\"SCLocationCity\", node.city);","        postman.setEnvironmentVariable(\"SCLocationLat\", node.lat);","        postman.setEnvironmentVariable(\"SCLocationLon\", node.lon);","        postman.setEnvironmentVariable(\"SCLocationCountry\", node.country);","        postman.setEnvironmentVariable(\"SCLocationState\", node.state);","        postman.setEnvironmentVariable(\"SCLocationIso2\", node.iso2);  ","        break","    }","}"],"type":"text/javascript","id":"08892ca6-f9a0-4f06-9b52-992b46cb5f79"}}],"id":"646e0d7b-8c2d-497f-ba8d-f8ef110933eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://helios.cohesity.com/mcm/places?search=pune&limit=50","urlObject":{"protocol":"https","path":["mcm","places"],"host":["helios","cohesity","com"],"query":[{"key":"search","value":"pune"},{"key":"limit","value":"50"}],"variable":[]}},"response":[],"_postman_id":"646e0d7b-8c2d-497f-ba8d-f8ef110933eb"},{"name":"Create Site","id":"762b911c-bad9-468a-a4e9-616fe07ee15e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"DRSiteName\",\n    \"type\": \"OnPrem\",\n    \"location\": {\n        \"city\": \"{{siteConCity}}\",\n        \"country\": \"{{siteConCountry}}\",\n        \"iso\": \"{{siteConIso2}}\",\n        \"latitude\": {{siteConLat}},\n        \"longitude\": {{siteConLon}},\n        \"state\": \"{{siteConState}}\" \n    },\n    \"onPremParams\": {\n        \"clusterId\": {{siteConClusterId}},\n        \"incarnationId\": {{siteConClusterIncarnationId}}\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/mcm/site-continuity/v2/sites","urlObject":{"protocol":"https","path":["v2","mcm","site-continuity","v2","sites"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"762b911c-bad9-468a-a4e9-616fe07ee15e"},{"name":"Get Sites","event":[{"listen":"test","script":{"exec":["tests[\"Get Sites, Status code is 200\"] = responseCode.code === 200;","var jsonData = JSON.parse(responseBody);","for (index = 0; index < jsonData.sites.length; index++) {","    var node = jsonData.sites[index];","    postman.setEnvironmentVariable(\"siteConSiteId\", node.id);","    break","}"],"type":"text/javascript","id":"2fe16e0f-7d84-443b-ac25-6270aba127a9"}}],"id":"49d1ad65-d1fe-45ff-b1b1-f81a5c36c271","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"url":"https://helios.cohesity.com/v2/mcm/site-continuity/v2/sites","urlObject":{"protocol":"https","path":["v2","mcm","site-continuity","v2","sites"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"49d1ad65-d1fe-45ff-b1b1-f81a5c36c271"},{"name":"Create Application","id":"f2d7f508-e813-4715-91d3-16010e79d6cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"baf832e6-51c1-4ea1-7825-47379989d7aa","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"DRTestApp\",\n    \"siteId\": {{siteConSiteId}},\n    \"spec\": {\n        \"source\": {\n            \"environment\": \"vmware\",\n            \"vmwareParams\": {\n                \"sourceType\": \"vCenter\",\n                \"vCenterParams\": {\n                    \"objectId\": {{vCenterEntityId}}\n                }\n            }\n        },\n        \"components\": [\n            {\n                \"type\": \"objects\",\n                \"objectParams\": [\n                    {\n                        \"id\": {{vmEntityId}},\n                        \"type\": \"virtualMachine\",\n                        \"virtualMachineParams\": {\n                            \"protectionGroupId\": {{protectionGroupId}}\n                        }\n                    }\n                ]\n            }\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/mcm/site-continuity/v2/applications","urlObject":{"protocol":"https","path":["v2","mcm","site-continuity","v2","applications"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f2d7f508-e813-4715-91d3-16010e79d6cd"},{"name":"Get Applications","event":[{"listen":"test","script":{"exec":["tests[\"Get Applications, Status code is 200\"] = responseCode.code === 200;","var jsonData = JSON.parse(responseBody);","for (index = 0; index < jsonData.applications.length; index++) {","    var node = jsonData.applications[index];","    postman.setEnvironmentVariable(\"siteConApplicationId\", node.id);","    break","}   "],"type":"text/javascript","id":"9e8c871b-5666-46b3-9df3-8eac03a2bfd4"}}],"id":"adb726e0-b742-4129-9546-077fa598fe4e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/mcm/site-continuity/v2/applications?includeSummary=true","urlObject":{"protocol":"https","path":["v2","mcm","site-continuity","v2","applications"],"host":["helios","cohesity","com"],"query":[{"key":"includeSummary","value":"true"}],"variable":[]}},"response":[],"_postman_id":"adb726e0-b742-4129-9546-077fa598fe4e"},{"name":"Create DR Plan","id":"fa58f593-4437-4f7a-b29b-3d67f7ae34a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"TestDRPlan\",\n    \"description\": \"Test DR plan from source site to DR site\",\n    \"primarySite\": {\n        \"siteId\": {{siteConPrimarySiteId}},\n        \"source\": {\n            \"environment\": \"vmware\",\n            \"vmwareParams\": {\n                \"sourceType\": \"vCenter\",\n                \"vCenterParams\": {\n                    \"objectId\": {{vCenterEntityId}},\n                    \"resourceProfiles\": []\n                }\n            }\n        }\n    },\n    \"drSite\": {\n        \"siteId\": {{siteConDRSiteId}},\n        \"source\": {\n            \"environment\": \"vmware\",\n            \"vmwareParams\": {\n                \"sourceType\": \"vCenter\",\n                \"vCenterParams\": {\n                    \"objectId\": {{vCenterEntityId}},\n                    \"resourceProfiles\": []\n                }\n            }\n        }\n    },\n    \"rpo\": {\n        \"unit\": \"Hours\",\n        \"frequency\": 12\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/mcm/site-continuity/v2/dr-plans","urlObject":{"protocol":"https","path":["v2","mcm","site-continuity","v2","dr-plans"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"fa58f593-4437-4f7a-b29b-3d67f7ae34a6"},{"name":"Get DR Plans","event":[{"listen":"test","script":{"exec":["tests[\"Get DR plans, Status code is 200\"] = responseCode.code === 200;","var jsonData = JSON.parse(responseBody);","for (index = 0; index < jsonData.drPlans.length; index++) {","    var node = jsonData.drPlans[index];","    postman.setEnvironmentVariable(\"siteConDRId\", node.id);","    break","}"],"type":"text/javascript","id":"1cefe725-69bf-4829-b231-24aa2dab4a44"}}],"id":"0ecd9250-4a50-4700-91d9-118733a44658","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"url":"https://my-docker-ip.cohesitycloud.co/v2/mcm/site-continuity/v2/dr-plans?includeSummary=true","urlObject":{"protocol":"https","path":["v2","mcm","site-continuity","v2","dr-plans"],"host":["my-docker-ip","cohesitycloud","co"],"query":[{"key":"includeSummary","value":"true"}],"variable":[]}},"response":[],"_postman_id":"0ecd9250-4a50-4700-91d9-118733a44658"},{"name":"Activate DR plan","id":"6f4485a0-6207-4d1b-80dd-d48d02acce36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\"action\":\"Activate\"}"},"url":"https://helios.cohesity.com/v2/mcm/site-continuity/v2/dr-plans/{{siteConDRId}}/actions","urlObject":{"protocol":"https","path":["v2","mcm","site-continuity","v2","dr-plans","{{siteConDRId}}","actions"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f4485a0-6207-4d1b-80dd-d48d02acce36"},{"name":"Failover","id":"80a2f7fc-76b5-4150-b817-84d06472b199","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"action\": \"Failover\",\n    \"failoverParams\": {\n        \"objectSnapshotOverrides\": [\n            {\n                \"objectId\": 115,\n                \"snapshotId\": \"eyJhX2NsdXN0ZXJJZCI6ODM3MDA4NzUyNDUzODYxNywiYl9jbHVzdGVySW5jYXJuYXRpb25JZCI6MTY5NjQxNzE5MzU4MywiY19qb2JJZCI6NzI1LCJkX3NvdXJjZUpvYklkIjo4MDAzLCJlX2pvYkluc3RhbmNlSWQiOjEwODYzLCJmX3J1blN0YXJ0VGltZVVzZWNzIjoxNjk3NDExNDA1NDkzNTg3LCJnX29iamVjdElkIjoxODB9\"\n            }\n        ],\n        \"environment\": \"vmware\",\n        \"vmwareParams\": {\n            \"shutdownVms\": false,\n            \"protectVms\": true,\n            \"resourceProfileName\": \"TestRP\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/mcm/site-continuity/v2/dr-plans/{{siteConDRId}}/actions","urlObject":{"protocol":"https","path":["v2","mcm","site-continuity","v2","dr-plans","{{siteConDRId}}","actions"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"80a2f7fc-76b5-4150-b817-84d06472b199"},{"name":"Prepare for failback","id":"85db7e3f-595e-48ff-9f25-1ba51dce3094","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"action\": \"PrepareForFailback\"\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/mcm/site-continuity/v2/dr-plans/{{siteConDRId}}/actions","urlObject":{"protocol":"https","path":["v2","mcm","site-continuity","v2","dr-plans","{{siteConDRId}}","actions"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"85db7e3f-595e-48ff-9f25-1ba51dce3094"},{"name":"Test Failback","id":"6547ed76-3959-4a05-a62d-70f1da95504a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"action\": \"TestFailback\",\n    \"testFailbackParams\": {\n        \"objectSnapshotOverrides\": [\n            {\n                \"objectId\": 746,\n                \"snapshotId\": \"eyJhX2NsdXN0ZXJJZCI6NzU1MDc1MDI4NjQwOTA4NywiYl9jbHVzdGVySW5jYXJuYXRpb25JZCI6MTY5MjY5NDcxMTY3NCwiY19qb2JJZCI6MTExMjAsImRfc291cmNlSm9iSWQiOjE3NTAsImVfam9iSW5zdGFuY2VJZCI6MTc1NCwiZl9ydW5TdGFydFRpbWVVc2VjcyI6MTY5NzQ2MTQ2MTA0MjAwNSwiZ19vYmplY3RJZCI6ODE5fQ==\"\n            }\n        ],\n        \"environment\": \"vmware\",\n        \"vmwareParams\": {\n            \"performStorageVmotion\": false,\n            \"resourceProfileName\": \"failback RP\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/mcm/site-continuity/v2/dr-plans/{{siteConDRId}}/actions","urlObject":{"protocol":"https","path":["v2","mcm","site-continuity","v2","dr-plans","{{siteConDRId}}","actions"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6547ed76-3959-4a05-a62d-70f1da95504a"},{"name":"Failback","id":"ac3b5882-151d-49aa-87e5-63e08c22fa46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"apiKey","value":"{{drId}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"action\": \"Failback\",\n    \"failbackParams\": {\n        \"objectSnapshotOverrides\": [\n            {\n                \"objectId\": 746,\n                \"snapshotId\": \"eyJhX2NsdXN0ZXJJZCI6NzU1MDc1MDI4NjQwOTA4NywiYl9jbHVzdGVySW5jYXJuYXRpb25JZCI6MTY5MjY5NDcxMTY3NCwiY19qb2JJZCI6MTExMjAsImRfc291cmNlSm9iSWQiOjE3NTAsImVfam9iSW5zdGFuY2VJZCI6MTc1NCwiZl9ydW5TdGFydFRpbWVVc2VjcyI6MTY5NzQ2MTQ2MTA0MjAwNSwiZ19vYmplY3RJZCI6ODE5fQ==\"\n            }\n        ],\n        \"environment\": \"vmware\",\n        \"vmwareParams\": {\n            \"shutdownVms\": false,\n            \"protectVms\": true,\n            \"resourceProfileName\": \"failback RP\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://helios.cohesity.com/v2/mcm/site-continuity/v2/dr-plans/{{siteConDRId}}/actions","urlObject":{"protocol":"https","path":["v2","mcm","site-continuity","v2","dr-plans","{{siteConDRId}}","actions"],"host":["helios","cohesity","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ac3b5882-151d-49aa-87e5-63e08c22fa46"}],"id":"2886cded-ffa1-4a55-ae9e-35fc89930876","_postman_id":"2886cded-ffa1-4a55-ae9e-35fc89930876","description":""}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"bebfdbbd-ceda-46fa-85e5-af052cede74f"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"cacdd542-0182-4c63-bf28-4924def14e58"}}],"variable":[{"key":"VMwareSourceRegistrationId","value":""},{"key":"VMwareSourceRegistrationShortId","value":""},{"key":"policyId","value":""},{"key":"snapshotID","value":""},{"key":"o365RegistrationId","value":""},{"key":"objectId","value":""}]}