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": "79d8044a-14c2-4da8-a104-e1483ecd71dc",
  "RequestStatus": "None",
  "CoveredBy": "sample string 84",
  "OfferedBy": "sample string 13",
  "OfferedByName": "sample string 59",
  "HandledBy": "sample string 64",
  "RequiredDelegator": "sample string 87",
  "RequiredDelegatorName": "sample string 43",
  "ValidTo": "2022-05-05T09:06:46.9144716+02:00",
  "RedirectUrl": "sample string 19",
  "RequestResources": [
    {
      "ServiceCode": "sample string 11",
      "ServiceEditionCode": 2,
      "AltinnAppId": "sample string 47",
      "Operations": [
        "Read",
        "Read",
        "Read"
      ],
      "Metadata": {
        "sample-string-18": "sample string 97",
        "sample-string-84": "sample string 93",
        "sample-string-30": "sample string 80"
      }
    },
    {
      "ServiceCode": "sample string 11",
      "ServiceEditionCode": 2,
      "AltinnAppId": "sample string 47",
      "Operations": [
        "Read",
        "Read",
        "Read"
      ],
      "Metadata": {
        "sample-string-18": "sample string 97",
        "sample-string-84": "sample string 93",
        "sample-string-30": "sample string 80"
      }
    },
    {
      "ServiceCode": "sample string 11",
      "ServiceEditionCode": 2,
      "AltinnAppId": "sample string 47",
      "Operations": [
        "Read",
        "Read",
        "Read"
      ],
      "Metadata": {
        "sample-string-18": "sample string 97",
        "sample-string-84": "sample string 93",
        "sample-string-30": "sample string 80"
      }
    }
  ],
  "RequestMessage": {
    "sample-string-94": "sample string 33",
    "sample-string-55": "sample string 71",
    "sample-string-29": "sample string 79"
  },
  "Errors": [
    {
      "ErrorCode": "sample string 84",
      "ErrorMessage": "sample string 39"
    },
    {
      "ErrorCode": "sample string 84",
      "ErrorMessage": "sample string 39"
    },
    {
      "ErrorCode": "sample string 84",
      "ErrorMessage": "sample string 39"
    }
  ],
  "PortalViewMode": "sample string 22"
}