Download the X report of a till
Downloads the X report of a till as a file: the same report as xreport, headed X. Accept: application/pdf gives the PDF, text/html the HTML, and anything else gives JSON with the file base64 encoded.
Required permissions: TILL_OPERATION
get/tenants/{tenantUid}/stores/{storeUid}/tills/{tillUid}/xreport/download
Authorizations
AuthorizationstringRequired
Access token recevied after user login with a deviceToken
Path parameters
storeUidstringRequiredPattern:
Reference to a Store.
^[A-Za-z0-9-_]+tillUidstringRequiredPattern:
Reference to a till.
^[A-Za-z0-9-_]+tenantUidstringRequiredPattern:
Reference to a tenant.
^[A-Za-z0-9-_]+Responses
200
Based on the Accept header the response will be base64 json encoded or a raw file. application/octet-stream will return a binary file application/json will return a json with the file content base64 encoded.
contentstringRequired
base64 encoded
contentTypestringRequired
mime type
filenamestringRequired
404
Linking failed. Ther error message will have information about what failed.
application/json
get/tenants/{tenantUid}/stores/{storeUid}/tills/{tillUid}/xreport/download
GET /v2/tenants/{tenantUid}/stores/{storeUid}/tills/{tillUid}/xreport/download HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"content": "text",
"contentType": "text",
"filename": "text"
}PreviousGet the X report of a till
NextGet X/Z-Report for a till on a specific date. Returns a ZReport object
Last updated
Was this helpful?

