GET consentRequest/{authCode}

DEPRECATED, 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": "d1065c59-fcce-47f2-b6fb-be3873d8665a",
  "RequestStatus": "None",
  "CoveredBy": "sample string 76",
  "OfferedBy": "sample string 5",
  "OfferedByName": "sample string 32",
  "HandledBy": "sample string 30",
  "RequiredDelegator": "sample string 36",
  "RequiredDelegatorName": "sample string 38",
  "ValidTo": "2024-06-09T23:05:56.7706519+02:00",
  "RedirectUrl": "sample string 31",
  "RequestResources": [
    {
      "ServiceCode": "sample string 25",
      "ServiceEditionCode": 2,
      "AltinnAppId": "sample string 84",
      "Operations": [
        "Read",
        "Read",
        "Read"
      ],
      "Metadata": {
        "sample-string-70": "sample string 18",
        "sample-string-81": "sample string 35",
        "sample-string-32": "sample string 59"
      }
    },
    {
      "ServiceCode": "sample string 25",
      "ServiceEditionCode": 2,
      "AltinnAppId": "sample string 84",
      "Operations": [
        "Read",
        "Read",
        "Read"
      ],
      "Metadata": {
        "sample-string-70": "sample string 18",
        "sample-string-81": "sample string 35",
        "sample-string-32": "sample string 59"
      }
    },
    {
      "ServiceCode": "sample string 25",
      "ServiceEditionCode": 2,
      "AltinnAppId": "sample string 84",
      "Operations": [
        "Read",
        "Read",
        "Read"
      ],
      "Metadata": {
        "sample-string-70": "sample string 18",
        "sample-string-81": "sample string 35",
        "sample-string-32": "sample string 59"
      }
    }
  ],
  "RequestMessage": {
    "sample-string-6": "sample string 4",
    "sample-string-90": "sample string 40",
    "sample-string-8": "sample string 6"
  },
  "Errors": [
    {
      "ErrorCode": "sample string 41",
      "ErrorMessage": "sample string 3"
    },
    {
      "ErrorCode": "sample string 41",
      "ErrorMessage": "sample string 3"
    },
    {
      "ErrorCode": "sample string 41",
      "ErrorMessage": "sample string 3"
    }
  ],
  "PortalViewMode": "sample string 86",
  "_links": {
    "self": {
      "href": "sample string 44"
    }
  }
}