SaveStakeHolderResponseBody
Response body for save stakeholder operations
Unique identifier of the stakeholder
123e4567-e89b-12d3-a456-426614174000Type of stakeholder (person or company)
personFirst name of the stakeholder (null for companies)
JohnLast name of the stakeholder (null for companies)
DoeFull name of the stakeholder (null for person, company name required)
StonalSIREN number of the companies (null for persons)
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
Phone number of the contact
0123456789Additional infos of the contact
Some additional infosEmail address required for person and company
john.doe@example.comcontracts object[]required
Stakeholder contracts list
Id of the contract
Type of the contract
LEASECode of the contract
Label of the contract
Active status of the stakeholder
Fax of the company
Function of the person
Stakeholder details (included when the save operation is successful)
{
"uid": "123e4567-e89b-12d3-a456-426614174000",
"type": "person",
"firstName": "John",
"lastName": "Doe",
"name": "Stonal",
"siren": 123456789,
"address": "string",
"postalCode": "string",
"city": "string",
"externalCode": "string",
"contactsDetails": [
{
"phoneNumber": "0123456789",
"additionalInfos": "Some additional infos",
"email": "john.doe@example.com"
}
],
"contracts": [
{
"id": "string",
"type": "LEASE",
"code": "string",
"label": "string"
}
],
"isActive": true,
"fax": "string",
"function": "string"
}