Listar todas as atividades
GET
https://api.cubosuite.com.br/activities
Descrição
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.cubosuite.com.br/activities?limit=10&page=1&orderColumn=start&orderDirection=asc'
Response Response Example
200 - Sucesso
{
"meta": {
"total": 1,
"per_page": 10,
"current_page": 1,
"last_page": 1,
"first_page": 1,
"first_page_url": "/?page=1",
"last_page_url": "/?page=1",
"next_page_url": "/?page=2",
"previous_page_url": null
},
"data": [
{
"id": 90,
"title": "Contato via Ligação",
"type": "call",
"status": "completed",
"start": "2021-06-30T17:19:48.000-03:00",
"end": "2021-06-30T17:19:48.000-03:00",
"annotation": "",
"userId": 36,
"dealId": 1070,
"companyId": 3,
"completedAt": null,
"createdAt": "2021-06-30T20:20:27.000-03:00",
"updatedAt": null
}
]
}
Requisição
Parâmetros Query
limit
number
opcional
Exemplo:
10
page
number
opcional
Exemplo:
1
orderColumn
string
opcional
Exemplo:
start
orderDirection
string
opcional
Exemplo:
asc