SearchStakeHolderResponseBody
Response body for stakeholder search operations
Error message (present only if there was an error)
Your request could not be processed. Please try again later or contact support.result object[]
Collection of stakeholders matching the search criteria
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
Total number of stakeholders matching the search criteria
42Total number of pages available
5pageRequested object
Information about the requested page
Page number (zero-based)
0Number of items per page
10Field used for sorting
nameSort direction (ASC or DESC)
ASC{
"error": "Your request could not be processed. Please try again later or contact support.",
"result": [
{
"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"
}
],
"total": 42,
"totalPages": 5,
"pageRequested": {
"page": 0,
"size": 10,
"sort": "name",
"direction": "ASC"
}
}