{"templateId":"markdown","sharedDataIds":{},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Running an Access Request","description":"API documentation for Revenera products","siteUrl":"https://developer.revenera.com","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"running-an-access-request","__idx":0},"children":["Running an Access Request"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This section is broken down into two exercises, to demonstrate the different ways of making an access request:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#running-a-one-off-access-request"},"children":["Running a One-Off Access Request"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#running-a-session-based-access-request"},"children":["Running a Session-Based Access Request"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"note-regarding-sample-users","__idx":1},"children":["Note Regarding Sample Users"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The exercises in this section assume the request should be registered against a fictitious user called Lisa Barry, which will be shown in the usage entry for the request. You might prefer to register the request against the name or ID of a device, and you should change the type and value in the requester fields appropriately."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"running-a-one-off-access-request","__idx":2},"children":["Running a One-Off Access Request"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authorization"]},": administration token or client token"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Endpoint information"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/dynamicmonetization/apis/openapi-spec/non-session-access-request/postaccessrequest"},"children":["Access request for elastic tokens "]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This step demonstrates how an application run by the customer Lisa Barry requests the following items using the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["elastic/api/<version>/instances/{instanceId}/access-request"]}," endpoint:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["10 counts of PhotoPrint, version 1.0"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["2 counts of CADPrint, version 2.0"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You need to pass the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{instanceId}"]}," as a path parameter to identify the specific instance from which you request line items."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This form of access request is intended for single use of the requested items. It does not initiate a session or result in repeated charges for the items over time. It is also not possible to \"return\" the items or obtain a full or partial refund for the tokens charged. For more information about sessions, see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/dynamicmonetization/guides/sessions/session-concepts"},"children":["Sessions"]},"."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Item"},"children":["Item"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["URI"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["elastic/api/<version>/instances/{instanceId}/access-request"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Method"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["POST"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Path parameters"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["instanceId"]},": Use the ID returned by the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["/provisioning/api/<version>/instances"]}," API"," ","In the exercise, ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/dynamicmonetization/tutorials/identifying-the-instance"},"children":["Identifying the Instance"]},", the instance ID ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["d889a651-123a-456b-78d9-60d6de8cfes9"]}," was returned."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Request body"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"{\n  \"requester\": {\n    \"type\": \"user\",\n    \"value\": \"LisaBarry\"\n  },\n  \"requestedItems\": [\n    {\n      \"item\": \"PhotoPrint\",\n      \"requestedVersion\": \"1.0\",\n      \"count\": 10,\n    },\n    {\n      \"item\": \"CADPrint\",\n      \"requestedVersion\": \"2.0\",\n      \"count\": 2,\n    }\n  ]\n}   \n"},"children":[]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"sample-response","__idx":3},"children":["Sample Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The sample response displays information about the requested items, PhotoPrint and CADPrint. The line item with activation ID ACT01-Elastic was charged 44 tokens in total:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["10 counts at a rate of 3 = 30 tokens for PhotoPrint"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["2 counts at a rate of 7 = 14 tokens for CADPrint."]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"{\n  \"correlationId\": \"5c8ec4fd-f17f-4657-bf09-74a97ddc9f8b\",\n  \"requester\": {\n    \"type\": \"user\",\n    \"value\": \"LisaBarry\"\n  },\n  \"requestedItems\": [\n    {\n      \"item\": \"PhotoPrint\",\n      \"requestedVersion\": \"1.0\",\n      \"count\": 10,\n      \"status\": {\n        \"code\": \"1001\",\n        \"description\": \"Successfully checked out\"\n      },\n      \"totalTokensCharged\": 30,\n      \"lineItems\": [\n        {\n          \"rate\": 3,\n          \"activationId\": \"ACT01-Elastic\",\n          \"tokensCharged\": 30\n        }\n      ]\n    },\n    {\n      \"item\": \"CADPrint\",\n      \"requestedVersion\": \"2.0\",\n      \"count\": 2,\n      \"status\": {\n        \"code\": \"1001\",\n        \"description\": \"Successfully checked out\"\n      },\n      \"totalTokensCharged\": 14,\n      \"lineItems\": [\n        {\n          \"rate\": 7,\n          \"activationId\": \"ACT01-Elastic\",\n          \"tokensCharged\": 14\n        }\n      ]\n    }\n  ]\n}\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"running-a-session-based-access-request","__idx":4},"children":["Running a Session-Based Access Request"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This section demonstrates how an application initiates a session and requests items. It is broken down into the following steps:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#initiating-a-session"},"children":["Initiating a Session"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#requesting-items-during-the-session"},"children":["Requesting Items During the Session"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#closing-the-session"},"children":["Closing the Session"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"initiating-a-session","__idx":5},"children":["Initiating a Session"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authorization"]},": administration token or client token"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Endpoint information"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/dynamicmonetization/apis/openapi-spec/sessions/createsession"},"children":["Request a new session"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Issue a POST to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["/api/<version>/sessions"]}," endpoint to create a new session. The request body must contain the following:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The instance that the session should run in. (See also ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/dynamicmonetization/tutorials/managing-rate-tables-and-access-requests#identifying-the-instance"},"children":["Identifying the Instance"]},".)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["For authorization, a JWT which must contain an instance ID which matches the instance ID included in the headers."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When the session is first created, it is in an IDLE state."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Item"},"children":["Item"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["URI"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["/api/<version>/sessions"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Method"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["POST"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Path parameters"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Request body"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"JSON","header":{"controls":{"copy":{}}},"source":"{\n\"instanceId\": \"64d2028c-ae87-4069-a624-66089d957ef9\" \n}  \n","lang":"JSON"},"children":[]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"sample-response-1","__idx":6},"children":["Sample Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The response contains a UUID identifying the session, which is generated by Elastic Access. Take note of the ID that is returned in your example, because it is used in subsequent exercises."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"{\n  \"sessionId\": \"f6567dd8-e069-418e-8893-7d22fcf12459\"\"\n}\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"requesting-items-during-the-session","__idx":7},"children":["Requesting Items During the Session"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authorization"]},": administration token or client token"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Endpoint information"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/dynamicmonetization/apis/openapi-spec/sessions/putsessionaccessrequest"},"children":["Elastic access request in the context of a session "]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In this example, make a PUT call to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["/api/<version>/sessions/{sessionId}"]}," endpoint to request the following items:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["10 counts of PhotoPrint, version 1.0"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["2 counts of CADPrint, version 2.0"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The request must include the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{sessionId}"]}," as a path parameter to identify the session during which it requests items."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Item"},"children":["Item"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["URI"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["/api/<version>/sessions/{sessionID}"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Method"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["PUT"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Path parameters"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sessionId"]},": Use the ID returned by the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["/api/<version>/sessions"]}," API in the previous step, ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#initiating-a-session"},"children":["Initiating a Session"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Request body"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"JSON","header":{"controls":{"copy":{}}},"source":"{\n\"requester\": {\n  \"type\": \"user\",\n  \"value\": \"LisaBarry\"\n},\n\"rollbackOnDeny\": true,\n\"requestedItems\": [\n  {\n    \"item\": \"PhotoPrint\",\n    \"version\": \"1.0\",\n    \"count\": 10,\n  }\n  {\n    \"item\": \"CADPrint\",\n    \"version\": \"2.0\",\n    \"count\": 2\n  }\n]\n","lang":"JSON"},"children":[]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"sample-response-2","__idx":8},"children":["Sample Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The sample response displays information about the items, PhotoPrint and CADPrint, that were requested during the session. As in the previous procedure, the line item with activation ID ACT01-Elastic was charged 44 tokens in total:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["10 counts at a rate of 3 = 30 tokens for PhotoPrint"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["2 counts at a rate of 7 = 14 tokens for CADPrint."]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"JSON","header":{"controls":{"copy":{}}},"source":"{\n  \"requestedItems\": [\n    {\n      \"count\": 10,\n      \"item\": \"PhotoPrint\",\n      \"version\": \"1.0\",\n      \"totalTokensCharged\": 30,\n      \"lineItems\": [\n        {\n          \"rate\": 3,\n          \"activationId\": \"ACT01-Elastic\",\n          \"tokensCharged\": 30\n        }\n      ],\n      \"status\": {\n        \"code\": \"1001\",\n        \"description\": \"Successfully checked out\"\n      },\n    },\n    {\n      \"count\": 2,\n      \"item\": \"CADPrint\",\n      \"version\": \"2.0\",\n      \"totalTokensCharged\": 14,\n      \"lineItems\": [\n        {\n          \"rate\": 7,\n          \"activationId\": \"ACT01-Elastic\",\n          \"tokensCharged\": 14\n        }\n      ],\n      \"status\": {\n        \"code\": \"1001\",\n        \"description\": \"Successfully checked out\"\n      },\n    }\n  ],\n  \"requester\": {\n    \"type\": \"user\",\n    \"value\": \"LisaBarry\"\n  },\n  \"correlationId\": \"5c8ec4fd-f17f-4657-bf09-74a97ddc9f8b\"\n}\n","lang":"JSON"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"closing-the-session","__idx":9},"children":["Closing the Session"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authorization"]},": administration token or client token"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Endpoint information"]},": ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/dynamicmonetization/apis/openapi-spec/sessions/closesession"},"children":["Close a Session"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Upon closing the PhotoPrint and CADPrint applications, issue a DELETE call to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["/api/<version>/sessions/{sessionId}"]}," endpoint to close the session."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Closing a session ensures that token consumption is calculated for the precise time the items have been in use."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After a session has been deleted, it cannot be used again. Subsequent activity requires the creation of a new session, resulting in a new session ID."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The request must include the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{sessionId}"]}," as a path parameter to identify the session to be closed."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Item"},"children":["Item"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["URI"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["/api/<version>/sessions/{sessionID}"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Method"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["DELETE"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Path parameters"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sessionId"]},": Use the ID returned by the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["/api/<version>/sessions"]}," API in the previous step, ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/dynamicmonetization/tutorials/running-an-access-request#initiating-a-session"},"children":["Initiating a Session"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Request body"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["N/A"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"sample-response-3","__idx":10},"children":["Sample Response"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If the request was successful, the response returns code 200, indicating that the session was successfully closed."]}]},"headings":[{"value":"Running an Access Request","id":"running-an-access-request","depth":1},{"value":"Note Regarding Sample Users","id":"note-regarding-sample-users","depth":3},{"value":"Running a One-Off Access Request","id":"running-a-one-off-access-request","depth":2},{"value":"Sample Response","id":"sample-response","depth":3},{"value":"Running a Session-Based Access Request","id":"running-a-session-based-access-request","depth":2},{"value":"Initiating a Session","id":"initiating-a-session","depth":3},{"value":"Sample Response","id":"sample-response-1","depth":4},{"value":"Requesting Items During the Session","id":"requesting-items-during-the-session","depth":3},{"value":"Sample Response","id":"sample-response-2","depth":4},{"value":"Closing the Session","id":"closing-the-session","depth":3},{"value":"Sample Response","id":"sample-response-3","depth":4}],"frontmatter":{"seo":{"title":"Running an Access Request"}},"lastModified":"2026-06-02T13:48:05.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/dynamicmonetization/tutorials/running-an-access-request","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}