Sys.Initialize
Checks whether REGOS: VCR can be used.
Checks REGOS: VCR availability, the number of unsent receipts in memory, and the number of available ZReports.
Input parameters
The method has no input parameters.
Request example
{
"id": 1,
"jsonrpc":"2.0",
"method":"Sys.Initialize",
"auth":"a2Fzc2E6a2FzMTIzNDU2"
}
Output parameters
| Name | Data type | Parameter description |
|---|---|---|
| TerminalID | string | Fiscal module ID |
| CurrentReceiptSeq | string | Number of the last receipt sent to the fiscal module |
| CurrentTime | string | Receipt date and time. String in YYYY-MM-DD HH:MM:SS format, where YYYY is the year, MM is the month, DD is the day, HH is the hour, MM is the minute, and SS is the second |
| ReceiptCount | int64 | Number of receipts in the current ZReport |
| ReceiptMaxCount | int64 | Maximum number of receipts |
| ZReportCount | int64 | Number of opened ZReports |
| ZReportMaxCount | int64 | Maximum number of ZReports |
| AvailablePersistentMemory | int64 | Available persistent memory |
| AvailableResetMemory | int64 | Available reset memory |
| AvailableDeselectMemory | int64 | Java Card memory |
| AppletVersion | string | Applet version |
Response example
The method returns the standard REGOS: VCR API response.
{
"id": 1,
"ok": true,
"result": {
"TerminalID": "VG298430008256",
"CurrentReceiptSeq": "2193",
"CurrentTime": "2024-06-03 11:55:26",
"ReceiptCount": 0,
"ReceiptMaxCount": 192,
"ZReportCount": 67,
"ZReportMaxCount": 256,
"AvailablePersistentMemory": 906,
"AvailableResetMemory": 3654,
"AvailableDeselectMemory": 3654,
"AppletVersion": "0322"
},
"jsonrpc": "2.0"
}