post https://api.vantage.sh/v2/costs/data_exports
Generate a DataExport of costs.
Log in to see full request history
Responses
202The data export has been queued and will be available at the location specified in the Location header.
Generate a DataExport of costs.
202The data export has been queued and will be available at the location specified in the Location header.
xxxxxxxxxx
11curl --request POST \
--url https://api.vantage.sh/v2/costs/data_exports \
--header 'accept: application/json' \
--header 'content-type: application/x-www-form-urlencoded' \
--data-urlencode settings%5Binclude_credits%5D=false \
--data-urlencode settings%5Binclude_refunds%5D=false \
--data-urlencode settings%5Binclude_discounts%5D=true \
--data-urlencode settings%5Binclude_tax%5D=true \
--data-urlencode settings%5Bamortize%5D=true \
--data-urlencode settings%5Bunallocated%5D=false \
--data-urlencode settings%5Baggregate_by%5D=cost
Try It!
to start a request and see the response here! Or choose an example: