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
Name | Description | Additional 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 46" } }, "_embedded": { "sample string 77": [ { "AuthorizationCode": "84f26926-d5b1-480c-b8e9-36bff6eae2ee", "RequestStatus": "None", "CoveredBy": "sample string 33", "OfferedBy": "sample string 48", "OfferedByName": "sample string 18", "HandledBy": "sample string 18", "RequiredDelegator": "sample string 8", "RequiredDelegatorName": "sample string 10", "ValidTo": "2024-12-04T22:06:42.9028429+01:00", "RedirectUrl": "sample string 85", "RequestResources": [ { "ServiceCode": "sample string 15", "ServiceEditionCode": 2, "AltinnAppId": "sample string 60", "Operations": [ "Read", "Read", "Read" ], "Metadata": { "sample-string-7": "sample string 77", "sample-string-63": "sample string 1", "sample-string-28": "sample string 53" } }, { "ServiceCode": "sample string 15", "ServiceEditionCode": 2, "AltinnAppId": "sample string 60", "Operations": [ "Read", "Read", "Read" ], "Metadata": { "sample-string-7": "sample string 77", "sample-string-63": "sample string 1", "sample-string-28": "sample string 53" } }, { "ServiceCode": "sample string 15", "ServiceEditionCode": 2, "AltinnAppId": "sample string 60", "Operations": [ "Read", "Read", "Read" ], "Metadata": { "sample-string-7": "sample string 77", "sample-string-63": "sample string 1", "sample-string-28": "sample string 53" } } ], "RequestMessage": { "sample-string-73": "sample string 22", "sample-string-32": "sample string 4" }, "Errors": [ { "ErrorCode": "sample string 90", "ErrorMessage": "sample string 47" }, { "ErrorCode": "sample string 90", "ErrorMessage": "sample string 47" }, { "ErrorCode": "sample string 90", "ErrorMessage": "sample string 47" } ], "PortalViewMode": "sample string 71", "_links": { "self": { "href": "sample string 28" } } }, { "AuthorizationCode": "84f26926-d5b1-480c-b8e9-36bff6eae2ee", "RequestStatus": "None", "CoveredBy": "sample string 33", "OfferedBy": "sample string 48", "OfferedByName": "sample string 18", "HandledBy": "sample string 18", "RequiredDelegator": "sample string 8", "RequiredDelegatorName": "sample string 10", "ValidTo": "2024-12-04T22:06:42.9028429+01:00", "RedirectUrl": "sample string 85", "RequestResources": [ { "ServiceCode": "sample string 15", "ServiceEditionCode": 2, "AltinnAppId": "sample string 60", "Operations": [ "Read", "Read", "Read" ], "Metadata": { "sample-string-7": "sample string 77", "sample-string-63": "sample string 1", "sample-string-28": "sample string 53" } }, { "ServiceCode": "sample string 15", "ServiceEditionCode": 2, "AltinnAppId": "sample string 60", "Operations": [ "Read", "Read", "Read" ], "Metadata": { "sample-string-7": "sample string 77", "sample-string-63": "sample string 1", "sample-string-28": "sample string 53" } }, { "ServiceCode": "sample string 15", "ServiceEditionCode": 2, "AltinnAppId": "sample string 60", "Operations": [ "Read", "Read", "Read" ], "Metadata": { "sample-string-7": "sample string 77", "sample-string-63": "sample string 1", "sample-string-28": "sample string 53" } } ], "RequestMessage": { "sample-string-73": "sample string 22", "sample-string-32": "sample string 4" }, "Errors": [ { "ErrorCode": "sample string 90", "ErrorMessage": "sample string 47" }, { "ErrorCode": "sample string 90", "ErrorMessage": "sample string 47" }, { "ErrorCode": "sample string 90", "ErrorMessage": "sample string 47" } ], "PortalViewMode": "sample string 71", "_links": { "self": { "href": "sample string 28" } } }, { "AuthorizationCode": "84f26926-d5b1-480c-b8e9-36bff6eae2ee", "RequestStatus": "None", "CoveredBy": "sample string 33", "OfferedBy": "sample string 48", "OfferedByName": "sample string 18", "HandledBy": "sample string 18", "RequiredDelegator": "sample string 8", "RequiredDelegatorName": "sample string 10", "ValidTo": "2024-12-04T22:06:42.9028429+01:00", "RedirectUrl": "sample string 85", "RequestResources": [ { "ServiceCode": "sample string 15", "ServiceEditionCode": 2, "AltinnAppId": "sample string 60", "Operations": [ "Read", "Read", "Read" ], "Metadata": { "sample-string-7": "sample string 77", "sample-string-63": "sample string 1", "sample-string-28": "sample string 53" } }, { "ServiceCode": "sample string 15", "ServiceEditionCode": 2, "AltinnAppId": "sample string 60", "Operations": [ "Read", "Read", "Read" ], "Metadata": { "sample-string-7": "sample string 77", "sample-string-63": "sample string 1", "sample-string-28": "sample string 53" } }, { "ServiceCode": "sample string 15", "ServiceEditionCode": 2, "AltinnAppId": "sample string 60", "Operations": [ "Read", "Read", "Read" ], "Metadata": { "sample-string-7": "sample string 77", "sample-string-63": "sample string 1", "sample-string-28": "sample string 53" } } ], "RequestMessage": { "sample-string-73": "sample string 22", "sample-string-32": "sample string 4" }, "Errors": [ { "ErrorCode": "sample string 90", "ErrorMessage": "sample string 47" }, { "ErrorCode": "sample string 90", "ErrorMessage": "sample string 47" }, { "ErrorCode": "sample string 90", "ErrorMessage": "sample string 47" } ], "PortalViewMode": "sample string 71", "_links": { "self": { "href": "sample string 28" } } } ] }, "continuationtoken": "sample string 37" }