Authorization: Bearer ********************
{
"yearMonthFrom": "2019-08-24",
"yearMonthTo": "2019-08-24",
"department": "/department-codes/1",
"assignees": [
"/users/1"
],
"withAllClients": false
}
curl --location --request POST 'https://mock.apidog.com/m1/463678-0-default/reports/sales-customers' \
--header 'Content-Type: application/json' \
--data-raw '{
"yearMonthFrom": "2019-08-24",
"yearMonthTo": "2019-08-24",
"department": "/department-codes/1",
"assignees": [
"/users/1"
],
"withAllClients": false
}'
{
"deletedAt": "2019-08-24T14:15:22Z",
"id": 1,
"file": {
"uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
"name": "string",
"path": "string",
"size": 0,
"mimeType": "string",
"createdBy": {
"id": 1,
"firstname": "string",
"surname": "string",
"phone": "string",
"email": "user@example.com",
"departmentCode": {
"code": "string"
},
"position": {
"title": "string"
},
"group": {
"title": "string"
},
"codes": [
{
"code": "string"
}
],
"roles": [
{
"title": "string",
"allServices": true,
"services": [
{
"title": "string",
"departureCountry": {
"title": "string"
},
"departureCity": {
"title": "string",
"country": {
"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:22Z",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"pathPreview": "string"
},
"status": {
"id": 1,
"label": "string"
},
"department": {
"code": "string"
},
"errorMessage": "string",
"yearMonthFrom": "2019-08-24",
"yearMonthTo": "2019-08-24",
"withAllClients": false,
"assignees": [
{
"id": 1,
"firstname": "string",
"surname": "string",
"phone": "string",
"email": "user@example.com",
"codes": [],
"roles": [],
"partner": {
"id": "string",
"name": "string"
}
}
]
}