Skip to main content

SaveStakeHolderResponseBody

Response body for save stakeholder operations

uidstring<uuid>required

Unique identifier of the stakeholder

Example: 123e4567-e89b-12d3-a456-426614174000
typestringrequired

Type of stakeholder (person or company)

Example: person
firstNamestring

First name of the stakeholder (null for companies)

Example: John
lastNamestring

Last name of the stakeholder (null for companies)

Example: Doe
namestringrequired

Full name of the stakeholder (null for person, company name required)

Example: Stonal
sirenstring

SIREN number of the companies (null for persons)

Example: 123456789
addressstring

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 [
  • phoneNumberstring

    Phone number of the contact

    Example: 0123456789
    additionalInfosstring

    Additional infos of the contact

    Example: Some additional infos
    emailstring

    Email address required for person and company

    Example: john.doe@example.com
  • ]
  • contracts object[]required

    Stakeholder contracts list

  • Array [
  • idstringrequired

    Id of the contract

    typestringrequired

    Type of the contract

    Example: LEASE
    codestringrequired

    Code of the contract

    labelstring

    Label of the contract

  • ]
  • isActivebooleanrequired

    Active status of the stakeholder

    faxstring

    Fax of the company

    functionstring

    Function of the person

    stakeHolderView

    Stakeholder details (included when the save operation is successful)

    SaveStakeHolderResponseBody
    {
    "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"
    }