{"info":{"_postman_id":"5c4c14a4-0ff1-4731-b14f-999aede52bdd","name":"*.direct.api.revirt365.com","description":"<html><head></head><body><h5 id=\"1-purpose\">1. Purpose</h5>\n<p>This document specifies how to use the API service for ACB365 Direct.</p>\n<p>Direct is a \"headless\" API-first offering of the ReVirt 365 product, focused on making Exchange365 backup as simple as possible.</p>\n<h5 id=\"2-getting-started\">2. Getting started</h5>\n<p>To use the API service, you need to obtain an app key and app secret directly from any.cloud via e-mail - reach out to us on <a href=\"https://mailto:support@anycloud.dk\">support@anycloud.dk</a>. You need the key to exchange it for a Bearer Token, which in turn is used to authorize all API calls.</p>\n<h5 id=\"3-using-postman\">3. Using Postman</h5>\n<p>This documentation document is written using Postman. If you aren't already familiar with Postman, we recommend getting familiar, as it offers a rich API exploration experience.</p>\n<p>We will quickly run you through a few key features:</p>\n<p>* In the \"documenter\" view for reading documentation, which you are most likely reading right now, you can select which programming-language you prefer for the examples with the menu above:</p>\n<img src=\"https://cdn.revirt365.com/anycloud/img/postman/languages.png\">\n\n<p>* once you have api key and feel ready to interactively explore the API, you can import the documentation as a Postman Collection using the button in the upper right corner:</p>\n<img src=\"https://cdn.revirt365.com/anycloud/img/postman/run.png\">\n\n<p>To get started quickly, we recommend running postman from the browser. Once you have postman open with this api documentation imported as a collection, you will need insert your api key into the collection variables like this:</p>\n<img src=\"https://cdn.revirt365.com/anycloud/img/postman/insertapikey.png\">\n\n<p>Note that there are two systems available. The demo system, where you can test out calls, and the live system, which is the real production environment. If you want to interact with the demo system, you will have to set ProtocolHostAndPort to target the demo environment, as the image above also shows.</p>\n<p>You are now ready to run the API documentation interactively.</p>\n<h5 id=\"4-a-word-about-null\">4. A word about null</h5>\n<p>Any property that is optional can either be left out completely or set to the null-value, if that's easier - it may be in static-typing languages. The API will interpret a missing property and a nulled property the same way.</p>\n<h5 id=\"5-rpc-integration-style\">5. RPC integration-style</h5>\n<p>The API is set up in an RPC task-oriented fashion, rather than the usual CRUD fashion.<br>We want to focus on providing endpoints that do exactly what is needed when it is needed instead of simply letting you manage your data records on our services. (the CRUD way)</p>\n<p><strong>5.1 Duplicate endpoints</strong><br>This means that some endpoints will seem to do the same thing, and indeed even actually DO the same thing here and now. But that might change as the system changes.<br>Having separate endpoints for doing the same thing in two different contexts allows us to change the underlying action with minimal effect on your systems if such changes are required.</p>\n<p>E.g., if /manage/azure/CreateAzureAppRegistrationCertificate_v1 were to be deprecated in favor of _v2 with a different HTTP body, for reasons that only have to do with changing the certificate (not updating it), it wouldn’t affect the part of your system which instead uses /api/direct_v1/onboard/CreateAzureAppRegistrationCertificate_v1 for updating existing tenants' certificates.</p>\n<h5 id=\"6-continuation-pagination-token\"><strong>6. Continuation Pagination token</strong></h5>\n<p>Some endpoints will have a continuation pagination token field called \"getNextPageToken\" for cursor-based pagination. In the request body, the first page can be fetched by providing an empty string, and subsequent pages can be fetched by providing the returned \"getNextPageToken\" value. The last page will provide a null \"getNextPageToken\" to make sure that erronious queries with this value won't lead to an infinite loop (as it would if null was used to get the first page, or if empty string was returned on the last page)</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"7656257","collectionId":"5c4c14a4-0ff1-4731-b14f-999aede52bdd","publishedId":"VUxLy9mB","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2023-11-20T07:47:28.000Z"},"item":[{"name":"Authenticate","item":[{"name":"Get Bearer Token from Api Key","event":[{"listen":"test","script":{"id":"13fe5d9a-8cb2-4a70-9318-7c60272039f4","exec":["pm.collectionVariables.set(\"bearerToken\", JSON.parse(pm.response.text()).data.bearerToken);"],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"1bf570ed-473b-4896-b034-3e3486ee4927","exec":[""],"type":"text/javascript","packages":{}}}],"id":"89d14a79-93c7-4367-a809-a98c2953ef9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"YOUR_API_KEY_NAME"},{"key":"password","value":"YOUR_API_KEY_SECRET"}]},"isInherited":false},"method":"POST","header":[],"url":"https://demo.iam.anycloud.dk/api_v1/bearer_token_v1/create_from_basic_authentication_v1","description":"<p>To generate the Authorization header, put the key name together with the key secret with a colon in the middle, like so:<br />keyName:keySecret</p>\n<p>Convert that to base64 and prepend it with \"Basic \" to get the header value, like so:<br />Basic e3tBcGlLZXlOYW1lfX06e3tBcGlLZXlTZWNyZXR9fQ==</p>\n<p>The bearer token lasts for 2 hours, after which you must reautheticate.</p>\n","urlObject":{"path":["api_v1","bearer_token_v1","create_from_basic_authentication_v1"],"host":["https://demo.iam.anycloud.dk"],"query":[],"variable":[]}},"response":[{"id":"cc9a74d6-5fae-4e19-8930-be584d9716b3","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic dXNlcm5hbWU6cGFzc3dvcmQ="}],"url":"https://demo.direct.api.revirt365.com/api_v1/bearer_token_v1/create_from_basic_authentication_v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 30 Aug 2022 14:42:14 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"bearerToken\": \"164f98d5-f3af-4fba-9ae6-a8f985eeb6bc:aGVyZWlzeW91cmJlYXJlcnRva2Vu\",\n        \"bearerTokenId\": \"164f98d5-f3af-4fba-9ae6-a8f985eeb6bc\"\n    }\n}"}],"_postman_id":"89d14a79-93c7-4367-a809-a98c2953ef9f"},{"name":"Delete Bearer Token","id":"090a7004-1d99-4809-8694-f1f1dc3fc834","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"url":"https://demo.iam.anycloud.dk/api_v1/bearer_token_v1/delete_v1","description":"<p>When you're done with a bearer token, it is recommended that you delete it, so no further action can be taken on behalf of that session.</p>\n<p>Note that this API endpoint will respond with 200 OK no matter if the token was found (and deleted) or not.</p>\n","urlObject":{"path":["api_v1","bearer_token_v1","delete_v1"],"host":["https://demo.iam.anycloud.dk"],"query":[],"variable":[]}},"response":[{"id":"17beebd7-4616-4952-8525-92adda61a4a8","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"url":"https://demo.direct.api.revirt365.com/api_v1/bearer_token_v1/delete_v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Tue, 13 Sep 2022 08:36:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": null\n}"}],"_postman_id":"090a7004-1d99-4809-8694-f1f1dc3fc834"}],"id":"c288db86-ead6-4723-93aa-d333cefc1abe","_postman_id":"c288db86-ead6-4723-93aa-d333cefc1abe","description":""},{"name":"Onboard","item":[{"name":"Create Certificate","id":"f8bb356b-a9c2-4be9-94ad-d7a5881d9853","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"url":"https://demo.direct.api.revirt365.com/api/direct_v1/onboard/CreateAzureAppRegistrationCertificate_v1","description":"<p>Before uploading the certificate to Azure, you may have to replace \\n with actual new lines.</p>\n<p>The entire content of publicCertificatePem is the certificate, including the dashes.</p>\n<p>This endpoint currently does the same as /api/direct_v1/manage/azure/CreateAzureAppRegistrationCertificate_v1\nWhy? See intro documentation, 5.1 Duplicate endpoints</p>\n","urlObject":{"path":["api","direct_v1","onboard","CreateAzureAppRegistrationCertificate_v1"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[{"id":"8f7ddfdc-f71e-4519-acc7-72d16389ea49","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"url":"https://demo.direct.api.revirt365.com/api/direct_v1/onboard/CreateAzureAppRegistrationCertificate_v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 30 Aug 2022 14:56:31 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"directCertificateId\": \"d017a4a1-76e7-47c5-98cb-07aea85f8e2f\",\n        \"publicCertificatePem\": \"-----BEGIN CERTIFICATE-----\\nMIIExDCCAqygAwIBAgIIcZsz+Wc9hy8wDQYJKoZIhvcNAQELBQAwIjEgMB4GA1UE\\nAxMXcmV2aXJ0MzY1L089cmV2aXJ0L0M9REswHhcNMjIwODI5MTQ1NjMxWhcNMjcw\\nODI5MTQ1NjMxWjAiMSAwHgYDVQQDExdyZXZpcnQzNjUvTz1yZXZpcnQvQz1ESzCC\\nAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAPL6ZSZZoAEnpaspPf8FcsOx\\nwHg5kC3DTAWZvLPTeXjWJhSPI9ND+PDGZF8PGzn6Ob1Hflb6Qdd14KrUlIbIwp6C\\nhw34JakbYroiw9GWPmI+lQ0Y9Tc6cIwUTkbGQTmPjrv5Z4WN8zWVshrfbAxe2pmV\\nOk6UJFtUQ15JSBxlxLXXUs5DsrAj8SIeVZzzSjLFG9/p0ffah3AGxBjN7Hcir3bD\\nZiq+LTonY1wSsYbzhKwAQxaF8Eoh9ftcEmnZIku9r5O/7pRtfEWCiYZRB28Aoe5f\\nva8jWVD3KfDsZQ3mXxa7INU3V3t6mO7b1bcyEn8WA0i6xfUE6myBgTbet2pGtI+E\\nRpDmkqVzrWf83IqL7CC5AR2rGUuIfe7Jp09fBoJvIF5OWrRod2fMF1Zr+mfmiTw9\\nCH3G1pr75xRJ504FZ/z2K84vY71ApaW9WgxawI8bJODDr5LG0RwguDnu3tMl7uCK\\nXAApDAReDgBo9wSTMZ32BLCyfGa7oV6weZPiveKEm4dHq85+6+a1Og9h6Mp/6p22\\nFSQV0EMkXtyswl4r0t3CsbE2WMVTDJ/6CJf8PzFQkocA3zl2kyxajmsAxsEciN/W\\npTBNRjLrO5AF9/7FRYHlTE4PKPRFNuS8F4tqRSkoWhcji/IlqEJCuyI1L7a7nbkW\\nVdlnKOGxRzXvmf+DTeVNAgMBAAEwDQYJKoZIhvcNAQELBQADggIBAHlF18zQmRdj\\nUt9lItHZkGBZwZ6580ucxaVHwvrXeSU+5cZIFN6bSBcTdKvHVIx8oiUMM9tCy6di\\nOQqsh+F6Ejev85LCSxhMjf3T/NIm0JNKECikeRInfy3WOHnHNBBBI+s8QxZ5/8NA\\njhc9srwhND+7Vj2jtiQn6RZgE+rfTZNLg0+4VQkq7Wq77mawWY/Xzm1ltHYWLETY\\nqt8x5ncMvf1la9d7TAnCLVhJH20+AfLnFxfmpd9O2BvgNizXWb04hZ0YYvdjApkr\\nFL9qIO3oE+anRczFZyJlAEqXqlpbytBhXaD+GQzKUL2XDaX+EW7jbV/FCotq4Sqa\\nTzVmwdXo1qFbCgeQwoh8+wOsaugKuGeIhU9fLw3wYuZOrJmv+fV39vwUhuHuNgWh\\nY/C0pRrcJaaKHK9RJbxF/qFkjsWbtT2BQs1uA9/yu0ZiSgJXXlFdclWCFRhmmBZs\\nJ8sUgPhAJxp1dnZjZ1hdfZYD8Yf3kIqBe0sssKA7/SQcfFSVY80WyPkuFOX0iqtw\\ns0YvUjZMk5JtWQjjvQtQhmjC/PA/OG2wxApZH2d/0QIX0cqLK9i4BSxB1ng1dAiu\\nRIEzYVmiEvRF3eIBNEL76SpF0WETb5HwPkX0D3Lx+LYgYWny1WBmI9ozxHwXKNTg\\n8qAaoCfJPL6/GNp1X8I3OLukdmPKDMqb\\n-----END CERTIFICATE-----\"\n    }\n}"}],"_postman_id":"f8bb356b-a9c2-4be9-94ad-d7a5881d9853"},{"name":"Create Tenant","id":"79485d41-62ae-4238-b62b-563c5037f0e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"onMicrosoftName\": \"tenantdomaincom.onmicrosoft.com\",\r\n\t\"appRegistrationId\": \"b165bf8b-d154-40ce-a2c3-6fa0eab1996e\",\r\n\t\"impersonationUserPrincipalName\": \"a_real_user@tenantdomain.com\",\r\n\t\"directCertificateId\": \"d017a4a1-76e7-47c5-98cb-07aea85f8e2f\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/onboard/CreateTenant_v1","description":"<p>AppRegistrationId is also known as the AppRegistration's Client ID</p>\n<p>DirectCertificateId is the ID provided by previous Get certificate endpoint.</p>\n","urlObject":{"path":["api","direct_v1","onboard","CreateTenant_v1"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[{"id":"c7fdb9eb-6a51-449a-86cd-cc6bf04c25e7","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"onMicrosoftName\": \"tenantdomaincom.onmicrosoft.com\",\r\n\t\"appRegistrationId\": \"b165bf8b-d154-40ce-a2c3-6fa0eab1996e\",\r\n\t\"impersonationUserPrincipalName\": \"a_real_user@tenantdomain.com\",\r\n\t\"directCertificateId\": \"d017a4a1-76e7-47c5-98cb-07aea85f8e2f\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/onboard/CreateTenant_v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 30 Aug 2022 15:10:03 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\"\n    }\n}"}],"_postman_id":"79485d41-62ae-4238-b62b-563c5037f0e8"}],"id":"f71a232c-72e2-4e2d-a782-d347744568cb","description":"<h3 id=\"overview\">Overview</h3>\n<p>In order to fully automate backup creation, you will need to get an asymetric certificate from us, add it to an Azure \"App Registration\" as a credential and finally give that app registration the correct permissions. After that you can call the API again to finish the onboarding process.</p>\n<h3 id=\"permissions\">Permissions</h3>\n<p>The following Azure AD permissions must be added to the App Registration:</p>\n<ul>\n<li>Microsoft Graph: Directory.Read.All</li>\n<li>Microsoft Graph: Group.Read.All</li>\n<li>Office 365 Exchange Online: full_access_as_app</li>\n</ul>\n<p>All permissions are of the type \"Application\" (aka. \"Role\")</p>\n<p>All permissions must also be granted admin consent.</p>\n<p>When done correctly, the App Registration manifest file should look as follows:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    ...\n    \"requiredResourceAccess\": [\n        {\n            \"resourceAppId\": \"00000002-0000-0ff1-ce00-000000000000\",\n            \"resourceAccess\": [\n                {\n                    \"id\": \"dc890d15-9560-4a4c-9b7f-a736ec74ec40\",\n                    \"type\": \"Role\"\n                }\n            ]\n        },\n        {\n            \"resourceAppId\": \"00000003-0000-0000-c000-000000000000\",\n            \"resourceAccess\": [\n                {\n                    \"id\": \"5b567255-7703-4780-807c-7be8301ae99b\",\n                    \"type\": \"Role\"\n                },\n                {\n                    \"id\": \"7ab1d382-f21e-4acd-a863-ba3e13f7da61\",\n                    \"type\": \"Role\"\n                }\n            ]\n        }\n    ],\n    ...\n}\n\n</code></pre>\n<p>Which is equalent to the following in the API permission blade:</p>\n<img src=\"https://cdn.revirt365.com/anycloud/img/postman/apipermissionsblade.png\" />\n\n<h3 id=\"propagation\">Propagation</h3>\n<p>Be aware that it can take some time for Azure to propagate the existance of an App Registration, it's certificate credential, permissions and admin consent. For testing we recommend waiting 30 seconds before making the call to create the tenant. For production systems we recommend waiting 30 minutes as that is Microsoft's own recommendation.</p>\n<h3 id=\"about-impersonation-user\">About impersonation user</h3>\n<p>In the Create Tenant call, you will have to provide a valid \"impersonationUserPrincipalName\". The user will be used when performing manual restores via Azure \"device code\" MFA verification rather than using certifacte calls as is the norm with this API. We do not expect to use the impersonation user, but the field is unfortunately required none the less.</p>\n","_postman_id":"f71a232c-72e2-4e2d-a782-d347744568cb"},{"name":"Manage","item":[{"name":"Azure","item":[{"name":"Create Certificate","id":"43f32ad4-37db-4092-9dff-6831271c32e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"url":"https://demo.direct.api.revirt365.com/api/direct_v1/manage/azure/CreateAzureAppRegistrationCertificate_v1","description":"<p>This endpoint currently does the same as /api/direct_v1/onboard/CreateAzureAppRegistrationCertificate_v1<br />Why? See intro documentation, 5.1 Duplicate endpoints</p>\n","urlObject":{"path":["api","direct_v1","manage","azure","CreateAzureAppRegistrationCertificate_v1"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[{"id":"e923af4f-8920-4382-a28c-6e9413336165","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"url":"https://demo.direct.api.revirt365.com/api/direct_v1/manage/azure/CreateAzureAppRegistrationCertificate_v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 30 Aug 2022 14:56:31 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"directCertificateId\": \"186ce7bd-264f-43e2-b87e-cc2c32332373\",\n        \"publicCertificatePem\": \"-----BEGIN CERTIFICATE-----\\nMIIExDCCAqygAwIBAgIIcZsz+Wc9hy8wDQYJKoZIhvcNAQELBQAwIjEgMB4GA1UE\\nAxMXcmV2aXJ0MzY1L089cmV2aXJ0L0M9REswHhcNMjIwODI5MTQ1NjMxWhcNMjcw\\nODI5MTQ1NjMxWjAiMSAwHgYDVQQDExdyZXZpcnQzNjUvTz1yZXZpcnQvQz1ESzCC\\nAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAPL6ZSZZoAEnpaspPf8FcsOx\\nwHg5kC3DTAWZvLPTeXjWJhSPI9ND+PDGZF8PGzn6Ob1Hflb6Qdd14KrUlIbIwp6C\\nhw34JakbYroiw9GWPmI+lQ0Y9Tc6cIwUTkbGQTmPjrv5Z4WN8zWVshrfbAxe2pmV\\nOk6UJFtUQ15JSBxlxLXXUs5DsrAj8SIeVZzzSjLFG9/p0ffah3AGxBjN7Hcir3bD\\nZiq+LTonY1wSsYbzhKwAQxaF8Eoh9ftcEmnZIku9r5O/7pRtfEWCiYZRB28Aoe5f\\nva8jWVD3KfDsZQ3mXxa7INU3V3t6mO7b1bcyEn8WA0i6xfUE6myBgTbet2pGtI+E\\nRpDmkqVzrWf83IqL7CC5AR2rGUuIfe7Jp09fBoJvIF5OWrRod2fMF1Zr+mfmiTw9\\nCH3G1pr75xRJ504FZ/z2K84vY71ApaW9WgxawI8bJODDr5LG0RwguDnu3tMl7uCK\\nXAApDAReDgBo9wSTMZ32BLCyfGa7oV6weZPiveKEm4dHq85+6+a1Og9h6Mp/6p22\\nFSQV0EMkXtyswl4r0t3CsbE2WMVTDJ/6CJf8PzFQkocA3zl2kyxajmsAxsEciN/W\\npTBNRjLrO5AF9/7FRYHlTE4PKPRFNuS8F4tqRSkoWhcji/IlqEJCuyI1L7a7nbkW\\nVdlnKOGxRzXvmf+DTeVNAgMBAAEwDQYJKoZIhvcNAQELBQADggIBAHlF18zQmRdj\\nUt9lItHZkGBZwZ6580ucxaVHwvrXeSU+5cZIFN6bSBcTdKvHVIx8oiUMM9tCy6di\\nOQqsh+F6Ejev85LCSxhMjf3T/NIm0JNKECikeRInfy3WOHnHNBBBI+s8QxZ5/8NA\\njhc9srwhND+7Vj2jtiQn6RZgE+rfTZNLg0+4VQkq7Wq77mawWY/Xzm1ltHYWLETY\\nqt8x5ncMvf1la9d7TAnCLVhJH20+AfLnFxfmpd9O2BvgNizXWb04hZ0YYvdjApkr\\nFL9qIO3oE+anRczFZyJlAEqXqlpbytBhXaD+GQzKUL2XDaX+EW7jbV/FCotq4Sqa\\nTzVmwdXo1qFbCgeQwoh8+wOsaugKuGeIhU9fLw3wYuZOrJmv+fV39vwUhuHuNgWh\\nY/C0pRrcJaaKHK9RJbxF/qFkjsWbtT2BQs1uA9/yu0ZiSgJXXlFdclWCFRhmmBZs\\nJ8sUgPhAJxp1dnZjZ1hdfZYD8Yf3kIqBe0sssKA7/SQcfFSVY80WyPkuFOX0iqtw\\ns0YvUjZMk5JtWQjjvQtQhmjC/PA/OG2wxApZH2d/0QIX0cqLK9i4BSxB1ng1dAiu\\nRIEzYVmiEvRF3eIBNEL76SpF0WETb5HwPkX0D3Lx+LYgYWny1WBmI9ozxHwXKNTg\\n8qAaoCfJPL6/GNp1X8I3OLukdmPKDMqb\\n-----END CERTIFICATE-----\"\n    }\n}"}],"_postman_id":"43f32ad4-37db-4092-9dff-6831271c32e5"},{"name":"Change App Registration certificate","id":"6d4d4a24-e842-4d4e-b349-b6a68a3f2ef1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"appRegistrationId\": \"b165bf8b-d154-40ce-a2c3-6fa0eab1996e\",\r\n\t\"directCertificateId\": \"186ce7bd-264f-43e2-b87e-cc2c32332373\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/manage/azure/ChangeAppRegistrationCertificate_v1","description":"<p>appRegistrationId is the Application (Client) Id of the app registration in azure.</p>\n<p>directCertificateId is the id of the certificate generated in this API (e.g. with the endpoint above)</p>\n","urlObject":{"path":["api","direct_v1","manage","azure","ChangeAppRegistrationCertificate_v1"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[{"id":"f778943e-8ff1-4731-9a34-cf5938a95846","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"appRegistrationId\": \"b165bf8b-d154-40ce-a2c3-6fa0eab1996e\",\r\n\t\"directCertificateId\": \"186ce7bd-264f-43e2-b87e-cc2c32332373\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/manage/azure/ChangeAppRegistrationCertificate_v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Thu, 03 Nov 2022 13:54:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {}\n}"}],"_postman_id":"6d4d4a24-e842-4d4e-b349-b6a68a3f2ef1"}],"id":"2e114af2-4c56-4224-89ba-ceb162ce7152","_postman_id":"2e114af2-4c56-4224-89ba-ceb162ce7152","description":""},{"name":"Test if onMicrosoftName is already backed up","id":"f744b432-1969-4477-affc-0729ee2f2e97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"onMicrosoftName\": \"tenantdomaincom.onmicrosoft.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/manage/IsMicrosoftTenantAlreadyBackedUp_v1","description":"<p>Before starting the onboarding procedure, you may want to know if the onmicrosoft tenant already exists in the system. This endpoint will let you do that. It will also give you the tenantId if the tenant is yours, otherwise the field will be null.</p>\n","urlObject":{"path":["api","direct_v1","manage","IsMicrosoftTenantAlreadyBackedUp_v1"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[{"id":"8ba3c7a5-bb33-4ca0-8bda-c1aa966d9469","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"onMicrosoftName\": \"tenantdomaincom.onmicrosoft.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/manage/IsMicrosoftTenantAlreadyBackedUp_v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Tue, 13 Sep 2022 08:29:39 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"existsUnderAnyCustomer\": true,\n        \"existsUnderYourCustomer\": true,\n        \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\"\n    }\n}"}],"_postman_id":"f744b432-1969-4477-affc-0729ee2f2e97"},{"name":"[DEPRECATED] Get list of tenants v1","id":"c7724249-2292-486b-b7aa-9d3c5a8f4337","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"limit\": 25,\r\n    \"offset\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/manage/GetListOfTenants_v1","description":"<p>This endpoint is deprecated, it will be removed 2024-JULY-01. Use V2 of this endpoint instead.</p>\n","urlObject":{"path":["api","direct_v1","manage","GetListOfTenants_v1"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[{"id":"b9962c97-162c-487f-814f-3cfb220ae304","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"limit\": 25,\r\n    \"offset\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/manage/GetListOfTenants_v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Tue, 13 Sep 2022 08:25:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"tenants\": [\n            {\n                \"id\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\n                \"onMicrosoftName\": \"tenantdomaincom.onmicrosoft.com\"\n            }\n        ]\n    }\n}"}],"_postman_id":"c7724249-2292-486b-b7aa-9d3c5a8f4337"},{"name":"Get list of tenants v2","id":"9597d8a6-3cf7-437f-a3ff-9ee6e36ee82a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"pageSize\": 50,\r\n    \"getNextPageToken\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/manage/GetListOfTenants_v2","description":"<p>See the intro, section 6 for a description of cursor based pagination</p>\n<p>Max pageSize: 50</p>\n","urlObject":{"path":["api","direct_v1","manage","GetListOfTenants_v2"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[{"id":"f404f683-b2f4-4edf-93fc-42a1a89e8801","name":"Get first page","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"pageSize\": 2,\r\n    \"getNextPageToken\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/manage/GetListOfTenants_v2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 13 Feb 2024 08:17:04 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"getNextPageToken\": \"302466ab-e75e-4ab4-a057-0c7fb0a73237\",\n        \"tenants\": [\n            {\n                \"id\": \"3ce1faab-dc6d-42c7-8b41-cc27fa882e54\",\n                \"onMicrosoftName\": \"atesttenant.onmicrosoft.com\"\n            },\n            {\n                \"id\": \"b75ba560-b713-4e25-9089-1827ee15c934\",\n                \"onMicrosoftName\": \"thesecondtenant.onmicrosoft.com\"\n            }\n        ]\n    }\n}"},{"id":"0824b332-53e6-469d-8967-534debde3541","name":"Get middle page","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"pageSize\": 2,\r\n    \"getNextPageToken\": \"302466ab-e75e-4ab4-a057-0c7fb0a73237\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/manage/GetListOfTenants_v2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 13 Feb 2024 08:17:04 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"getNextPageToken\": \"f026cb00-9cdf-4324-aaf1-500b9fc0bef2\",\n        \"tenants\": [\n            {\n                \"id\": \"aeb53188-5e08-4c95-a98a-f9f3620d9fb1\",\n                \"onMicrosoftName\": \"anothertenant.onmicrosoft.com\"\n            },\n            {\n                \"id\": \"be34dc6b-03a2-47a7-a067-41e5e2dd82e9\",\n                \"onMicrosoftName\": \"fourthtenant.onmicrosoft.com\"\n            }\n        ]\n    }\n}"},{"id":"2edf60c6-642c-4593-9ad4-1379f263e416","name":"Get last page","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"pageSize\": 2,\r\n    \"getNextPageToken\": \"f026cb00-9cdf-4324-aaf1-500b9fc0bef2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/manage/GetListOfTenants_v2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 13 Feb 2024 08:17:04 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"getNextPageToken\": null,\n        \"tenants\": [\n            {\n                \"id\": \"8d005632-ca7f-452c-9087-8b55fab8a4f4\",\n                \"onMicrosoftName\": \"final.onmicrosoft.com\"\n            }\n        ]\n    }\n}"}],"_postman_id":"9597d8a6-3cf7-437f-a3ff-9ee6e36ee82a"},{"name":"[DEPRECATED] Get tenant errors v1","id":"a6eacee2-a6d9-4605-9b10-2f132b970454","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"url":"https://demo.direct.api.revirt365.com/api/direct_v1/manage/GetTenantErrors_v1","description":"<p>This endpoint is deprecated, it will be removed 2024-JULY-01. Use V2 of this endpoint instead.</p>\n","urlObject":{"path":["api","direct_v1","manage","GetTenantErrors_v1"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a6eacee2-a6d9-4605-9b10-2f132b970454"},{"name":"Get tenant errors v2","id":"d988e84a-2637-4978-8273-b1c5c5d9b58d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"pageSize\": 50,\r\n    \"getNextPageToken\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/manage/GetTenantErrors_v2","description":"<p>Get a list of issues that have occoured.</p>\n<p>Each type of error will have a unique ID at data.tenants[x].errors[y].id</p>\n<p>A strategy to handle a known unique error ID should be set up, while the apperence of a new unique ID should trigger an investigation and subsequent automation.</p>\n<p>See the intro, section 6 for a description of cursor based pagination</p>\n<p>Max pageSize: 50</p>\n","urlObject":{"path":["api","direct_v1","manage","GetTenantErrors_v2"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[{"id":"bce6b236-c04a-4333-8508-102dc8243c6a","name":"Get first page","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu"}],"body":{"mode":"raw","raw":"{\r\n    \"pageSize\": 2,\r\n    \"getNextPageToken\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/manage/GetTenantErrors_v2"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"getNextPageToken\": \"302466ab-e75e-4ab4-a057-0c7fb0a73237\",\n        \"tenants\": [\n            {\n\n                \"anycloudTenantId\": \"3ce1faab-dc6d-42c7-8b41-cc27fa882e54\",\n                \"azureTenantName\": \"atesttenant.onmicrosoft.com\",\n                \"azureTenantId\": \"8bea3237-40cb-4acf-8326-9e46ed9d97fa\",\n                \"azureAppRegistrationId\": \"de7b7521-e162-478e-be39-138876bfc263\",\n                \"errors\": [\n                    {\n                        \"id\": \"ff80866f-392a-4dc5-a4ef-fa6c9f4f7e9c\",\n                        \"errorDetectedAt\": \"2023-12-24T18:00:43.4522001+00:00\",\n                        \"message\": \"The azure app registration could not be found when attempting backup. Inner message: [Error] AADSTS700016: Application with identifier 'de7b7521-e162-478e-be39-138876bfc263' was not found in the directory 'atesttenant'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\"\n                    }\n                ]\n            },\n            {\n                \"anycloudTenantId\": \"b75ba560-b713-4e25-9089-1827ee15c934\",\n                \"azureTenantName\": \"thesecondtenant.onmicrosoft.com\",\n                \"azureTenantId\": \"3fb264b9-d499-464a-9281-62572e3c22a1\",\n                \"azureAppRegistrationId\": \"f49c57ba-2cba-4bd5-a8b8-dc450cacbfc5\",\n                \"errors\": [\n                    {\n                        \"id\": \"ff80866f-392a-4dc5-a4ef-fa6c9f4f7e9c\",\n                        \"errorDetectedAt\": \"2023-12-24T18:00:43.4522001+00:00\",\n                        \"message\": \"The azure app registration could not be found when attempting backup. Inner message: [Error] AADSTS700016: Application with identifier 'f49c57ba-2cba-4bd5-a8b8-dc450cacbfc5' was not found in the directory 'thesecondtenant'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\"\n                    }\n                ]\n            }\n        ]\n    }\n}"},{"id":"31cd63ff-c06d-404d-a313-83a9caa0671b","name":"Get middle page","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu"}],"body":{"mode":"raw","raw":"{\r\n    \"pageSize\": 2,\r\n    \"getNextPageToken\": \"302466ab-e75e-4ab4-a057-0c7fb0a73237\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/manage/GetTenantErrors_v2"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"getNextPageToken\": \"f026cb00-9cdf-4324-aaf1-500b9fc0bef2\",\n        \"tenants\": [\n            {\n\n                \"anycloudTenantId\": \"3ce1faab-dc6d-42c7-8b41-cc27fa882e54\",\n                \"azureTenantName\": \"atesttenant.onmicrosoft.com\",\n                \"azureTenantId\": \"8bea3237-40cb-4acf-8326-9e46ed9d97fa\",\n                \"azureAppRegistrationId\": \"de7b7521-e162-478e-be39-138876bfc263\",\n                \"errors\": [\n                    {\n                        \"id\": \"ff80866f-392a-4dc5-a4ef-fa6c9f4f7e9c\",\n                        \"errorDetectedAt\": \"2023-12-24T18:00:43.4522001+00:00\",\n                        \"message\": \"The azure app registration could not be found when attempting backup. Inner message: [Error] AADSTS700016: Application with identifier 'de7b7521-e162-478e-be39-138876bfc263' was not found in the directory 'atesttenant'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\"\n                    }\n                ]\n            },\n            {\n                \"anycloudTenantId\": \"b75ba560-b713-4e25-9089-1827ee15c934\",\n                \"azureTenantName\": \"thesecondtenant.onmicrosoft.com\",\n                \"azureTenantId\": \"3fb264b9-d499-464a-9281-62572e3c22a1\",\n                \"azureAppRegistrationId\": \"f49c57ba-2cba-4bd5-a8b8-dc450cacbfc5\",\n                \"errors\": [\n                    {\n                        \"id\": \"ff80866f-392a-4dc5-a4ef-fa6c9f4f7e9c\",\n                        \"errorDetectedAt\": \"2023-12-24T18:00:43.4522001+00:00\",\n                        \"message\": \"The azure app registration could not be found when attempting backup. Inner message: [Error] AADSTS700016: Application with identifier 'f49c57ba-2cba-4bd5-a8b8-dc450cacbfc5' was not found in the directory 'thesecondtenant'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\"\n                    }\n                ]\n            }\n        ]\n    }\n}"},{"id":"21717a70-c527-4a67-9a8f-3ab9c9b37bfe","name":"Get last page","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu"}],"body":{"mode":"raw","raw":"{\r\n    \"pageSize\": 50,\r\n    \"getNextPageToken\": \"f026cb00-9cdf-4324-aaf1-500b9fc0bef2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/manage/GetTenantErrors_v2"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"getNextPageToken\": null,\n        \"tenants\": [\n            {\n\n                \"anycloudTenantId\": \"3ce1faab-dc6d-42c7-8b41-cc27fa882e54\",\n                \"azureTenantName\": \"atesttenant.onmicrosoft.com\",\n                \"azureTenantId\": \"8bea3237-40cb-4acf-8326-9e46ed9d97fa\",\n                \"azureAppRegistrationId\": \"de7b7521-e162-478e-be39-138876bfc263\",\n                \"errors\": [\n                    {\n                        \"id\": \"ff80866f-392a-4dc5-a4ef-fa6c9f4f7e9c\",\n                        \"errorDetectedAt\": \"2023-12-24T18:00:43.4522001+00:00\",\n                        \"message\": \"The azure app registration could not be found when attempting backup. Inner message: [Error] AADSTS700016: Application with identifier 'de7b7521-e162-478e-be39-138876bfc263' was not found in the directory 'atesttenant'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\"\n                    }\n                ]\n            }\n        ]\n    }\n}"}],"_postman_id":"d988e84a-2637-4978-8273-b1c5c5d9b58d"},{"name":"Mark tenant for deletion","id":"6e9fcdc9-66da-40ef-9652-2f68f0ab9fd4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/manage/MarkTenantForDeletion_v1","description":"<p>A marked tenant will initially be untouched.</p>\n<p>The backup will continue for 30 days as a measure of insider threat protection (ITP), after which the backup will stop.</p>\n<p>After an additional 14 days (44 days total), the tenant and all their backup data will be completely, unrecoverably deleted.</p>\n<p>However, if the tenant never were set up correctly, and thus has no backup data to protect, they will be deleted in less than a day.</p>\n","urlObject":{"path":["api","direct_v1","manage","MarkTenantForDeletion_v1"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6e9fcdc9-66da-40ef-9652-2f68f0ab9fd4"}],"id":"00255f8c-a3b7-44d2-be37-b6372cd3cb12","_postman_id":"00255f8c-a3b7-44d2-be37-b6372cd3cb12","description":""},{"name":"Explore","item":[{"name":"[DEPRECATED] Get All Restorepoints v1","id":"596ace96-510c-4ade-9814-3d956b5a5db6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"limit\": 25,\r\n    \"offset\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetAllRestorepoints_v1","description":"<p>This endpoint is deprecated, it will be removed 2024-JULY-01. Use V2 of this endpoint instead.</p>\n","urlObject":{"path":["api","direct_v1","explore","exchange","GetAllRestorepoints_v1"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[{"id":"8373eb57-4cf0-4fba-b735-0a1bba73f5a7","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"limit\": 25,\r\n    \"offset\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetAllRestorepoints_v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Tue, 13 Sep 2022 08:20:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"restorePoints\": [\n            {\n                \"at\": \"2022-12-24T12:00:16.000000Z\",\n                \"restorePointId\": \"ea89fb34-11fa-4a3d-908c-c0737a85d22c\"\n            }\n        ]\n    }\n}"}],"_postman_id":"596ace96-510c-4ade-9814-3d956b5a5db6"},{"name":"Get All Restorepoints v2","id":"81990e4b-6fd4-4562-a0ca-c04548c879a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"pageSize\": 50,\r\n    \"getNextPageToken\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetAllRestorepoints_v2","description":"<p>See the intro, section 6 for a description of cursor based pagination</p>\n<p>max pageSize: 50</p>\n","urlObject":{"path":["api","direct_v1","explore","exchange","GetAllRestorepoints_v2"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[{"id":"d62845d5-c2c1-46c5-a535-1a3ae2714393","name":"Get first page","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"pageSize\": 2,\r\n    \"getNextPageToken\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetAllRestorepoints_v2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 13 Feb 2024 08:37:00 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"getNextPageToken\": \"dbbe6261-6a9c-42b2-b185-3095cef6b2c1\",\n        \"restorePoints\": [\n            {\n                \"at\": \"2023-04-20T12:00:00.008545Z\",\n                \"restorePointId\": \"ea89fb34-11fa-4a3d-908c-c0737a85d22c\"\n            },\n            {\n                \"at\": \"2023-04-19T12:00:00.008545Z\",\n                \"restorePointId\": \"e2a0c1d9-823c-4d40-82a0-8cd4d12a28e0\"\n            }\n        ]\n    }\n}"},{"id":"ca5a0978-cd8c-4db6-aa9b-9e5b0883b334","name":"Get middle page","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"pageSize\": 2,\r\n    \"getNextPageToken\": \"dbbe6261-6a9c-42b2-b185-3095cef6b2c1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetAllRestorepoints_v2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 13 Feb 2024 08:37:00 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"getNextPageToken\": \"302466ab-e75e-4ab4-a057-0c7fb0a73237\",\n        \"restorePoints\": [\n            {\n                \"at\": \"2023-04-18T12:00:00.008545Z\",\n                \"restorePointId\": \"994113a6-e434-486d-9b52-bf8049fd2eca\"\n            },\n            {\n                \"at\": \"2023-04-17T12:00:00.008545Z\",\n                \"restorePointId\": \"bbfdc345-0815-4f39-bf06-74deba24fc57\"\n            }\n        ]\n    }\n}"},{"id":"c6a89d1d-563d-4795-b5f4-5266962493cf","name":"Get last page","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"pageSize\": 2,\r\n    \"getNextPageToken\": \"302466ab-e75e-4ab4-a057-0c7fb0a73237\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetAllRestorepoints_v2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 13 Feb 2024 08:37:00 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"getNextPageToken\": null,\n        \"restorePoints\": [\n            {\n                \"at\": \"2023-04-16T12:00:00.008545Z\",\n                \"restorePointId\": \"20182456-20ad-4d81-a720-a7cd34381f4c\"\n            }\n        ]\n    }\n}"}],"_postman_id":"81990e4b-6fd4-4562-a0ca-c04548c879a5"},{"name":"[DEPRECATED] Get All Mailboxes for Restorepoint v1","id":"3b231583-377e-455c-baff-6cdcd1c440b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"restorePointId\": \"ea89fb34-11fa-4a3d-908c-c0737a85d22c\",\r\n    \"limit\": 25,\r\n    \"offset\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetMailboxesForRestorepoint_v1","description":"<p>This endpoint is deprecated, it will be removed 2024-JULY-01. Use V2 of this endpoint instead.</p>\n","urlObject":{"path":["api","direct_v1","explore","exchange","GetMailboxesForRestorepoint_v1"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[{"id":"08405b6b-6214-41fb-abcc-db14dd76cf0d","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"restorePointId\": \"ea89fb34-11fa-4a3d-908c-c0737a85d22c\",\r\n    \"limit\": 25,\r\n    \"offset\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetMailboxesForRestorepoint_v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Tue, 13 Sep 2022 07:58:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"mailboxes\": [\n            {\n                \"mailboxId\": \"39d5ea26-6aea-4d52-b6af-56f250fd74f9\",\n                \"emailAddress\": \"user@tenantdomain.com\"\n            }\n        ]\n    }\n}"}],"_postman_id":"3b231583-377e-455c-baff-6cdcd1c440b9"},{"name":"Get All Mailboxes for Restorepoint v2","id":"018a470d-7c03-4bf2-b2d5-4b2c596aba66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"restorePointId\": \"ea89fb34-11fa-4a3d-908c-c0737a85d22c\",\r\n    \"pageSize\": 50,\r\n    \"getNextPageToken\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetMailboxesForRestorepoint_v2","description":"<p>See the intro, section 6 for a description of cursor based pagination</p>\n<p>max pageSize: 50</p>\n","urlObject":{"path":["api","direct_v1","explore","exchange","GetMailboxesForRestorepoint_v2"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[{"id":"acd6bee1-3174-4230-904c-fa169dd9ad18","name":"Get first page","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"restorePointId\": \"ea89fb34-11fa-4a3d-908c-c0737a85d22c\",\r\n    \"pageSize\": 2,\r\n    \"getNextPageToken\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetMailboxesForRestorepoint_v2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 13 Feb 2024 08:46:38 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"getNextPageToken\": \"15e0ae72-1b3c-480d-9ea5-2612707bc79b\",\n        \"mailboxes\": [\n            {\n                \"mailboxId\": \"39d5ea26-6aea-4d52-b6af-56f250fd74f9\",\n                \"emailAddress\": \"user@tenantdomain.com\"\n            },\n            {\n                \"mailboxId\": \"57456a70-5c43-4f91-8792-14143da7921d\",\n                \"emailAddress\": \"anotherUser@tenantdomain.com\"\n            }\n        ]\n    }\n}"},{"id":"071978af-4e48-4c70-b3f1-0d0515fa99ea","name":"Get middle page","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"restorePointId\": \"ea89fb34-11fa-4a3d-908c-c0737a85d22c\",\r\n    \"pageSize\": 2,\r\n    \"getNextPageToken\": \"15e0ae72-1b3c-480d-9ea5-2612707bc79b\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetMailboxesForRestorepoint_v2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 13 Feb 2024 08:46:38 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"getNextPageToken\": \"3497a410-edca-4232-9d7d-bcb77325df6c\",\n        \"mailboxes\": [\n            {\n                \"mailboxId\": \"93483049-c6de-46f2-aaa3-87a7c9778186\",\n                \"emailAddress\": \"thirdUser@tenantdomain.com\"\n            },\n            {\n                \"mailboxId\": \"b8f103a5-cef2-4830-85b7-bcbef644d615\",\n                \"emailAddress\": \"fourthUser@tenantdomain.com\"\n            }\n        ]\n    }\n}"},{"id":"f0487411-22d2-4726-966a-16b0312c37a5","name":"Get last page","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"restorePointId\": \"ea89fb34-11fa-4a3d-908c-c0737a85d22c\",\r\n    \"pageSize\": 2,\r\n    \"getNextPageToken\": \"3497a410-edca-4232-9d7d-bcb77325df6c\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetMailboxesForRestorepoint_v2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 13 Feb 2024 08:46:38 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"getNextPageToken\": null,\n        \"mailboxes\": [\n            {\n                \"mailboxId\": \"80696969-16a2-416c-91e3-3e4868a0a92f\",\n                \"emailAddress\": \"finalUser@tenantdomain.com\"\n            }\n        ]\n    }\n}"}],"_postman_id":"018a470d-7c03-4bf2-b2d5-4b2c596aba66"},{"name":"[DEPRECATED] Get All Mailboxes v1","id":"60b42baa-9a6b-46bd-8783-82f3dc302044","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"limit\": 25,\r\n    \"offset\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetAllMailboxes_v1","description":"<p>This endpoint is deprecated, it will be removed 2024-JULY-01. Use V2 of this endpoint instead.</p>\n","urlObject":{"path":["api","direct_v1","explore","exchange","GetAllMailboxes_v1"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[{"id":"39bc6961-c699-4cda-80cc-c7fd657cc082","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"limit\": 25,\r\n    \"offset\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetAllMailboxes_v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Tue, 13 Sep 2022 08:33:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"mailboxes\": [\n            {\n                \"mailboxId\": \"39d5ea26-6aea-4d52-b6af-56f250fd74f9\",\n                \"emailAddress\": \"user@tenantdomain.com\"\n            }\n        ]\n    }\n}"}],"_postman_id":"60b42baa-9a6b-46bd-8783-82f3dc302044"},{"name":"Get All Mailboxes v2","id":"40d31436-4732-43eb-9764-f5c9c80a2627","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"pageSize\": 50,\r\n    \"getNextPageToken\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetAllMailboxes_v2","description":"<p>See the intro, section 6 for a description of cursor based pagination</p>\n<p>max pageSize: 50</p>\n","urlObject":{"path":["api","direct_v1","explore","exchange","GetAllMailboxes_v2"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[{"id":"44a2f697-447b-4417-b6cc-69f45553df06","name":"Get first page","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"pageSize\": 2,\r\n    \"getNextPageToken\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetAllMailboxes_v2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 13 Feb 2024 09:11:49 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"getNextPageToken\": \"b81dbf16-03f8-4c32-83a6-3b2eb5a247a9\",\n        \"mailboxes\": [\n            {\n                \"mailboxId\": \"39d5ea26-6aea-4d52-b6af-56f250fd74f9\",\n                \"emailAddress\": \"user@tenantdomain.com\"\n            },\n            {\n                \"mailboxId\": \"57456a70-5c43-4f91-8792-14143da7921d\",\n                \"emailAddress\": \"anotherUser@tenantdomain.com\"\n            }\n        ]\n    }\n}"},{"id":"47c02947-4fc4-4f30-99d3-a76ee1f9d487","name":"Get middle page","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"pageSize\": 2,\r\n    \"getNextPageToken\": \"b81dbf16-03f8-4c32-83a6-3b2eb5a247a9\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetAllMailboxes_v2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 13 Feb 2024 09:11:49 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"getNextPageToken\": \"6e3f7204-9057-41c8-8402-b2bec0e27855\",\n        \"mailboxes\": [\n            {\n                \"mailboxId\": \"93483049-c6de-46f2-aaa3-87a7c9778186\",\n                \"emailAddress\": \"thirdUser@tenantdomain.com\"\n            },\n            {\n                \"mailboxId\": \"b8f103a5-cef2-4830-85b7-bcbef644d615\",\n                \"emailAddress\": \"fourthUser@tenantdomain.com\"\n            }\n        ]\n    }\n}"},{"id":"565fc47e-2b57-45c1-abf3-951f8dd8d64b","name":"Get last page","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"pageSize\": 2,\r\n    \"getNextPageToken\": \"6e3f7204-9057-41c8-8402-b2bec0e27855\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetAllMailboxes_v2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 13 Feb 2024 09:11:49 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"getNextPageToken\": null,\n        \"mailboxes\": [\n            {\n                \"mailboxId\": \"80696969-16a2-416c-91e3-3e4868a0a92f\",\n                \"emailAddress\": \"finalUser@tenantdomain.com\"\n            }\n        ]\n    }\n}"}],"_postman_id":"40d31436-4732-43eb-9764-f5c9c80a2627"},{"name":"[DEPRECATED] Get Restorepoints for Mailbox v1","id":"260cbb32-62d1-4fb9-a66f-2d2fed9994e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"f2f21ab0-0afc-4ac6-84d1-e8360d2123d3\",\r\n    \"mailboxId\": \"58044db5-4244-4172-9599-a388177e6df6\",\r\n    \"limit\": 25,\r\n    \"offset\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetRestorepointsForMailbox_v1","description":"<p>This endpoint is deprecated, it will be removed 2024-JULY-01. Use V2 of this endpoint instead.</p>\n","urlObject":{"path":["api","direct_v1","explore","exchange","GetRestorepointsForMailbox_v1"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[{"id":"4baa5c7b-b781-4eb6-9a5f-35ff87219b82","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"mailboxId\": \"39d5ea26-6aea-4d52-b6af-56f250fd74f9\",\r\n    \"limit\": 25,\r\n    \"offset\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetRestorepointsForMailbox_v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Tue, 13 Sep 2022 08:34:00 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"restorePoints\": [\n            {\n                \"at\": \"2022-12-24T12:00:16.000000Z\",\n                \"restorePointId\": \"ea89fb34-11fa-4a3d-908c-c0737a85d22c\"\n            }\n        ]\n    }\n}"}],"_postman_id":"260cbb32-62d1-4fb9-a66f-2d2fed9994e6"},{"name":"Get Restorepoints for Mailbox v2","id":"38d1aef6-4150-4a2d-b387-aad907d9e56b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"f2f21ab0-0afc-4ac6-84d1-e8360d2123d3\",\r\n    \"mailboxId\": \"58044db5-4244-4172-9599-a388177e6df6\",\r\n    \"pageSize\": 50,\r\n    \"getNextPageToken\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetRestorepointsForMailbox_v2","description":"<p>See the intro, section 6 for a description of cursor based pagination</p>\n<p>max pageSize: 50</p>\n","urlObject":{"path":["api","direct_v1","explore","exchange","GetRestorepointsForMailbox_v2"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[{"id":"f9115f28-c82d-4336-907f-7620ada77a0c","name":"Get first page","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"f2f21ab0-0afc-4ac6-84d1-e8360d2123d3\",\r\n    \"mailboxId\": \"58044db5-4244-4172-9599-a388177e6df6\",\r\n    \"pageSize\": 2,\r\n    \"getNextPageToken\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetRestorepointsForMailbox_v2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 13 Feb 2024 09:18:30 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"getNextPageToken\": \"0ecb912c-b267-453b-a9e7-1166fe121998\",\n        \"restorePoints\": [\n            {\n                \"at\": \"2023-04-20T12:00:00.008545Z\",\n                \"restorePointId\": \"ea89fb34-11fa-4a3d-908c-c0737a85d22c\"\n            },\n            {\n                \"at\": \"2023-04-19T12:00:00.008545Z\",\n                \"restorePointId\": \"e2a0c1d9-823c-4d40-82a0-8cd4d12a28e0\"\n            }\n        ]\n    }\n}"},{"id":"221f5220-08b1-46ca-8430-4b16a9d018b2","name":"Get middle page","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"f2f21ab0-0afc-4ac6-84d1-e8360d2123d3\",\r\n    \"mailboxId\": \"58044db5-4244-4172-9599-a388177e6df6\",\r\n    \"pageSize\": 2,\r\n    \"getNextPageToken\": \"0ecb912c-b267-453b-a9e7-1166fe121998\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetRestorepointsForMailbox_v2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 13 Feb 2024 09:18:30 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"getNextPageToken\": \"7f8ee5bb-d42d-4373-a85d-200aa45d62ca\",\n        \"restorePoints\": [\n            {\n                \"at\": \"2023-04-18T12:00:00.008545Z\",\n                \"restorePointId\": \"994113a6-e434-486d-9b52-bf8049fd2eca\"\n            },\n            {\n                \"at\": \"2023-04-17T12:00:00.008545Z\",\n                \"restorePointId\": \"bbfdc345-0815-4f39-bf06-74deba24fc57\"\n            }\n        ]\n    }\n}"},{"id":"f0673167-dce1-4848-bc26-9a4bb14f54ce","name":"Get last page","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"f2f21ab0-0afc-4ac6-84d1-e8360d2123d3\",\r\n    \"mailboxId\": \"58044db5-4244-4172-9599-a388177e6df6\",\r\n    \"pageSize\": 2,\r\n    \"getNextPageToken\": \"7f8ee5bb-d42d-4373-a85d-200aa45d62ca\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetRestorepointsForMailbox_v2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 13 Feb 2024 09:18:30 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"getNextPageToken\": null,\n        \"restorePoints\": [\n            {\n                \"at\": \"2023-04-16T12:00:00.008545Z\",\n                \"restorePointId\": \"20182456-20ad-4d81-a720-a7cd34381f4c\"\n            }\n        ]\n    }\n}"}],"_postman_id":"38d1aef6-4150-4a2d-b387-aad907d9e56b"},{"name":"Get all Folders in mailbox (at restorepoint)","id":"fdb5116a-76ca-4f75-8bec-6f5cdf151e88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"mailboxId\": \"39d5ea26-6aea-4d52-b6af-56f250fd74f9\",\r\n    \"restorePointId\": \"ea89fb34-11fa-4a3d-908c-c0737a85d22c\",\r\n    \"limit\": 25,\r\n    \"offset\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetFoldersInMailbox_v1","description":"<p>The type in the response indicates what type of items can be expected in the folder, but it does not guarantee that it will only be that type. \"none\" is mostly emails, but can contain any type.</p>\n<p>The types are:</p>\n<p>*   None\n*   Appointment\n*   Journal //Outlook journals, not email-journaling\n*   Contact\n*   StickyNote\n*   Task</p>\n","urlObject":{"path":["api","direct_v1","explore","exchange","GetFoldersInMailbox_v1"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[{"id":"0b9e3423-cf64-4715-9249-052207df1766","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"mailboxId\": \"39d5ea26-6aea-4d52-b6af-56f250fd74f9\",\r\n    \"restorePointId\": \"ea89fb34-11fa-4a3d-908c-c0737a85d22c\",\r\n    \"limit\": 25,\r\n    \"offset\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetFoldersInMailbox_v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Tue, 13 Sep 2022 07:59:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"folders\": [\n            {\n                \"id\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAvGkAAA\",\n                \"type\": \"None\",\n                \"displayName\": \"Archive\",\n                \"parentId\": null\n            },\n            {\n                \"id\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAAQ0AAA\",\n                \"type\": \"Appointment\",\n                \"displayName\": \"Calendar\",\n                \"parentId\": null\n            },\n            {\n                \"id\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAAQ4AAA\",\n                \"type\": \"Contact\",\n                \"displayName\": \"Contacts\",\n                \"parentId\": null\n            },\n            {\n                \"id\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAAQoAAA\",\n                \"type\": \"None\",\n                \"displayName\": \"Deleted Items\",\n                \"parentId\": null\n            },\n            {\n                \"id\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAAQ8AAA\",\n                \"type\": \"None\",\n                \"displayName\": \"Drafts\",\n                \"parentId\": null\n            },\n            {\n                \"id\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAAVwAAA\",\n                \"type\": \"Appointment\",\n                \"displayName\": \"Helligdage i Danmark\",\n                \"parentId\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAAQ0AAA\"\n            },\n            {\n                \"id\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAAQwAAA\",\n                \"type\": \"None\",\n                \"displayName\": \"Inbox\",\n                \"parentId\": null\n            },\n            {\n                \"id\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAARAAAA\",\n                \"type\": \"Journal\",\n                \"displayName\": \"Journal\",\n                \"parentId\": null\n            },\n            {\n                \"id\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAAREAAA\",\n                \"type\": \"StickyNote\",\n                \"displayName\": \"Notes\",\n                \"parentId\": null\n            },\n            {\n                \"id\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAAQsAAA\",\n                \"type\": \"None\",\n                \"displayName\": \"Outbox\",\n                \"parentId\": null\n            },\n            {\n                \"id\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAARgAAA\",\n                \"type\": \"None\",\n                \"displayName\": \"Permanently Deleted Items\",\n                \"parentId\": null\n            },\n            {\n                \"id\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAAQkAAA\",\n                \"type\": \"None\",\n                \"displayName\": \"Sent Items\",\n                \"parentId\": null\n            },\n            {\n                \"id\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAvJsAAA\",\n                \"type\": \"None\",\n                \"displayName\": \"Subfolder1\",\n                \"parentId\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAAQwAAA\"\n            },\n            {\n                \"id\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAvJwAAA\",\n                \"type\": \"None\",\n                \"displayName\": \"Subfolder2\",\n                \"parentId\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAvJsAAA\"\n            },\n            {\n                \"id\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAARIAAA\",\n                \"type\": \"Task\",\n                \"displayName\": \"Tasks\",\n                \"parentId\": null\n            },\n            {\n                \"id\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAN1IGC0AAA\",\n                \"type\": \"Appointment\",\n                \"displayName\": \"United Kingdom holidays\",\n                \"parentId\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAAQ0AAA\"\n            }\n        ]\n    }\n}"}],"_postman_id":"fdb5116a-76ca-4f75-8bec-6f5cdf151e88"},{"name":"Get All Items in Folder (at restorepoint)","id":"95b7d1a3-cb29-4f87-80b0-df236f6a57f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"restorePointId\": \"ea89fb34-11fa-4a3d-908c-c0737a85d22c\",\r\n    \"mailboxId\": \"39d5ea26-6aea-4d52-b6af-56f250fd74f9\",\r\n    \"folderId\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAAQwAAA\",\r\n    \"limit\": 25,\r\n    \"offset\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetItemsInFolder_v1","description":"<p>An item can be one of the following types:</p>\n<ul>\n<li>email</li>\n<li>appointment</li>\n<li>task</li>\n<li>contact</li>\n<li>stickyNote</li>\n<li>journal //Outlook journals, not email-journaling</li>\n<li>instantMessage</li>\n<li>unknown</li>\n</ul>\n<p>The corresponding property to the type will contain the data of that specific item.</p>\n<p>The layouts are as follows:</p>\n<h5 id=\"email\">email</h5>\n<ul>\n<li>subject: String</li>\n<li>from: String</li>\n<li>to: String</li>\n<li>cc: String</li>\n<li>bcc: String</li>\n<li>sentAt: Timestamp</li>\n<li>receivedAt: Timestamp</li>\n<li>reminderEnabled: Boolean</li>\n<li>subType: One of the following:<ul>\n<li>normal</li>\n<li>meetingInvitation</li>\n<li>meetingCancellation</li>\n<li>meetingResponseAccept</li>\n<li>meetingResponseTentative</li>\n<li>meetingResponseDecline</li>\n</ul>\n</li>\n</ul>\n<h5 id=\"appointment\">appointment</h5>\n<ul>\n<li>Subject: String</li>\n<li>StartAt: Timestamp</li>\n<li>EndAt: Timestamp</li>\n<li>Organizer: String</li>\n<li>Location: String</li>\n<li>RecurringEnabled: Boolean</li>\n</ul>\n<h5 id=\"task\">task</h5>\n<ul>\n<li>subject: String</li>\n<li>status: String</li>\n<li>percentageComplete: Float</li>\n<li>startAt: Timestamp</li>\n<li>dueAt: Timestamp</li>\n<li>owner: String</li>\n</ul>\n<h5 id=\"contact\">contact</h5>\n<ul>\n<li>name: String</li>\n<li>mobilePhoneNumber: String</li>\n<li>homePhoneNumber: String</li>\n<li>businessPhoneNumber: String</li>\n<li>faxNumber: String</li>\n<li>physicalAddress: String</li>\n<li>companyName: String</li>\n<li>emailAddress: String</li>\n<li>webPageAddress: String</li>\n</ul>\n<h5 id=\"stickynote\">stickyNote</h5>\n<ul>\n<li>date: Timestamp</li>\n</ul>\n<h5 id=\"journal\">journal</h5>\n<ul>\n<li>subject: String</li>\n<li>startAt: Timestamp</li>\n<li>duration: String</li>\n<li>entryType: String</li>\n<li>company: String</li>\n</ul>\n<h5 id=\"instantmessage\">instantMessage</h5>\n<ul>\n<li>from: String</li>\n<li>to: String</li>\n<li>sentAt: Timestamp</li>\n</ul>\n","urlObject":{"path":["api","direct_v1","explore","exchange","GetItemsInFolder_v1"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[{"id":"6b5c7eb4-86bc-41d6-acb9-e2362c2117bf","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"restorePointId\": \"ea89fb34-11fa-4a3d-908c-c0737a85d22c\",\r\n    \"mailboxId\": \"39d5ea26-6aea-4d52-b6af-56f250fd74f9\",\r\n    \"folderId\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAAQwAAA\",\r\n    \"limit\": 25,\r\n    \"offset\": 0\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/explore/exchange/GetItemsInFolder_v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.18.0 (Ubuntu)"},{"key":"Date","value":"Tue, 13 Sep 2022 08:35:45 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"items\": [\n            {\n                \"id\": \"LgAAAEYAAAAWAAAAAAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAAQwAAAAAAAA_vowQPCvoRI385hCPzjG6BwCGKxmkSZbvSJiR9-lepd2-AAAAAAEMAACGKxmkSZbvSJiR9-lepd2-AAFWtEPoAACGKxmkSZbvSJiR9-lepd2-AAFWlVvt\",\n                \"type\": \"email\",\n                \"email\": {\n                    \"subject\": \"You've now a member of group TestGroup\",\n                    \"from\": \"Sender Display Name\",\n                    \"to\": \"User Display Name\",\n                    \"cc\": \"\",\n                    \"bcc\": \"\",\n                    \"sentAt\": \"12/24/2022 08:17:51\",\n                    \"receivedAt\": \"12/24/2022 08:33:17\",\n                    \"reminderEnabled\": false,\n                    \"subType\": \"welcome\"\n                },\n                \"appointment\": null,\n                \"task\": null,\n                \"contact\": null,\n                \"note\": null,\n                \"journal\": null,\n                \"instantMessage\": null\n            },\n            {\n                \"id\": \"LgAAAEYAAAAWAAAAAAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAAQwAAAAAAAA_vowQPCvoRI385hCPzjG6BwCGKxmkSZbvSJiR9-lepd2-AAAAAAEMAACGKxmkSZbvSJiR9-lepd2-AAFWtEPrAACGKxmkSZbvSJiR9-lepd2-AAFWlVvv\",\n                \"type\": \"email\",\n                \"email\": {\n                    \"subject\": \"Your daily dose of internet\",\n                    \"from\": \"Sender Display Name\",\n                    \"to\": \"User Display Name\",\n                    \"cc\": \"\",\n                    \"bcc\": \"\",\n                    \"sentAt\": \"12/24/2022 16:00:21\",\n                    \"receivedAt\": \"12/24/2022 16:00:21\",\n                    \"reminderEnabled\": false,\n                    \"subType\": \"normal\"\n                },\n                \"appointment\": null,\n                \"task\": null,\n                \"contact\": null,\n                \"note\": null,\n                \"journal\": null,\n                \"instantMessage\": null\n            }\n        ]\n    }\n}"}],"_postman_id":"95b7d1a3-cb29-4f87-80b0-df236f6a57f9"}],"id":"7a527365-24cb-40b7-8de9-1bd4a64f9782","description":"<p>Before you can restore, you need to choose <em>what</em> to restore.<br />Depending on the task at hand, you can either start by getting all the timestamps at which there is a restore point, or you can start with the mailbox that you wish to restore from:</p>\n<img src=\"https://cdn.revirt365.com/anycloud/img/postman/direct_browse_flow.png\" />\n\n<p>From there you can dig further down until you have found all the items you wish to restore.</p>\n<h4 id=\"mailbox-snapshots\">Mailbox snapshots</h4>\n<p>Be aware that the mailboxes in these endpoints represent historical snapshots. This means that if you browse an old restore point or mailboxes across all restorepoints, you are likely to encounter mailboxes that no longer exist in Exchange. While the mailbox backup is still kept even after the mailbox is deleted in Exchange, it cannot be restored to its original location, the deleted mailbox.</p>\n<p>Furthermore, an Exchange license is required on the account for data to be restored since a mailbox cannot exist without the license.</p>\n","_postman_id":"7a527365-24cb-40b7-8de9-1bd4a64f9782"},{"name":"Restore","item":[{"name":"Restore Entire Mailbox","id":"a58c3e8f-b24a-4f9c-bde5-f873cc3f350c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"mailboxId\": \"39d5ea26-6aea-4d52-b6af-56f250fd74f9\",\r\n    \"restorePointId\": \"ea89fb34-11fa-4a3d-908c-c0737a85d22c\",\r\n    \"restoreTo\": {\r\n        \"folderPath\": \"RESTORE\\\\TO\\\\HERE\",\r\n        \"mailboxName\": \"another_user@tenantdomain.com\"\r\n    },\r\n    \"includeCategories\": {\r\n         \"emails\": true,\r\n         \"appointments\": false,\r\n         \"contacts\": false,\r\n         \"journals\": false,\r\n         \"stickyNotes\": false,\r\n         \"tasks\": false\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/restore/exchange/StartRestoreEntireMailbox_v1","description":"<p>This call starts the restore process for the entire mailbox, including only content in the \"includeCategories\" filters.</p>\n<p>Note that the restored items are grouped as folders, and that these folders (such as\"inbox\") will be placed as a subfolder to restoreTo.folderPath. If you wish to restore<br />to the original location, omit the property \"restoreTo\" (or set the value to null)</p>\n<p>restoreTo.mailboxName may be omitted. If omitted or nulled, the email address from which the data was backed up will be targeted.</p>\n","urlObject":{"path":["api","direct_v1","restore","exchange","StartRestoreEntireMailbox_v1"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[{"id":"18987dba-73b5-4ca7-8610-323d20d37e56","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"mailboxId\": \"39d5ea26-6aea-4d52-b6af-56f250fd74f9\",\r\n    \"restorePointId\": \"ea89fb34-11fa-4a3d-908c-c0737a85d22c\",\r\n    \"restoreTo\": {\r\n        \"folderPath\": \"RESTORE\\\\TO\\\\HERE\"\r\n    },\r\n    \"categories\": {\r\n         \"emails\": true,\r\n         \"appointments\": false,\r\n         \"contacts\": false,\r\n         \"journals\": false,\r\n         \"stickyNotes\": false,\r\n         \"tasks\": false\r\n    }\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/restore/exchange/StartRestoreEntireMailbox_v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 20 Sep 2022 13:21:31 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"restoreSessionId\": \"5912d720-a758-46e7-84e9-a295537e3909\"\n    }\n}"}],"_postman_id":"a58c3e8f-b24a-4f9c-bde5-f873cc3f350c"},{"name":"Restore Selected Content","id":"0d75a915-7fd7-4647-8de3-bbb0262d9471","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"mailboxId\": \"39d5ea26-6aea-4d52-b6af-56f250fd74f9\",\r\n    \"restorePointId\": \"ea89fb34-11fa-4a3d-908c-c0737a85d22c\",\r\n    \"restoreTo\": {\r\n        \"folderPath\": \"RESTORE\\\\TO\\\\HERE\",\r\n        \"mailboxName\": \"another_user@tenantdomain.com\"\r\n    },\r\n    \"folders\": [\r\n        {\r\n            \"id\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAARgAAA\"\r\n        },\r\n        {\r\n            \"id\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAN1IGC0AAA\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/restore/exchange/StartRestoreMailboxContent_v1","description":"<p>This call starts the restore process for the selected content of a mailbox.</p>\n<p>Selected folder ids will also restore subfolders of that folder.</p>\n<p>Note that restoring a folder will place that restored folder as a subfolder of the selected restoreTo.folderPath. If you wish to restore the selected folders (and items) to their original location instead of a new location, omit the property \"restoreTo\" (or set the value to null)</p>\n<p>restoreTo.mailboxName may be omitted. If omitted or nulled, the email address from which the data was backed up will be targeted.</p>\n","urlObject":{"path":["api","direct_v1","restore","exchange","StartRestoreMailboxContent_v1"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[{"id":"826194ab-c311-4563-9f84-a4172bae221a","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"tenantId\": \"ca3ee3e2-edfa-4616-93c2-82a1bf68ab7b\",\r\n    \"mailboxId\": \"39d5ea26-6aea-4d52-b6af-56f250fd74f9\",\r\n    \"restorePointId\": \"ea89fb34-11fa-4a3d-908c-c0737a85d22c\",\r\n    \"restoreTo\": {\r\n        \"folderPath\": \"RESTORE\\\\TO\\\\HERE\"\r\n    },\r\n    \"folders\": [\r\n        {\r\n            \"id\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAAAAARgAAA\"\r\n        },\r\n        {\r\n            \"id\": \"AAAAAD--jBA8K-hEjfzmEI_OMboBAIYrGaRJlu9ImJH36V6l3b4AAN1IGC0AAA\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/restore/exchange/StartRestoreMailboxContent_v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 20 Sep 2022 07:24:21 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"restoreSessionId\": \"5912d720-a758-46e7-84e9-a295537e3909\"\n    }\n}"}],"_postman_id":"0d75a915-7fd7-4647-8de3-bbb0262d9471"},{"name":"Get Restore Status","id":"c8820078-4f42-4670-9503-57db11342198","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"YOUR_BEARER_TOKEN"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"restoreSessionId\": \"5912d720-a758-46e7-84e9-a295537e3909\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/restore/exchange/GetStatus_v1","description":"<p>\"stillRunning\" are the tasks that have not yet concluded. Some of these tasks may take a long time, ie. restore of an inbox with a long history.</p>\n<p>\"failureMessages\" is an array of strings with plaintext descriptions of the error.</p>\n","urlObject":{"path":["api","direct_v1","restore","exchange","GetStatus_v1"],"host":["https://demo.direct.api.revirt365.com"],"query":[],"variable":[]}},"response":[{"id":"564fb732-e997-4d6b-b6fd-4b68a4e8bc4e","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer aGVyZWlzeW91cmJlYXJlcnRva2Vu","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"restoreSessionId\": \"5912d720-a758-46e7-84e9-a295537e3909\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://demo.direct.api.revirt365.com/api/direct_v1/restore/exchange/GetStatus_v1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Date","value":"Tue, 20 Sep 2022 08:45:02 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": [],\n    \"data\": {\n        \"stillRunning\": 0,\n        \"success\": 2,\n        \"failure\": 0,\n        \"failureMessages\": []\n    }\n}"}],"_postman_id":"c8820078-4f42-4670-9503-57db11342198"}],"id":"7250b647-9f19-4903-bb7c-70632975c721","description":"<p>The restore itself can take a while, so these calls return early, before the restore has been completed. You can use the \"Get Restore Status\" call to poll for progress.</p>\n<p>You need to use the Explore-endpoints to discover the required ids.</p>\n","_postman_id":"7250b647-9f19-4903-bb7c-70632975c721"}],"event":[{"listen":"prerequest","script":{"id":"8b4273ea-3086-4714-a061-f00f31d10737","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b867337e-2401-440d-8584-269d7c586093","type":"text/javascript","exec":[""]}}],"variable":[{"key":"ProtocolHostAndPort","value":"https://demo.direct.api.revirt365.com"},{"key":"ProtocolHostAndPortIam","value":"https://demo.iam.anycloud.dk"},{"key":"ApiKeyName","value":"YOUR_API_KEY_NAME"},{"key":"ApiKeySecret","value":"YOUR_API_KEY_SECRET"},{"key":"bearerToken","value":"YOUR_BEARER_TOKEN"}]}