Skip to main content

CreateMultiConsentPayload

Payload of the createMultiConsent mutation

union CreateMultiConsentPayload = CreateMultiConsentSuccessPayload | ConsentsNotAllInCreatedStatusRejection | ConsentsNotFoundRejection | TooManyChildConsentsRejection | ConsentsAlreadyLinkedToMultiConsentRejection

Possible types

CreateMultiConsentPayload.CreateMultiConsentSuccessPayload object

Success payload of the createMultiConsent mutation

CreateMultiConsentPayload.ConsentsNotAllInCreatedStatusRejection object

Rejection returned when all provided consents are not in created status

CreateMultiConsentPayload.ConsentsNotFoundRejection object

Rejection returned when a consent ID passed as input does not exist.

CreateMultiConsentPayload.TooManyChildConsentsRejection object

Rejection returned when trying to create a multi consent with too many child consents

CreateMultiConsentPayload.ConsentsAlreadyLinkedToMultiConsentRejection object

Rejection returned when a the consent is already linked to another multi consent

Returned by

createMultiConsent mutation