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

Endpoints.getAllConsents() method

Get all consents

Signature:

getAllConsents(context: SapccIntegrationContext, props: GetConstentTemplateListProps): Promise<ConsentTemplateList>;

Parameters

Parameter Type Description
context SapccIntegrationContext An auto-generated value prepended to the method as a first parameter.
props GetConstentTemplateListProps An object containing necessary props for getting all consents.

Returns:

Promise<ConsentTemplateList>