List Draw Count

🔒

Requires read_data access scope.

The List Draw Count API retrieves records of draw counts based on the specified filters.

This enables users to:

  1. Track drawer open and close events.
  2. Analyze drawer usage within specific time periods.
  3. Retrieve event data for audit or reporting purposes.

Request Parameters

Public Request Parameters

📘

Public Request Parameters

Query Parameters

FieldTypeDescriptionExample
actionstringEvent type, including open or close.open
start_timestringFilter draw count records created at or before this date.2016-01-18T23:41:00Z
end_timestringFilter draw count records created at or after this date.2016-01-18T23:41:00Z
pagestringPage number.1
page_sizestringLimit of records per page.20

Response Explanation

Public Response Parameters

📘

Public Response Parameters

Error Response

Error responses in the API can be represented using two different fields: errors and error. Both fields provide details about issues encountered during request processing. Below is an explanation of the fields with their respective examples and descriptions.

FieldTypeExampleDescription
errorString "page not found"Indicates an error encountered during the process

Error Detail

Status CodeMessagePossible ReasonExample Response
400Bad RequestInvalid input format or request structure (e.g., missing required fields or incorrect data types).Bad Request
UnauthorizedThe request is missing valid authentication credentials or the credentials provided are invalid.Unauthorized
404Not foundScript's ID is empty or not provided"record not found"
401UnauthorizedOnly open data for specific stores.Please contact us if necessary."The shop has no permission."

API Structure Overview

Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!