SaveStakeHolderRequestBody
Request body of creating or updating a stakeholder with a specific UID
Type of stakeholder (person or company)
personUnique identifier of the stakeholder (must match the path parameter)
123e4567-e89b-12d3-a456-426614174000First name of the person (required of type=person)
JohnLast name of the person (required of type=person)
DoeCompany name (required of type=company)
Acme CorporationSIREN number of the company (required of type=company)
123456789Address of the company
Postal code of the company
City of the company
External code of the company
contactsDetails object[]required
List of contact details of the stakeholder
Email address of the contact (required of type=person/company)
john.doe@example.comPhone number of the contact (not required)
0123456789Additional infos of the contact (not required)
Active status of the stakeholder
falseFax of the company
Function of the person
Date of creation of the stakeholder. Accepts a plain date (yyyy-MM-dd) or an ISO 8601 datetime; the time portion, if present, is ignored.
2021-01-01{
"type": "person",
"uid": "123e4567-e89b-12d3-a456-426614174000",
"firstName": "John",
"lastName": "Doe",
"companyName": "Acme Corporation",
"siren": "123456789",
"address": "",
"postalCode": "",
"city": "",
"externalCode": "",
"contactsDetails": [
{
"email": "john.doe@example.com",
"phoneNumber": "0123456789",
"additionalInfos": ""
}
],
"isActive": false,
"fax": "",
"function": "",
"creationDate": "2021-01-01"
}