Export Accounting Data into a BLOB file according to selected formats.

​

Use this method if you want to Export Accounting Data into a BLOB file and get a link for it. Permissions: All users.

Query Parameters

Headers

  • The Integration Key generated for API Authentication by the PAR OPS support team as part of the integration/partnership process.

Body·

Mandatory 'body' parameter, used to describe objects.

Model for AccountingData Export

  • Mandatory 'body' parameter, used to specify Export Format

  • Mandatory 'body' parameter, used to specify FromDate filter

  • Mandatory 'body' parameter, used to specify Export Method. Possible values: "CO" - Configured or "SO" - Sales Order Production Kitchen

  • Mandatory 'body' parameter, used to specify a list of Store IDs as positive integer numbers separated with commas. Set "all" - in any register - to handle all the Stores

  • Mandatory 'body' parameter, used to specify ThruDate filter

  • Mandatory 'body' parameter, used to specify Export Type. It can be empty if Method is "Sales Order Production Kitchen (SO)"

  • Optional 'body' parameter, used to specify StoreRollup Default value is false

Responses

Request Example for post/Export/AccountingData
curl /Export/AccountingData \
  --request POST \
  --header 'Content-Type: application/json-patch+json' \
  --header 'DCKey: YOUR_SECRET_TOKEN' \
  --data '{
  "FromDate": "",
  "ThruDate": "",
  "Stores": "",
  "Type": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
  "StoreRollup": false,
  "Method": "",
  "Format": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD"
}'
{
  "Data": null
}