Skip to main content

CreateStakeHolderResponseBody

Response body for stakeholder creation

uidstring<uuid>

Unique identifier of the created stakeholder (null if creation failed)

Example: 123e4567-e89b-12d3-a456-426614174000
invalidRequest object

Stakeholder data to create

typestringrequired

Type of stakeholder (person or company)

Example: person
firstNamestring

First name of the person (required for type=person)

Example: John
lastNamestring

Last name of the person (required for type=person)

Example: Doe
companyNamestring

Company name (required for type=company)

Example: Acme Corporation
sirenstring

SIREN number for company (required for type=company)

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

Contact details of the company

  • Array [
  • emailstring

    Email address of the contact (required for type=person/company)

    Example: john.doe@example.com
    phoneNumberstring

    Phone number of the contact (not required)

    Example: 0123456789
    additionalInfosstring

    Additional infos of the contact (not required)

  • ]
  • isActivebooleanrequired

    Contact active status of the company or person

    faxstring

    Fax of the company

    functionstring

    Function of the person

    errorstring

    Error message (present only if there was an error)

    Example: Your request could not be processed. Please try again later or contact support.
    CreateStakeHolderResponseBody
    {
    "uid": "123e4567-e89b-12d3-a456-426614174000",
    "invalidRequest": {
    "type": "person",
    "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"
    },
    "error": "Your request could not be processed. Please try again later or contact support."
    }