doPeriodic method should be called at least once a day to deposit transactions and update the AEA database. This method generates a Z report summarizing the day’s transactions.
Request
JSON-RPC 2.0All methods in TweezerComm follow a JSON-RPC 2.0 structure. See Integration for more details on how the requests are structured and sent.
- The
methodfield must be set todoPeriodic. - The service must be set to
ashraitin theparams. - An optional string specifying the report format (
narrow,medium,wide, orxml)
forceUpdateParams boolean flag to force the terminal to update its retailer parameters.
Request Parameters
This method’s parameters are a list of values, not a dictionary.- Service Name (string, mandatory): The service name. Currently, this is a fixed value: ashrait.
- Report Format (string, optional): The format of the report. Values include narrow, medium, wide, or xml.
- Force Update (boolean, optional): An optional dictionary with a
forceUpdateParamskey. When true, it forces the terminal to update the retailer parameters.
Response
A successful request will return the following response:Response Parameters
The table below describes the response parameters for this method.| Name | Type | Description |
|---|---|---|
statusCode | integer | Operation status. A value of 0 indicates OK. |
statusMessage | string | Operation message (e.g., ok) |
report | string | End of day / Z report content |
ackNumber | string | Acknowledge number of this batch |
queriedTransactions | string array | Transactions of the current batch |