Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

curl 'http://localhost:8300/reports/' \

-H 'Accept: */*' \
-H 'Accept-Language: en-US,en;q=0.9' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json' \
-H 'Origin: http://localhost:3000' \
-H 'Referer: http://localhost:3000/' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-site' \
-H 'Secure-Session-ID: 4b6784ae-8b21-40eb-afbe-66c5a06af166' \
-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36 Edg/108.0.1462.54' \
-H 'sec-ch-ua: "Not?A_Brand";v="8", "Chromium";v="108", "Microsoft Edge";v="108"'
\
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "Windows"' \
--data-raw '{"name":"01_Tpet","deleteOnDownload":true,"view":{"id":"8bc514f0-
fb56-46c6-9ac0-84647d458796","filter":{"datasetId":"all_orders","parameters":
[{"name":"businessPartner","type":"businessPartner","value":
{"operation":"equals","value":[{"id":"0f861592-6c43-44ad-b865-
e6504e108931","name":"007941529"},{"id":"2b045f11-31e5-4233-af0c-
44f822731f3c","name":"TEST850"}]}}]},"offset":0,"columns":
["orderNumber","businessPartner","header.totalAmount","header.orderDate","orderStat
us"],"entityType":"Order","name":"01_Tpet","userId":"8ae578df-9267-4a47-bb68-
fc9d0d086a01","companyId":"2a7a925a-7567-44e0-b3a5-
fa38efb6d2cd","environment":"production","sharedWithIds":[],"sort":
{"sortBy":"header.orderDate","sortOrder":"desc"},"count":20,"aggregationRequests":
[],"template":false,"owner":{"id":"8ae578df-9267-4a47-bb68-
fc9d0d086a01","firstName":"syncrofy","lastName":"syncrofy","fullName":"syncrofy
syncrofy"},"sharedWithUsers":[],"favorite":true,"searchAfterNext":
[1667347200000],"lastOffset":0},"multilineReport":"itemIdentifier","includeXMLMetaD
ata":false,"xmlConfigId":null}' \
--compressed

You might also like