CreateStakeHolderResponseBody
Response body for stakeholder creation
Unique identifier of the created stakeholder (null if creation failed)
##default123e4567-e89b-12d3-a456-426614174000invalidRequest object
Invalid request details (present only if there were validation errors)
Type of stakeholder (person or company)
##defaultpersonFirst name of the person (required for type=person)
##defaultJohnLast name of the person (required for type=person)
##defaultDoeCompany name (required for type=company)
##defaultAcme CorporationSIREN number for company (required for type=company)
##default123456789Address of the company
##defaultPostal code of the company
##defaultCity of the company
##defaultExternal code of the company
##defaultcontactsDetails object[]
Contact details of the company
Email address of the contact (required for type=person/company)
##defaultjohn.doe@example.comPhone number of the contact (not required)
##default0123456789Additional infos of the contact (not required)
##defaultContact active status of the company or person
falseFax of the company
##defaultFunction of the person
##defaultError message (present only if there was an error)
##defaultYour request could not be processed. Please try again later or contact support.{
"uid": "123e4567-e89b-12d3-a456-426614174000",
"invalidRequest": {
"type": "person",
"firstName": "John",
"lastName": "Doe",
"companyName": "Acme Corporation",
"siren": "123456789",
"address": "##default",
"postalCode": "##default",
"city": "##default",
"externalCode": "##default",
"contactsDetails": [
{
"email": "john.doe@example.com",
"phoneNumber": "0123456789",
"additionalInfos": "##default"
}
],
"isActive": false,
"fax": "##default",
"function": "##default"
},
"error": "Your request could not be processed. Please try again later or contact support."
}