Authorization: Bearer ********************
{
"departmentCode": "/department-codes/1",
"dateStart": "2019-08-24",
"dateFinish": "2019-08-24",
"scheme": "/calculation-schemes/1"
}
curl --location --request POST 'https://mock.apidog.com/m1/463678-0-default/reports/bonuses' \
--header 'Content-Type: application/json' \
--data-raw '{
"departmentCode": "/department-codes/1",
"dateStart": "2019-08-24",
"dateFinish": "2019-08-24",
"scheme": "/calculation-schemes/1"
}'
{
"deletedAt": "2019-08-24T14:15:22Z",
"id": 1,
"departmentCode": {
"code": "string"
},
"dateStart": "2019-08-24",
"dateFinish": "2019-08-24",
"scheme": {
"id": 1,
"label": "string"
},
"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"
},
"items": [
{
"id": 0,
"salesDepartment": "string",
"serialNumber": 0,
"manager": {
"id": 1,
"firstname": "string",
"surname": "string",
"phone": "string",
"email": "user@example.com",
"codes": [],
"roles": [],
"partner": {
"id": "string",
"name": "string"
}
},
"totalCommerceUsd": 0,
"totalCommerceRub": 0,
"weight": 0,
"hlgUsd": 0,
"hlgRub": 0,
"insurance": 0,
"insuranceUnsubscription": 0,
"packing": 0,
"exceptionItems": 0,
"personalBonuses": 0,
"managingClients": 0,
"irs": 0,
"cash": 0,
"fromSalesDepartment": 0
}
]
}