Authorization: Bearer ********************curl --location -g --request GET 'https://mock.apidog.com/m1/463678-0-default/reports/sales?page=&pagination&exists[deletedAt]' \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": 1,
"deletedAt": "2019-08-24T14:15:22.123Z",
"departmentCode": {
"id": 1,
"deletedAt": "2019-08-24T14:15:22.123Z",
"code": "string"
},
"date": "2019-08-24T14:15:22.123Z",
"workingDays": 0,
"file": {
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"name": "string",
"path": "string",
"pathPreview": "string",
"size": 0,
"mimeType": "string",
"createdBy": {
"id": 1,
"firstname": "string",
"surname": "string",
"phone": "string",
"email": "user@example.com",
"codes": [
{
"id": 1,
"deletedAt": "2019-08-24T14:15:22.123Z",
"code": "string"
}
],
"departmentCode": {
"id": 1,
"deletedAt": "2019-08-24T14:15:22.123Z",
"code": "string"
},
"position": {
"id": 1,
"deletedAt": "2019-08-24T14:15:22.123Z",
"title": "string"
},
"group": {
"id": 1,
"deletedAt": "2019-08-24T14:15:22.123Z",
"title": "string"
},
"roles": [
{
"id": 1,
"deletedAt": "2019-08-24T14:15:22.123Z",
"title": "string",
"allServices": true,
"services": [
{
"id": 1,
"deletedAt": "2019-08-24T14:15:22.123Z",
"title": "string",
"departureCountry": {
"id": 1,
"deletedAt": "2019-08-24T14:15:22.123Z",
"title": "string"
},
"departureCity": {
"id": 1,
"deletedAt": "2019-08-24T14:15:22.123Z",
"title": "string",
"country": {
"id": 1,
"deletedAt": "2019-08-24T14:15:22.123Z",
"title": "string"
}
},
"isForwarding": false
}
]
}
],
"partner": {
"id": "string",
"name": "string"
}
},
"updatedBy": {
"id": 1,
"firstname": "string",
"surname": "string",
"phone": "string",
"email": "user@example.com",
"codes": [],
"roles": [],
"partner": {
"id": "string",
"name": "string"
}
},
"deletedAt": "2019-08-24T14:15:22.123Z",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
},
"status": {
"id": 1,
"label": "string"
},
"errorMessage": "string",
"completedDays": 0,
"percentWorked": 0,
"unworkedDays": 0,
"hlg": 0,
"forecastHlg": 0
}
],
"pagination": {
"first": 1,
"current": 1,
"last": 1,
"previous": 1,
"next": 1,
"total": 0
}
}