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
Fax of the company
Function of the person
Refers to the stakeholder hierarchy only (not the asset perimeter or a contract): uid of this stakeholder's parent company — the mother company for a company, the attachment company for a person
030f134a-fb24-4a16-8acb-d29d9ba50077phoneNumbers object[]
Qualified phone numbers of the stakeholder
Value of the coordinate (phone number or email)
0611223344Qualifier of the coordinate
MobileWhether this is the primary coordinate of its type
trueemails object[]
Qualified emails of the stakeholder
Value of the coordinate (phone number or email)
0611223344Qualifier of the coordinate
MobileWhether this is the primary coordinate of its type
trueDate 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": "string",
"postalCode": "string",
"city": "string",
"externalCode": "string",
"contactsDetails": [
{
"email": "john.doe@example.com",
"phoneNumber": "0123456789",
"additionalInfos": "string"
}
],
"isActive": true,
"fax": "string",
"function": "string",
"parentUid": "030f134a-fb24-4a16-8acb-d29d9ba50077",
"phoneNumbers": "Unknown Type: array,null",
"emails": "Unknown Type: array,null",
"creationDate": "2021-01-01"
}