---
updatedAt: 2026-07-02T14:54:49.000Z
---

# Retrieves Record of Authorization Request

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "BeyondTrust PM Cloud Management API - Version 2",
    "description": "BeyondTrust PM Cloud Management API - Version 2",
    "version": "v2"
  },
  "servers": [
    {
      "url": "https://{example.com}/management-api"
    }
  ],
  "paths": {
    "/v2/AdminAccessRequest/{requestId}": {
      "get": {
        "tags": [
          "AdminAccessRequest"
        ],
        "summary": "Retrieves Record of Authorization Request",
        "parameters": [
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdminAccessRequestModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdminAccessRequestModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdminAccessRequestModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        },
        "security": [
          {
            "bearer": [],
            "oauth2": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "AdminAccessRequestDecision": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "Status of the decision\r\n\r\nPending  - No decision \r\nApproved - decision approved. allow execution\r\nDenied   - decision denied. continue to block execution",
            "nullable": true
          },
          "duration": {
            "type": "string",
            "description": "Timespan for the decision (in seconds)",
            "nullable": true
          },
          "startTime": {
            "type": "string",
            "description": "Time in which the decision enforcement started",
            "format": "date-time",
            "nullable": true
          },
          "endTime": {
            "type": "string",
            "description": "AccessDecision EndDate",
            "format": "date-time",
            "nullable": true
          },
          "note": {
            "type": "string",
            "description": "User's note while making decision",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Admin Access Decsion"
      },
      "AdminAccessRequestInfo": {
        "type": "object",
        "properties": {
          "requestId": {
            "type": "string",
            "description": "Request Identifier",
            "format": "uuid"
          },
          "ticketId": {
            "type": "string",
            "description": "Ticket Number",
            "nullable": true
          },
          "createdOn": {
            "type": "string",
            "description": "Created On",
            "format": "date-time"
          },
          "modifiedOn": {
            "type": "string",
            "description": "Modified On",
            "format": "date-time",
            "nullable": true
          },
          "computerId": {
            "type": "string",
            "description": "Computer Identifier",
            "format": "uuid"
          },
          "reason": {
            "type": "string",
            "description": "Reason to create request",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "description": "Computer User Identifier",
            "nullable": true
          },
          "userName": {
            "type": "string",
            "description": "Computer User Name",
            "nullable": true
          },
          "durationRequested": {
            "type": "integer",
            "description": "Session duration requested.",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Admin Access Request Info"
      },
      "AdminAccessRequestModel": {
        "type": "object",
        "properties": {
          "requestInfo": {
            "$ref": "#/components/schemas/AdminAccessRequestInfo"
          },
          "accessDecision": {
            "$ref": "#/components/schemas/AdminAccessRequestDecision"
          },
          "serviceTicket": {
            "$ref": "#/components/schemas/AdminAccessServiceTicket"
          },
          "notes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AdminRequestNoteModel"
            },
            "description": "Admin Access Request Note Model",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Admin Access Request Model"
      },
      "AdminAccessServiceTicket": {
        "type": "object",
        "properties": {
          "ticketId": {
            "type": "string",
            "description": "Corresonds to the ITSM ticket id e.g. Service Now taskId",
            "nullable": true
          },
          "systemId": {
            "type": "string",
            "description": "Corresponds to the ITSM internal ticket id e.g. Service Now taskSystemId",
            "nullable": true
          },
          "url": {
            "type": "string",
            "description": "Full url to the ticket in the ITSM.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Contains information related to External Systems Admin Access Request."
      },
      "AdminRequestNoteModel": {
        "type": "object",
        "properties": {
          "note": {
            "type": "string",
            "description": "Request Note",
            "nullable": true
          },
          "userName": {
            "type": "string",
            "description": "Request User Name",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "description": "Request User Id",
            "nullable": true
          },
          "addedOn": {
            "type": "string",
            "description": "Request Added on",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": {}
      }
    },
    "securitySchemes": {
      "bearer": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://sneakpeek-services.epm.bt3ng.com/oauth/connect/token",
            "scopes": {
              "urn:management:api": "Management API scope"
            }
          }
        }
      }
    }
  },
  "x-readme": {}
}
```