GET consentRequests?serviceCode={serviceCode}&serviceEditionCode={serviceEditionCode}&direction={direction}&status[0]={status[0]}&status[1]={status[1]}&continuation={continuation}

Gets all consent requests for authenticated part, optionally filtered by service or pagination

Request Information

Parameters

NameDescriptionAdditional information
queryOptions optional filter parameter for OData-filtering

None.

serviceCode optional filter parameter for serviceCode

Define this parameter in the request URI.

serviceEditionCode optional filter parameter for serviceEditionCode

Define this parameter in the request URI.

direction Optional filter parameter for directions (incoming, outgoing). If no direction is specified, both incoming and outgoing requests will be returned

Define this parameter in the request URI.

status optional filter parameter for status

Define this parameter in the request URI.

continuation optional filter parameter for continuationToken

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:
{
  "_links": {
    "self": {
      "href": "sample string 17"
    }
  },
  "_embedded": {
    "sample string 10": [
      {
        "AuthorizationCode": "74b2481a-0877-45d6-a482-282897c5923d",
        "RequestStatus": "None",
        "CoveredBy": "sample string 39",
        "OfferedBy": "sample string 99",
        "OfferedByName": "sample string 25",
        "HandledBy": "sample string 28",
        "RequiredDelegator": "sample string 16",
        "RequiredDelegatorName": "sample string 2",
        "ValidTo": "2022-05-07T08:14:48.0658086+02:00",
        "RedirectUrl": "sample string 85",
        "RequestResources": [
          {
            "ServiceCode": "sample string 2",
            "ServiceEditionCode": 2,
            "AltinnAppId": "sample string 70",
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-41": "sample string 51",
              "sample-string-31": "sample string 18",
              "sample-string-49": "sample string 65"
            }
          },
          {
            "ServiceCode": "sample string 2",
            "ServiceEditionCode": 2,
            "AltinnAppId": "sample string 70",
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-41": "sample string 51",
              "sample-string-31": "sample string 18",
              "sample-string-49": "sample string 65"
            }
          },
          {
            "ServiceCode": "sample string 2",
            "ServiceEditionCode": 2,
            "AltinnAppId": "sample string 70",
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-41": "sample string 51",
              "sample-string-31": "sample string 18",
              "sample-string-49": "sample string 65"
            }
          }
        ],
        "RequestMessage": {
          "sample-string-63": "sample string 8",
          "sample-string-22": "sample string 27",
          "sample-string-44": "sample string 18"
        },
        "Errors": [
          {
            "ErrorCode": "sample string 64",
            "ErrorMessage": "sample string 82"
          },
          {
            "ErrorCode": "sample string 64",
            "ErrorMessage": "sample string 82"
          },
          {
            "ErrorCode": "sample string 64",
            "ErrorMessage": "sample string 82"
          }
        ],
        "PortalViewMode": "sample string 85"
      },
      {
        "AuthorizationCode": "74b2481a-0877-45d6-a482-282897c5923d",
        "RequestStatus": "None",
        "CoveredBy": "sample string 39",
        "OfferedBy": "sample string 99",
        "OfferedByName": "sample string 25",
        "HandledBy": "sample string 28",
        "RequiredDelegator": "sample string 16",
        "RequiredDelegatorName": "sample string 2",
        "ValidTo": "2022-05-07T08:14:48.0658086+02:00",
        "RedirectUrl": "sample string 85",
        "RequestResources": [
          {
            "ServiceCode": "sample string 2",
            "ServiceEditionCode": 2,
            "AltinnAppId": "sample string 70",
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-41": "sample string 51",
              "sample-string-31": "sample string 18",
              "sample-string-49": "sample string 65"
            }
          },
          {
            "ServiceCode": "sample string 2",
            "ServiceEditionCode": 2,
            "AltinnAppId": "sample string 70",
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-41": "sample string 51",
              "sample-string-31": "sample string 18",
              "sample-string-49": "sample string 65"
            }
          },
          {
            "ServiceCode": "sample string 2",
            "ServiceEditionCode": 2,
            "AltinnAppId": "sample string 70",
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-41": "sample string 51",
              "sample-string-31": "sample string 18",
              "sample-string-49": "sample string 65"
            }
          }
        ],
        "RequestMessage": {
          "sample-string-63": "sample string 8",
          "sample-string-22": "sample string 27",
          "sample-string-44": "sample string 18"
        },
        "Errors": [
          {
            "ErrorCode": "sample string 64",
            "ErrorMessage": "sample string 82"
          },
          {
            "ErrorCode": "sample string 64",
            "ErrorMessage": "sample string 82"
          },
          {
            "ErrorCode": "sample string 64",
            "ErrorMessage": "sample string 82"
          }
        ],
        "PortalViewMode": "sample string 85"
      },
      {
        "AuthorizationCode": "74b2481a-0877-45d6-a482-282897c5923d",
        "RequestStatus": "None",
        "CoveredBy": "sample string 39",
        "OfferedBy": "sample string 99",
        "OfferedByName": "sample string 25",
        "HandledBy": "sample string 28",
        "RequiredDelegator": "sample string 16",
        "RequiredDelegatorName": "sample string 2",
        "ValidTo": "2022-05-07T08:14:48.0658086+02:00",
        "RedirectUrl": "sample string 85",
        "RequestResources": [
          {
            "ServiceCode": "sample string 2",
            "ServiceEditionCode": 2,
            "AltinnAppId": "sample string 70",
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-41": "sample string 51",
              "sample-string-31": "sample string 18",
              "sample-string-49": "sample string 65"
            }
          },
          {
            "ServiceCode": "sample string 2",
            "ServiceEditionCode": 2,
            "AltinnAppId": "sample string 70",
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-41": "sample string 51",
              "sample-string-31": "sample string 18",
              "sample-string-49": "sample string 65"
            }
          },
          {
            "ServiceCode": "sample string 2",
            "ServiceEditionCode": 2,
            "AltinnAppId": "sample string 70",
            "Operations": [
              "Read",
              "Read",
              "Read"
            ],
            "Metadata": {
              "sample-string-41": "sample string 51",
              "sample-string-31": "sample string 18",
              "sample-string-49": "sample string 65"
            }
          }
        ],
        "RequestMessage": {
          "sample-string-63": "sample string 8",
          "sample-string-22": "sample string 27",
          "sample-string-44": "sample string 18"
        },
        "Errors": [
          {
            "ErrorCode": "sample string 64",
            "ErrorMessage": "sample string 82"
          },
          {
            "ErrorCode": "sample string 64",
            "ErrorMessage": "sample string 82"
          },
          {
            "ErrorCode": "sample string 64",
            "ErrorMessage": "sample string 82"
          }
        ],
        "PortalViewMode": "sample string 85"
      }
    ]
  },
  "continuationtoken": "sample string 99"
}