Get the results of the client charges report as an xlsx file
Body·
application/json
- Type: string | nullFormat: uuidclient
Partner Id The client partner to filter by
- Type: string | nullFormat: uuidcost
Centre Id The cost centre id to filter by
- Type: stringFormat: datedate
From The start date in the charge date range
- Type: stringFormat: datedate
To The end date in the charge date range
- Type: string | nullFormat: uuidrevenue
Account Id The revenue account id to filter by
- Type: integerenumtransaction
Type Integer numbers.
values- Adhoc
Charge = 0 - Freight
Charge = 1 - Storage
Charge = 2 - Activity
Charge = 3
Responses
- 200
OK
Request Example for post/v1/reports/client-charges/xlsx
curl https://api.consignlyhq.com/v1/reports/client-charges/xlsx \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"dateFrom": "date (YYYY-MM-DD)",
"dateTo": "date (YYYY-MM-DD)",
"clientPartnerId": null,
"transactionType": "enum (AdhocCharge = 0, FreightCharge = 1, StorageCharge = 2, ActivityCharge = 3)",
"costCentreId": null,
"revenueAccountId": null
}'
No Body