GetTestPrinted
[POST] .../v1/pos/doccheque/gettestprinted
Gets test cheque print form. Use this method to generate a test receipt print form for a POS cash register template without closing a real sale cheque. The request filters by operating_cash_id, validates that the cash register ID is present and returns result.print_data with rendered test cheque data. This method is intended for template setup and diagnostics and does not perform a separate cashier lookup or RBAC permission check in the controller; missing operating_cash_id, template or rendering failures and storage errors are returned as HTTP 200 ErrorResult business errors.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| filters | Array of Filter | Optional | Optional filters by fields available for this API method. |
Filterable Fields
| Field | Type | Description |
|---|---|---|
| operating_cash_id | int | POS cash register ID whose receipt template and settings are used to render the test cheque. |
Request Example
{
"filters": [
{
"Field": "operating_cash_id",
"Operator": "Equal",
"Value": "string"
}
]
}
Response Parameters
| Name | Type | Description |
|---|---|---|
| ok | Boolean | Indicates whether the request completed successfully. |
| result | ChequePrint_ResponseModel | Result object. |
Response Example
{
"ok": true,
"result": {
"print_data": "string"
}
}