List of reference
GET/parent-companies/:parentCompanyID/references
List of reference
Request
Query Parameters
offset number
Default value: 0
limit number
Possible values: >= 1
Default value: 10
creation_from string
creation_to string
Responses
- 200
success - paginated list of customers
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
]
]
id uuidrequired
The references ID.
companyId uuidrequired
The company in which the reference is part of.
created stringnullablerequired
The date of creation of the reference.
tag stringnullable
The tag of the reference.
entities
object[]
required
id uuidnullable
The ID of the aggregation entity.
type stringnullable
Possible values: [customer
, prospect
, relation
]
The type of the aggregation entity.
access
object[]
required
managerId uuidrequired
The ID of the manager who has access to the reference.
primary boolean
Whether the manager is the primary contact for the reference.
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"companyId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created": "2024-01-01T00:00:00.000Z",
"tag": "VIP",
"entities": [
{
"id": "e1f2d3c4-b5a6-7b8c-9d0e-f1a2b3c4d5e6",
"type": "customer"
}
],
"access": [
{
"managerId": "e1f2d3c4-b5a6-7b8c-9d0e-f1a2b3c4d5e6",
"primary": true
}
]
}
]
Loading...