configureNewOrganisation
Configure a new Organisation.
This creates a new provider organisation with certain types (audience) like notary, insurance_agent and allowed template ids (like personal_details, wwft) the member contact name and member contact email will be used to sent a connection request. This member will become via the identity service part of the newly created organisation with the given permission related to this newly created organisation.
Configuration of a new organisation is allowed for Member Identity logged in people with a LINCKR_ADMIN role.
Possible exception(s) that can be thrown:
- Validation Exception when an organisation already exists with the same name and businessLocation
- Validation Exception when the email already exists for another organisation
- Validation Exception when the web id for an organisation already exists
- Validation Exception when the assigned permissions for the member are not found
- Validation Exception when the templateId used for configuring the organisation does not exist
configureNewOrganisation(
organisationConfiguration: OrganisationConfigurationInput!
memberContact: MemberContactInput!
): ID!
Arguments
configureNewOrganisation.organisationConfiguration ● OrganisationConfigurationInput! non-null input
configureNewOrganisation.memberContact ● MemberContactInput! non-null input
Type
ID scalar
The
IDscalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as"4") or integer (such as4) input value will be accepted as an ID.