Create stakeholder
Creates a stakeholder and adds it to the specified package. A stakeholder is an entity that has an interest in a package; a single stakeholder may carry multiple actors (the actions it must take, such as filling forms, approving, signing or receiving).
Three types of stakeholder can be created, selected with the Type property:
- person - a single individual. Only that person can act on the package.
- group - a group of people, defined inline through
Members. Any member can form fill, approve or sign on behalf of the whole group, and each member receives a unique URL. As soon as one member acts, the others can no longer act. - contactGroup - references a contact group already created in the NSEV
WebPortal by its
ContactGroupCode, instead of listing members inline. It behaves like a group stakeholder. A contactGroup stakeholder only exists while the package is in draft; once the package moves to pending it is converted to a group stakeholder, while the contact group code is retained.
Actors can be supplied inline through Actors. The actor parameters are the same
as for Create actor.
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
The target package's unique identifier A package's unique identifier
"00000000-0000-0000-0000-000000000000"
Body
Parameters for creating a stakeholder
- Person stakeholder
- Group stakeholder
- Contact group stakeholder
Parameters for creating a stakeholder
The type of stakeholder, and the discriminator across the stakeholder variants.
- Person - a single individual; only that person can act.
- Group - a group of people defined inline; any member may act on behalf of the group, and once one member acts the others cannot.
- ContactGroup - references a contact group created in the WebPortal by its code; behaves like a group. Exists only while the package is in draft and is converted to Group when the package moves to pending.
- Undecided - the implicit stakeholder a package starts with before any stakeholder has been assigned; it cannot be deleted.
Person A country's 2 letter ISO code (ISO 639-1)
"en"
Last name of the stakeholder
150"hello@world.test"
External reference to this resource set by the calling application. NSEV does not use this value itself. When filtering packages, this matches the package-level external reference only, not document or field references.
256First name of the stakeholder
150Date of birth in YYYY-MM-DD format. Activating mandated signer validation in the configuration may make this parameter effectively required.
Phone number used to receive an SMS OTP. Always include the country code (for example +32xxxxxxxxx); use a leading plus sign rather than "00" as the international dialing prefix, and never include spaces.
"+32xxxxxxxxx"
Additional stakeholder properties configured in the Contact Properties Settings of the configuration - any extra stakeholder information the administrator requires (for example maiden name or nationality). Two properties are configured by default in every environment: BeId (the stakeholder's national security number) and BeLawyer (their lawyer ID). When a mandated signing rule is applied to a property, that property becomes mandatory and its value is checked against the data extracted from the signing certificate or returned by the signing service; a match is required for the stakeholder to be mandated to sign. Use Get signing methods to see which additional properties are mandatory for each signing method.
The actions to be performed ( a list of actors )
Signs one or more signing fields
- Signer
- Approver
- Form filler
- Receiver
Response
Stakeholder was created
- Undecided stakeholder
- Person stakeholder
- Group stakeholder
- Contact group stakeholder
Unspecified stakeholder
The type of stakeholder
Undecided A stakeholder's unique identifier
"00000000-0000-0000-0000-000000000000"
A package's unique identifier
"00000000-0000-0000-0000-000000000000"
The actions to be performed
Signs one or more signing fields
- Signer
- Receiver
- Approver
- Form filler
External reference to this resource set by the calling application. NSEV does not use this value itself. When filtering packages, this matches the package-level external reference only, not document or field references.
256