wso2 / docs-open-banking

Apache License 2.0
39 stars 25 forks source link

[AU] [OB2] Consent search API improvements #314

Closed hasithakn closed 3 years ago

hasithakn commented 3 years ago

Description: This issue contain the documentation changes for consent search API.

Consent API response.

https://localhost:9446/api/openbanking/consent-mgt/uk300/account-confirmation&accountId=123456

Example response from consent API :

{
            "ConsentId": "48d74386-f501-4bc7-b1df-ff817c4c5852",
            "AccountResponseData": {
                "ConsentId": "48d74386-f501-4bc7-b1df-ff817c4c5852",
                "Status": "Expired",
                "CreationDateTime": "2021-04-10T11:25Z",
                "Permissions": [
                    "bank:accounts.basic:read",
                    "bank:accounts.detail:read",
                    "bank:transactions:read"
                ],
                "ExpirationDateTime": "2021-04-10T11:25:00Z",
                "StatusUpdateDateTime": "2021-04-10T11:25Z"
            },
            "InitiationTimestamp": "2021-04-10T11:25:26Z",
            "Status": "Expired",
            "ClientId": "qB2Ncz9Oidt_KQatMbMUkM54eksa",
            "UserId": "admin@wso2.com@carbon.super",
            "DebtorAccount": [
                "30080012343456",
                "30080098763459",
                "30080098971337",
                "650-000-1",
                "650-000-2"
            ],
            "ConsentGivenTimestamp": "2021-04-10T11:25:30Z",
            "CollectionMethod": "PRIMARY",
            "JointAccountsData": [
                {
                    "UserId": "user1@wso2.com@carbon.Super",
                    "DebtorAccount": [
                        "650-000-1"
                    ]
                },
                {
                    "UserId": "user2@wso2.com@carbon.super",
                    "DebtorAccount": [
                        "650-000-1"
                    ]
                },
                {
                    "UserId": "user3@wso2.com@carbon.super",
                    "DebtorAccount": [
                        "650-000-2"
                    ]
                }
            ],
            "Metadata": {
                "sharing_duration_value": "360"
            }
        }

Suggested Labels: AU, OB2

Suggested Assignees:

Affected Product Version: OB 200

OS, DB, other environment details and versions:

Steps to reproduce:

Related Issues:

SSParamee commented 3 years ago

Updated and hidden till the WUM goes live in https://docs.wso2.com/display/OB200/Consent+Management+for+Australia

isharailanga commented 3 years ago

Doc is live now.