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": "7391c86c-d518-4b91-998f-7aabe465572b",
  "RequestStatus": "None",
  "CoveredBy": "sample string 39",
  "OfferedBy": "sample string 68",
  "OfferedByName": "sample string 82",
  "HandledBy": "sample string 45",
  "RequiredDelegator": "sample string 32",
  "RequiredDelegatorName": "sample string 74",
  "ValidTo": "2024-04-19T17:08:58.8562312+02:00",
  "RedirectUrl": "sample string 91",
  "RequestResources": [
    {
      "ServiceCode": "sample string 60",
      "ServiceEditionCode": 2,
      "AltinnAppId": "sample string 44",
      "Operations": [
        "Read",
        "Read",
        "Read"
      ],
      "Metadata": {
        "sample-string-25": "sample string 34",
        "sample-string-80": "sample string 71",
        "sample-string-23": "sample string 85"
      }
    },
    {
      "ServiceCode": "sample string 60",
      "ServiceEditionCode": 2,
      "AltinnAppId": "sample string 44",
      "Operations": [
        "Read",
        "Read",
        "Read"
      ],
      "Metadata": {
        "sample-string-25": "sample string 34",
        "sample-string-80": "sample string 71",
        "sample-string-23": "sample string 85"
      }
    },
    {
      "ServiceCode": "sample string 60",
      "ServiceEditionCode": 2,
      "AltinnAppId": "sample string 44",
      "Operations": [
        "Read",
        "Read",
        "Read"
      ],
      "Metadata": {
        "sample-string-25": "sample string 34",
        "sample-string-80": "sample string 71",
        "sample-string-23": "sample string 85"
      }
    }
  ],
  "RequestMessage": {
    "sample-string-65": "sample string 62",
    "sample-string-10": "sample string 75",
    "sample-string-63": "sample string 86"
  },
  "Errors": [
    {
      "ErrorCode": "sample string 79",
      "ErrorMessage": "sample string 20"
    },
    {
      "ErrorCode": "sample string 79",
      "ErrorMessage": "sample string 20"
    },
    {
      "ErrorCode": "sample string 79",
      "ErrorMessage": "sample string 20"
    }
  ],
  "PortalViewMode": "sample string 48",
  "_links": {
    "self": {
      "href": "sample string 86"
    }
  }
}