GET consentRequests/{authCode}

Get a specific Consent request from the AuthorizationRequest table

Request Information

Parameters

NameDescriptionAdditional information
authCode The authorization code for a given consent request

Define this parameter in the request URI.

Response Information

A ConsentRequest with errors if any

Response body formats

application/hal+xml

Sample:

Sample not available.

application/hal+json

Sample:
{
  "AuthorizationCode": "13f05362-ccf6-47c8-83b3-89e1e3e9211b",
  "RequestStatus": "None",
  "CoveredBy": "sample string 74",
  "OfferedBy": "sample string 43",
  "OfferedByName": "sample string 46",
  "HandledBy": "sample string 57",
  "RequiredDelegator": "sample string 92",
  "RequiredDelegatorName": "sample string 66",
  "ValidTo": "2024-09-06T10:37:29.0967874+02:00",
  "RedirectUrl": "sample string 14",
  "RequestResources": [
    {
      "ServiceCode": "sample string 73",
      "ServiceEditionCode": 2,
      "AltinnAppId": "sample string 67",
      "Operations": [
        "Read",
        "Read",
        "Read"
      ],
      "Metadata": {
        "sample-string-74": "sample string 63",
        "sample-string-11": "sample string 30"
      }
    },
    {
      "ServiceCode": "sample string 73",
      "ServiceEditionCode": 2,
      "AltinnAppId": "sample string 67",
      "Operations": [
        "Read",
        "Read",
        "Read"
      ],
      "Metadata": {
        "sample-string-74": "sample string 63",
        "sample-string-11": "sample string 30"
      }
    },
    {
      "ServiceCode": "sample string 73",
      "ServiceEditionCode": 2,
      "AltinnAppId": "sample string 67",
      "Operations": [
        "Read",
        "Read",
        "Read"
      ],
      "Metadata": {
        "sample-string-74": "sample string 63",
        "sample-string-11": "sample string 30"
      }
    }
  ],
  "RequestMessage": {
    "sample-string-91": "sample string 1",
    "sample-string-66": "sample string 41",
    "sample-string-93": "sample string 39"
  },
  "Errors": [
    {
      "ErrorCode": "sample string 32",
      "ErrorMessage": "sample string 54"
    },
    {
      "ErrorCode": "sample string 32",
      "ErrorMessage": "sample string 54"
    },
    {
      "ErrorCode": "sample string 32",
      "ErrorMessage": "sample string 54"
    }
  ],
  "PortalViewMode": "sample string 23"
}