To query fixture and product data, third-party platforms may invoke a dedicated API to query the Open Platform for detailed information regarding fixtures and associated products for a specified printer; the platform will synchronously return the relevant data.
Interface Information
| API Endpoint | https://www.colorpark.cn/api/Fixture/getFixtureData |
|---|---|
| Request Method | POST |
Request Parameters
| Parameter Name | Parameter Value (Example) | Data Type | Required | 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 | A 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. | | fixture_id | 56 | string | No | The fixture ID; this ID can be used to query all items associated with the specific fixture. | | unique | RefrigeratorMagnet | string| No | The identifier for the item associated with the fixture. |
Return Results
| Parameter Name | Parameter Name | Parameter Name | Data Type | Parameter Value (Example) | Parameter Description | | --- | --- | --- |----| | code | || string | 0 | Result status code; 0 indicates success, 1 indicates failure. | | msg | || string| Submission successful | Description of the result (e.g., "Submission successful"). | |data|fixture_id|| string| 18 | Fixture ID | ||fixture_name || string| Standard | Fixture Name; facilitates switching to a specific fixture within the client software. | ||fixture_width || string | 185 | Fixture Width | ||fixture_height || string | 140 | Fixture Height | ||fixture_image || string | https://rfccrm.oss-cn-shenzhen.aliyuncs.com/colorcloud/ai-template/c278906cf2f0f97fc67b43de71bdee9b91634aa9.png | Fixture Cover Image | ||fixture_goods || Arrays | [{"unique": "61zfxpt","name": "Square Puzzle","width": "55.60","height": "55.60","row_num": 1,"column_num": 1,"spacing_left": "0.00","spacing_top": "0.00","origin_x": "2.70","origin_y": "79.80"},"61cfxbxt": {"unique": "61cfxbxt","name": "Rectangular Refrigerator Magnet","width": "57.10","height": "74.50","row_num": 1,"column_num": 1,"spacing_left": "0.00","spacing_top": "0.00","origin_x": "123.00","origin_y": "60.00"} | Jig Product List Information | Jig Product List Information
If you encounter any unresolved issues during the device commissioning process, please contact the Cloud Printing Administrator for troubleshooting and assistance in finding a solution. Contact details are as follows: Phone: 137-5177-4454 (Same number for WeChat) Email: info@ColorPark.cn