SaveStakeHolderRequestBody
Stakeholder data to save
typestringrequired
Type of stakeholder (person or company)
Example:
personuidstring
Unique identifier of the stakeholder (must match the path parameter)
Example:
123e4567-e89b-12d3-a456-426614174000firstNamestring
First name of the person (required of type=person)
Example:
JohnlastNamestring
Last name of the person (required of type=person)
Example:
DoecompanyNamestring
Company name (required of type=company)
Example:
Acme Corporationsirenstring
SIREN number of the company (required of type=company)
Example:
123456789addressstring
Address of the company
postalCodestring
Postal code of the company
citystring
City of the company
externalCodestring
External code of the company
contactsDetails object[]required
List of contact details of the stakeholder
Array [
emailstringrequired
Email address of the contact (required of type=person/company)
Example:
john.doe@example.comphoneNumberstring
Phone number of the contact (not required)
Example:
0123456789additionalInfosstring
Additional infos of the contact (not required)
]
isActivebooleanrequired
Active status of the stakeholder
faxstring
Fax of the company
functionstring
Function of the person
SaveStakeHolderRequestBody
{
"type": "person",
"uid": "123e4567-e89b-12d3-a456-426614174000",
"firstName": "John",
"lastName": "Doe",
"companyName": "Acme Corporation",
"siren": 123456789,
"address": "string",
"postalCode": "string",
"city": "string",
"externalCode": "string",
"contactsDetails": [
{
"email": "john.doe@example.com",
"phoneNumber": "0123456789",
"additionalInfos": "string"
}
],
"isActive": true,
"fax": "string",
"function": "string"
}