Home > @vsf-enterprise/sapcc-api > Endpoints > getConsent

Endpoints.getConsent() method

Get Consent

Signature:

getConsent(context: SapccIntegrationContext, props: GetConstentTemplateProps): Promise<ConsentTemplate>;

Parameters

Parameter Type Description
context SapccIntegrationContext An auto-generated value prepended to the method as a first parameter.
props GetConstentTemplateProps An object containing necessary props for get consent.

Returns:

Promise<ConsentTemplate>