Skip to main content

StakeHolderView

Represents a stakeholder (person or company)

uidstring<uuid>required

Unique identifier of the stakeholder

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

Type of stakeholder (person or company)

Default value:
Example: person
firstNamestring | nullnullable

First name of the stakeholder (null for companies)

Default value:
Example: John
lastNamestring | nullnullable

Last name of the stakeholder (null for companies)

Default value:
Example: Doe
namestringrequired

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

Default value:
Example: Stonal
sirenstring | nullnullable

SIREN number of the companies (null for persons)

Default value:
Example: 123456789
addressstring | nullnullable

Address of the company

Default value:
postalCodestring | nullnullable

Postal code of the company

Default value:
citystring | nullnullable

City of the company

Default value:
externalCodestring | nullnullable

External code of the company

Default value:
contactsDetails object[]

List of contact details of the stakeholder

  • Array [
  • phoneNumberstring | nullnullable

    Phone number of the contact

    Default value:
    Example: 0123456789
    additionalInfosstring | nullnullable

    Additional infos of the contact

    Default value:
    Example: Some additional infos
    emailstring | nullnullable

    Email address required for person and company

    Default value:
    Example: john.doe@example.com
    creationDatestring | nullnullable

    Date of creation of the contact

    Default value:
    Example: 2020-01-01
  • ]
  • phoneNumbers object[]

    Qualified phone numbers of the stakeholder

  • Array [
  • valuestringrequired

    Value of the coordinate (phone number or email)

    Default value:
    Example: 0611223344
    typestringrequired

    Qualifier of the coordinate

    Default value:
    Example: Mobile
    isPrimarybooleanrequired

    Whether this is the primary coordinate of its type

    Default value: false
    Example: true
  • ]
  • emails object[]

    Qualified emails of the stakeholder

  • Array [
  • valuestringrequired

    Value of the coordinate (phone number or email)

    Default value:
    Example: 0611223344
    typestringrequired

    Qualifier of the coordinate

    Default value:
    Example: Mobile
    isPrimarybooleanrequired

    Whether this is the primary coordinate of its type

    Default value: false
    Example: true
  • ]
  • contracts object[]

    Stakeholder contracts list

  • Array [
  • idstringrequired

    Id of the contract

    Default value:
    typestringrequired

    Type of the contract

    Default value:
    Example: LEASE
    codestringrequired

    Code of the contract

    Default value:
    labelstring | nullnullable

    Label of the contract

    Default value:
    assetUidsstring[]nullable

    Asset stonal ids linked of the contract

    Default value:
    assetChildrenUidsstring[]nullable

    Children assets stonal ids linked of the contract

    Default value:
  • ]
  • contractTypesstring[]required

    Derived contact sub-type (read-only): the distinct holder-type codes of the stakeholder's active (non-terminated) contracts. Empty when the stakeholder has no active contract.

    Default value:
    Example: ["LEASE","MAINTENANCE"]
    isActivebooleanrequired

    Active status of the stakeholder

    Default value: false
    faxstring | nullnullable

    Fax of the company

    Default value:
    functionstring | nullnullable

    Function of the person

    Default value:
    parentUidstring | nullnullable

    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

    Default value:
    Example: 030f134a-fb24-4a16-8acb-d29d9ba50077
    parent object
    oneOf
    uidstringrequired

    Uid of the parent

    Default value:
    Example: 030f134a-fb24-4a16-8acb-d29d9ba50077
    namestringrequired

    Name of the parent

    Default value:
    Example: Acme Corp
    sirenstring | nullnullable

    SIREN of the parent

    Default value:
    Example: 552100554
    hasChildrenbooleanrequired

    Refers to the stakeholder hierarchy only (not the asset perimeter or a contract): whether this stakeholder has at least one child — a company's subsidiaries or the persons attached to it. Fetch the children with ?parentUid= on the search endpoint.

    Default value: false
    Example: true
    creationDatestring | nullnullable

    Date of creation of the stakeholder

    Default value:
    Example: 2024-01-15
    updatedAtstring | nullnullable

    Date of last update of the stakeholder

    Default value:
    Example: 2024-11-10T14:30:00
    StakeHolderView
    {
    "uid": "123e4567-e89b-12d3-a456-426614174000",
    "type": "person",
    "firstName": "John",
    "lastName": "Doe",
    "name": "Stonal",
    "siren": "123456789",
    "address": "",
    "postalCode": "",
    "city": "",
    "externalCode": "",
    "contactsDetails": "",
    "phoneNumbers": "",
    "emails": "",
    "contracts": "",
    "contractTypes": [
    "LEASE",
    "MAINTENANCE"
    ],
    "isActive": false,
    "fax": "",
    "function": "",
    "parentUid": "030f134a-fb24-4a16-8acb-d29d9ba50077",
    "parent": {
    "uid": "030f134a-fb24-4a16-8acb-d29d9ba50077",
    "name": "Acme Corp",
    "siren": "552100554"
    },
    "hasChildren": true,
    "creationDate": "2024-01-15",
    "updatedAt": "2024-11-10T14:30:00"
    }