Create a new manager
POST/companies/:companyID/managers
Create a new manager
Request
- application/json
Body
required
Array [
]
Array [
]
Array [
]
The name of the manager
The email of the manager
Possible values: [Conseiller, Conseiller cabinet, Admin cabinet, Admin groupe, Assistant, Assistant cabinet, Externe, Responsable conformité]
The role to assign to the manager. Takes precedence over claims. Possible values: Conseiller, Conseiller cabinet, Admin cabinet, Admin groupe, Assistant, Assistant cabinet, Externe, Responsable conformité
Possible values: [billing, managers_read, manager_invite, clients_invite, clients_reads, management]
informations
object
Possible values: [physical, legal]
Possible values: [mr, mrs]
Mandatory if 'personType' is 'physical'.
Mandatory if 'personType' is 'physical'.
Birth date of the manager
Identity document number
Identity document delivery date
Identity document expiration date
Death date of the manager
Mandatory if 'personType' is 'legal'.
legalExecutives
object[]
nullable
Possible values: <= 4
List of legal executives (max 4).
addresses
object[]
nullable
Possible values: <= 3
List of addresses (max 3).
Possible values: [domicile, professional, fiscal]
phones
object[]
nullable
Possible values: <= 3
List of phone numbers (max 3).
Possible values: [landline, mobile]
Responses
- 200
success - manager created
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Array [
]
providers
object
nullable
Provider IDs associated with the entity. This field contains a mapping where each key represents a provider name and the value is an array of provider-specific IDs for this entity
prisme
object
nullable
specific
object
nullable
Value specific to the manager with arbitrary structure
informations
object
Possible values: [physical, legal]
Possible values: [mr, mrs]
Mandatory if 'personType' is 'physical'.
Mandatory if 'personType' is 'physical'.
Birth date of the manager
Identity document number
Identity document delivery date
Identity document expiration date
Death date of the manager
Mandatory if 'personType' is 'legal'.
legalExecutives
object[]
nullable
Possible values: <= 4
List of legal executives (max 4).
addresses
object[]
nullable
Possible values: <= 3
List of addresses (max 3).
Possible values: [domicile, professional, fiscal]
phones
object[]
nullable
Possible values: <= 3
List of phone numbers (max 3).
Possible values: [landline, mobile]
Creation date
Last update date
Possible values: [Conseiller, Conseiller cabinet, Admin cabinet, Admin groupe, Assistant, Assistant cabinet, Externe, Responsable conformité]
The role assigned to the manager. Possible values: Conseiller, Conseiller cabinet, Admin cabinet, Admin groupe, Assistant, Assistant cabinet, Externe, Responsable conformité
Possible values: [billing, managers_read, manager_invite, clients_invite, clients_reads, management]
{
"id": "adfdfaca-48f0-4f3b-b30a-c6d97293090c",
"name": "Jean dupont",
"email": "jean.dupont@company.tld",
"providers": {
"prisme": {
"id": "id1",
"profile": "provider1"
}
},
"specific": {},
"informations": {
"personType": "physical",
"civility": "mr",
"lastName": "Dupont",
"firstName": "Jean",
"birthDate": "string",
"birthTown": "Paris",
"birthCountry": "FR",
"nationality": "French",
"idNumber": "string",
"idDeliveryDate": "string",
"idExpirationDate": "string",
"deathDate": "string",
"legalSocialReason": "Acme SAS",
"legalSiren": "123456789",
"legalSiret": "12345678900012",
"legalApeCode": "6630Z",
"legalRegistrationCity": "Paris",
"legalRegistrationCountry": "FR",
"legalRegistrationCreationDate": "1994-10-29",
"legalRegistrationCessationDate": "2024-02-11",
"legalExecutives": [
{
"firstName": "Jeanne",
"lastName": "Doe",
"function": "PDG"
},
{
"firstName": "Jacques",
"lastName": "Dupont",
"function": "Directeur Général"
}
],
"addresses": [
{
"type": "professional",
"street": "1 rue de la Paix",
"supplement": "Bâtiment B",
"city": "Paris",
"postalCode": "75001",
"country": "FR"
}
],
"phones": [
{
"type": "mobile",
"countryCode": "+33",
"number": "612345678"
}
],
"createdAt": "string",
"updatedAt": "string"
},
"role": "Conseiller"
}