Create a reference
PUT/companies/:company-id/references
Create a reference
Request
- application/json
Body
required
Array [
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
- MOD1
- MOD2
Array [
]
]
Array [
]
The company in which the reference is part of.
The tag of the reference.
entities
object[]
required
Possible values: >= 1
general
object
nullable
entryDateIntoRelationship
object
anyOf
string
string
dateLastMeeting
object
anyOf
string
string
Possible values: [male, female]
Default value: male
birthDate
object
anyOf
string
string
deathDate
object
anyOf
string
string
Possible values: [none, inARelationship, civilUnion, remarried, pendingDivorce, single, deceased, widowed, married, freeUnion, domesticPartnership, divorced, cohabitation, separated]
marriageDate
object
anyOf
string
string
Possible values: [none, certificate, highSchool, bachelor, master, doctorate]
annualIncome
object
anyOf
string
number
dateEntryRelationship
object
anyOf
string
string
issueDate
object
anyOf
string
string
expirationDate
object
anyOf
string
string
classificationDate
object
anyOf
string
string
Possible values: [customer, prospect, relation]
updated
object
anyOf
string
string
information
object
nullable
Possible values: non-empty
Possible values: non-empty
managers
object[]
nullable
managers
object
nullable
Possible values: non-empty
nbManagers
object
nullable
Possible values: non-empty
bankAccounts
object
nullable
activities
object
nullable
details
object
nullable
Possible values: non-empty
Possible values: non-empty
Possible values: [person, company]
Possible values: [customer, prospect, relation]
Default value: customer
The type of the aggregation entity.
access
object[]
nullable
Responses
- 200
success - a reference information
- application/json
- Schema
- Example (from schema)
Schema
The references ID.
The company in which the reference is part of.
The date of creation of the reference.
The tag of the reference.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"companyId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created": "2024-01-01T00:00:00.000Z",
"tag": "VIP"
}