A third-party platform calls the modify device login code interface (
/api/printer/modifyLoginCode) to change the device's login code.
Interface Information
- Interface URL:
https://www.colorpark.cn/api/printer/modifyLoginCode - Request Method: POST
Request Parameters
| Parameter | Example Value | Data Type | Required | Description |
|---|---|---|---|---|
printer_id |
500001 | string | Yes | The unique ID assigned to the printer; each printer is assigned a different number. |
once |
8305 | string | Yes | A random value used when generating the encrypted signature. |
time |
1646790335 | string | Yes | The timestamp used when generating the encrypted signature. |
sign |
9ce3ce7a3fccaf3d7715bd7e9bb1dc1c | string | Yes | The generated signature. For the generation method, refer to the "Generate Signature" section under "Underlying Methods [Basic Support]". |
code |
163028 | int | Yes | The new login code. Must be numeric and exactly 6 digits. |
Response Result
| Parameter | Data Type | Example Value | Description |
|---|---|---|---|
code |
string | 0 | Result status code: 0 = success, 400 = failure. |
msg |
string | 修改成功 | Result description: "Modification successful". |
If the device encounters an unsolvable issue during debugging, contact the cloud-printing responsible person for troubleshooting and a resolution. Contact details:
Phone: 137-5177-4454 (same number on WeChat)
Email: info@ColorPark.cn