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": "ad89051e-027e-4370-a4b1-cb9498195f9d",
  "RequestStatus": "None",
  "CoveredBy": "sample string 3",
  "OfferedBy": "sample string 99",
  "OfferedByName": "sample string 0",
  "HandledBy": "sample string 80",
  "RequiredDelegator": "sample string 87",
  "RequiredDelegatorName": "sample string 95",
  "ValidTo": "2024-06-15T16:25:44.2601955+02:00",
  "RedirectUrl": "sample string 89",
  "RequestResources": [
    {
      "ServiceCode": "sample string 95",
      "ServiceEditionCode": 2,
      "AltinnAppId": "sample string 99",
      "Operations": [
        "Read",
        "Read",
        "Read"
      ],
      "Metadata": {
        "sample-string-29": "sample string 23",
        "sample-string-80": "sample string 85",
        "sample-string-36": "sample string 81"
      }
    },
    {
      "ServiceCode": "sample string 95",
      "ServiceEditionCode": 2,
      "AltinnAppId": "sample string 99",
      "Operations": [
        "Read",
        "Read",
        "Read"
      ],
      "Metadata": {
        "sample-string-29": "sample string 23",
        "sample-string-80": "sample string 85",
        "sample-string-36": "sample string 81"
      }
    },
    {
      "ServiceCode": "sample string 95",
      "ServiceEditionCode": 2,
      "AltinnAppId": "sample string 99",
      "Operations": [
        "Read",
        "Read",
        "Read"
      ],
      "Metadata": {
        "sample-string-29": "sample string 23",
        "sample-string-80": "sample string 85",
        "sample-string-36": "sample string 81"
      }
    }
  ],
  "RequestMessage": {
    "sample-string-20": "sample string 97",
    "sample-string-54": "sample string 33",
    "sample-string-19": "sample string 84"
  },
  "Errors": [
    {
      "ErrorCode": "sample string 64",
      "ErrorMessage": "sample string 19"
    },
    {
      "ErrorCode": "sample string 64",
      "ErrorMessage": "sample string 19"
    },
    {
      "ErrorCode": "sample string 64",
      "ErrorMessage": "sample string 19"
    }
  ],
  "PortalViewMode": "sample string 67"
}