CreateStakeHolderRequestBody
Request body for creating a new stakeholder
typestringrequired
Type of stakeholder (person or company)
Default value:
Example:
personfirstNamestring | nullnullable
First name of the person (required for type=person)
Default value:
Example:
JohnlastNamestring | nullnullable
Last name of the person (required for type=person)
Default value:
Example:
DoecompanyNamestring | nullnullable
Company name (required for type=company)
Default value:
Example:
Acme Corporationsirenstring | nullnullable
SIREN number for company (required for type=company)
Default value:
Example:
123456789addressstring | nullnullable
Address of the company
Default value:
postalCodestring | nullnullable
Postal code of the company
Default value:
citystring | nullnullable
City of the company
Default value:
externalCodestring | nullnullable
External code of the company
Default value:
contactsDetails object[]
Contact details of the company
Array [
emailstring | nullnullable
Email address of the contact (required for type=person/company)
Default value:
Example:
john.doe@example.comphoneNumberstring | nullnullable
Phone number of the contact (not required)
Default value:
Example:
0123456789additionalInfosstring | nullnullable
Additional infos of the contact (not required)
Default value:
]
isActivebooleanrequired
Contact active status of the company or person
Default value:
falsefaxstring | nullnullable
Fax of the company
Default value:
functionstring | nullnullable
Function of the person
Default value:
CreateStakeHolderRequestBody
{
"type": "person",
"firstName": "John",
"lastName": "Doe",
"companyName": "Acme Corporation",
"siren": "123456789",
"address": "",
"postalCode": "",
"city": "",
"externalCode": "",
"contactsDetails": "",
"isActive": false,
"fax": "",
"function": ""
}