StakeHolderView
Represents a stakeholder (person or company)
Unique identifier of the stakeholder
##default123e4567-e89b-12d3-a456-426614174000Type of stakeholder (person or company)
##defaultpersonFirst name of the stakeholder (null for companies)
##defaultJohnLast name of the stakeholder (null for companies)
##defaultDoeFull name of the stakeholder (null for person, company name required)
##defaultStonalSIREN number of the companies (null for persons)
##default123456789Address of the company
##defaultPostal code of the company
##defaultCity of the company
##defaultExternal code of the company
##defaultcontactsDetails object[]
List of contact details of the stakeholder
Phone number of the contact
##default0123456789Additional infos of the contact
##defaultSome additional infosEmail address required for person and company
##defaultjohn.doe@example.comDate of creation of the contact
##default2020-01-01contracts object[]
Stakeholder contracts list
Id of the contract
##defaultType of the contract
##defaultLEASECode of the contract
##defaultLabel of the contract
##defaultAsset stonal ids linked of the contract
##defaultActive status of the stakeholder
falseFax of the company
##defaultFunction of the person
##defaultDate of creation of the stakeholder
##default2024-01-15Date of last update of the stakeholder
##default2024-11-10T14:30:00{
"uid": "123e4567-e89b-12d3-a456-426614174000",
"type": "person",
"firstName": "John",
"lastName": "Doe",
"name": "Stonal",
"siren": "123456789",
"address": "##default",
"postalCode": "##default",
"city": "##default",
"externalCode": "##default",
"contactsDetails": [
{
"phoneNumber": "0123456789",
"additionalInfos": "Some additional infos",
"email": "john.doe@example.com",
"creationDate": "2020-01-01"
}
],
"contracts": [
{
"id": "##default",
"type": "LEASE",
"code": "##default",
"label": "##default",
"assetUids": [
"string"
]
}
],
"isActive": false,
"fax": "##default",
"function": "##default",
"creationDate": "2024-01-15",
"updatedAt": "2024-11-10T14:30:00"
}