POST api/OuterGateAis/provideConsent
Request Information
URI Parameters
None.
Body Parameters
OuterAisProvideConsentInName | Description | Type | Additional information |
---|---|---|---|
RedirectOk | string |
Required |
|
RedirectKo | string |
None. |
|
UserId | string |
Required |
|
ProviderId | string |
None. |
|
ProductCode | string |
None. |
|
AccountNature | AisAccountNature |
Required |
|
ConsentType | AisConsentType |
Required |
|
OwnerName | string |
None. |
|
OwnerEmail | string |
None. |
|
RequestId | string |
None. |
|
IsRecurring | boolean |
None. |
|
IsRenewal | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "RedirectOk": "sample string 1", "RedirectKo": "sample string 2", "UserId": "sample string 3", "ProviderId": "sample string 4", "ProductCode": "sample string 5", "AccountNature": 0, "ConsentType": 0, "OwnerName": "sample string 6", "OwnerEmail": "sample string 7", "RequestId": "sample string 8", "IsRecurring": true, "IsRenewal": true }
application/xml, text/xml
Sample:
<OuterAisProvideConsentIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.Plugin.Payments.Services.Models.AIS"> <AccountNature>Account</AccountNature> <ConsentType>Consent</ConsentType> <Email>sample string 7</Email> <IsRecurring>true</IsRecurring> <IsRenewal>true</IsRenewal> <KoRedirectUri>sample string 2</KoRedirectUri> <OkRedirectUri>sample string 1</OkRedirectUri> <Owner>sample string 6</Owner> <ProductCode>sample string 5</ProductCode> <ProviderId>sample string 4</ProviderId> <RequestId>sample string 8</RequestId> <UserId>sample string 3</UserId> </OuterAisProvideConsentIn>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OuterAisProvideConsentOutName | Description | Type | Additional information |
---|---|---|---|
Link | string |
None. |
|
Status | string |
None. |
|
IsOk | boolean |
None. |
|
FaultClass | string |
None. |
|
FaultCode | string |
None. |
|
FaultMessage | string |
None. |
|
FaultLayer | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "IsOk": true, "Link": "sample string 1", "Status": "sample string 2" }
application/xml, text/xml
Sample:
<OuterAisProvideConsentOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.Plugin.Payments.Services.Models.AIS"> <FaultClass>sample string 4</FaultClass> <FaultCode>sample string 5</FaultCode> <FaultLayer>sample string 7</FaultLayer> <FaultMessage>sample string 6</FaultMessage> <IsOk>true</IsOk> <ShowOk>true</ShowOk> <Link>sample string 1</Link> <Status>sample string 2</Status> </OuterAisProvideConsentOut>