Cancel All Print Tasks: Third-party platforms can cancel all pending print tasks by invoking a specific interface to send a command to the Open Platform; upon processing the request, the platform will synchronously return the cancellation result.
Interface Information
| API Endpoint | https://www.coloraprk.cn/api/printer/cancelAllPrint |
|---|---|
| Request Method | POST |
Request Parameters
| Parameter Name | Parameter Value (Example) | Data Type | Required | Parameter Description | | ---- | ---- | :----: | ---- | | printer_id | 500001 | string | Yes | The unique ID assigned to the printer; each printer is assigned a distinct number. | | once | 8305 | string | Yes | A random value used during encryption to generate the signature. | | time | 1646790335 | string | Yes | The timestamp used during encryption to generate the signature. | | sign | 9ce3ce7a3fccaf3d7715bd7e9bb1dc1c | string | Yes | The generated signature; for the generation method, please refer to the "Generating Signatures" section within the Underlying Methods [Basic Support] documentation. |
Return Results
| Parameter Name | Parameter Name | Data Type | Parameter Value (Example) | Parameter Description | | --- | --- | --- |----| | code | | string | 0 | The status code of the return result: 0 for success, 1 for failure. | | msg | | string | Task canceled success | A description of the return result (e.g., "Task canceled success"). | | data | printer_id | string | 500001 | The ID of the printer assigned to the print task. | | | status | string | 3 | The status of the print task: 3 indicates "Print Cancelled." |
If you encounter any unresolved issues during the device commissioning process, please contact the Cloud Printing Support Team for troubleshooting assistance and resolution. Contact details are as follows: Phone: 137-5177-4454 (Same number for WeChat) Email: info@ColorPark.cn