{"info":{"_postman_id":"ffa9e954-f51d-4266-99c6-c8e1b1bf48de","name":"UIC MQTT Client APIs","description":"<html><head></head><body><h1 id=\"introduction\">Introduction</h1>\n<p>UIC MQTT Client APIs serve as the central mechanism for communication between the MQTT Client and the UPE . They are designed to reliably deliver cloud-originated requests through the UIC Agent to the MQTT Client which finally forwards these requests to the UPE for execution. This process ensures that commands initiated at the cloud level are accurately translated into device-level actions. The APIs form a critical component of UIC’s next-generation cloud architecture enabling scalable and efficient remote control of UIC terminals. By standardizing the communication protocol, the APIs allow UIC developers to achieve consistent behavior across different terminal types and deployment environments.</p>\n<h1 id=\"targeted-platforms\">Targeted Platforms</h1>\n<p>The primary targeted platforms for this release are UIC Linux-based products. While Android terminals are also supported, they may require minor adjustments due to differences in system configuration. These adjustments will not affect the overall API behavior but should be considered during integration testing.</p>\n<h1 id=\"system-diagram\">System Diagram</h1>\n<p>The system architecture is designed to ensure reliable communication between cloud services and UIC terminals. The UIC-CONNECT Cloud initiates requests which are first handled by the UIC Agent. From there, the requests are delivered to the UIC terminal via AWS IoT Core. The MQTT Client plays an essential role by forwarding these requests to the UPE through a configurable TCP localhost port. Once executed, results are returned to UIC-CONNECT (may be to UIC Webhook) service back to the customer servers.</p>\n<img src=\"https://content.pstmn.io/947e20e7-d4cd-41e3-9d5a-01955ede0f09/aW1hZ2UucG5n\" alt=\"System Diagram\" width=\"589\" height=\"340\">\n\n<p>The MQTT Client API mainly address (1) and (2) in above system diagram.</p>\n<img src=\"https://content.pstmn.io/89a0b5d0-aa8d-48c2-b627-4ee0f113e4d6/TVFUVC1BUElzLnBuZw==\">\n\n<h1 id=\"general-notes\">General Notes</h1>\n<ul>\n<li><p>All commands in this document follow the JSON schema shown in examples.</p>\n</li>\n<li><p>The <code>requestId</code> must be unique per request; UUID format is recommended.</p>\n</li>\n<li><p>The <code>timestamp</code> must use ISO-8601 UTC format (e.g., 2025-01-07T14:05:30Z).</p>\n</li>\n<li><p>If <code>ScheduleTime</code> is not provided, the client MUST execute the command immediately.</p>\n</li>\n<li><p>The <code>callUrl</code> parameter is mandatory unless otherwise specified, and should always be HTTPS.</p>\n</li>\n</ul>\n<h1 id=\"error-handling\">Error Handling</h1>\n<ul>\n<li><p>UPE should return HTTP/200 with the empty response for the command received. Otherwise, it will be HTTP/400</p>\n</li>\n<li><p>Clients should always include <code>requestId</code> in error responses to allow traceability.</p>\n</li>\n</ul>\n<h1 id=\"security-considerations\">Security Considerations</h1>\n<ul>\n<li><p>No security consideration in API requests and responses since it is in system communication.</p>\n</li>\n<li><p>No signature or token is required.</p>\n</li>\n<li><p>Sensitive data, such as transaction details, must not be logged in plaintext.</p>\n</li>\n</ul>\n<h1 id=\"mqtt-client-permissions-and-roles\">MQTT Client Permissions and Roles</h1>\n<p>The MQTT Client must be granted the same permission level as the System Manager to ensure smooth operation at the system level. The application is packaged within the RFS and placed under the system folder that it can be updated from UIC TMS in the future. MQTT Client is launched by the system manager to ensure that it inherits system-level privileges and can reliably execute cloud-delivered commands without user intervention.</p>\n<h1 id=\"remote-commands\">Remote Commands</h1>\n<p>The following remote commands define the supported operations that can be initiated from the cloud. Each command is represented by a JSON object and includes a requestId, timestamp, and optional parameters. Commands that are shown with strikethrough are reserved for future versions and should not be implemented at this stage. The 'Call Cloud' column indicates whether the command is expected to return the result to the cloud.</p>\n<img src=\"https://content.pstmn.io/0e0e0905-a6b2-46c1-99d0-d8fa1e712168/TVFUVCB0YWJsZS5wbmc=\">\n\n<h1 id=\"changelog\">Changelog</h1>\n<ul>\n<li>2025-11-20T09:00:00Z: Refreshed external images for System Diagram and Remote Commands to ensure latest visuals are rendered consistently across spec and collection. Rationale: align with recent asset updates and prevent stale caches.</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction","slug":"introduction"},{"content":"Targeted Platforms","slug":"targeted-platforms"},{"content":"System Diagram","slug":"system-diagram"},{"content":"General Notes","slug":"general-notes"},{"content":"Error Handling","slug":"error-handling"},{"content":"Security Considerations","slug":"security-considerations"},{"content":"MQTT Client Permissions and Roles","slug":"mqtt-client-permissions-and-roles"},{"content":"Remote Commands","slug":"remote-commands"},{"content":"Changelog","slug":"changelog"}],"owner":"48004383","collectionId":"ffa9e954-f51d-4266-99c6-c8e1b1bf48de","publishedId":"2sBXVZouMm","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"4646FF"},"publishDate":"2025-12-25T22:56:36.000Z"},"item":[{"name":"API","item":[{"name":"mqtt","item":[{"name":"TXN_REQ","id":"6591ee30-d1d8-4b28-98ff-d8d2258ab23d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"deviceId\": \"294250100001\",\n    \"command\": \"TXN_REQ\",\n    \"data\": {\n        \"to\": \"upe\",\n        \"CmdId\": \"StartTxn\",\n        \"CmdTout\": 300,\n        \"Txn\": {\n            \"TxnType\": \"Sale\",\n            \"AccType\": \"Credit/Debit\",\n            \"CurrCode\": 840,\n            \"TxnAmt\": 1.00,\n            \"CashbackAmt\": 0,\n            \"TipAmt\": 0\n        },\n        \"ScheduleTime\": null\n    },\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\n    \"topicMain\": \"uic\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{base_url}}/API/mqtt","description":"<p>Single endpoint that accepts one of the supported MQTT client commands via discriminator-based request body.</p>\n","urlObject":{"path":["API","mqtt"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"dea287bd-7a1d-4c60-b803-2b641756c2d0","name":"200 Empty Response","originalRequest":{"auth":{"type":"noauth"},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"deviceId\": \"294250100001\",\n    \"command\": \"TXN_REQ\",\n    \"data\": {\n        \"to\": \"upe\",\n        \"CmdId\": \"StartTxn\",\n        \"CmdTout\": 300,\n        \"Txn\": {\n            \"TxnType\": \"Sale\",\n            \"AccType\": \"Credit/Debit\",\n            \"CurrCode\": 840,\n            \"TxnAmt\": 1.00,\n            \"CashbackAmt\": 0,\n            \"TipAmt\": 0\n        },\n        \"ScheduleTime\": null\n    },\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\n    \"topicMain\": \"uic\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{base_url}}/API/mqtt","description":"Single endpoint that accepts one of the supported MQTT client commands via discriminator-based request body.\n"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"6591ee30-d1d8-4b28-98ff-d8d2258ab23d"},{"name":"CANCEL","id":"eb435a4b-b898-444e-bbcf-326ff0d6b5cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"deviceId\": \"294250100001\",\n    \"command\": \"CANCEL\",\n    \"data\": {\n        \"to\": \"upe\",\n        \"CmdId\": \"TxnCancel\",\n        \"CmdTout\": 300,\n        \"ScheduleTime\": null\n    },\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\n    \"topicMain\": \"uic\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{base_url}}/API/mqtt","description":"<p>Single endpoint that accepts one of the supported MQTT client commands via discriminator-based request body.</p>\n","urlObject":{"path":["API","mqtt"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"814de0ae-3c4f-4052-b158-33d89517a5eb","name":"200 Empty Response","originalRequest":{"auth":{"type":"noauth"},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"deviceId\": \"294250100001\",\n    \"command\": \"CANCEL\",\n    \"data\": {\n        \"to\": \"upe\",\n        \"CmdId\": \"TxnCancel\",\n        \"CmdTout\": 300,\n        \"ScheduleTime\": null\n    },\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\n    \"topicMain\": \"uic\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{base_url}}/API/mqtt","description":"Single endpoint that accepts one of the supported MQTT client commands via discriminator-based request body.\n"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"eb435a4b-b898-444e-bbcf-326ff0d6b5cd"},{"name":"REBOOT","id":"a67d7415-465c-4250-8674-c9d6663d4390","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deviceId\": \"294250100001\",\r\n    \"command\": \"REBOOT\",\r\n    \"data\": {\r\n        \"to\": \"system\",\r\n        \"ScheduleTime\": null\r\n    },\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"topicMain\": \"uic\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/API/mqtt","urlObject":{"path":["API","mqtt"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"009dcbea-003c-44c1-b838-867c9992f26c","name":"200 Empty Response","originalRequest":{"auth":{"type":"noauth"},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deviceId\": \"294250100001\",\r\n    \"command\": \"REBOOT\",\r\n    \"data\": {\r\n        \"to\": \"system\",\r\n        \"ScheduleTime\": null\r\n    },\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"topicMain\": \"uic\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/API/mqtt"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":""}],"_postman_id":"a67d7415-465c-4250-8674-c9d6663d4390"},{"name":"RESET","id":"a5fc716c-333f-4e0a-8d93-fb9b0f01137c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deviceId\": \"294250100001\",\r\n    \"command\": \"RESET\",\r\n    \"data\": {\r\n        \"to\": \"system\",\r\n        \"ScheduleTime\": null\r\n    },\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"topicMain\": \"uic\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/API/mqtt","urlObject":{"path":["API","mqtt"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"76f7fcc1-aa2d-45f6-8f7e-4c734a2353cc","name":"200 Empty Response","originalRequest":{"auth":{"type":"noauth"},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deviceId\": \"294250100001\",\r\n    \"command\": \"RESET\",\r\n    \"data\": {\r\n        \"to\": \"system\",\r\n        \"ScheduleTime\": null\r\n    },\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"topicMain\": \"uic\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/API/mqtt"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"a5fc716c-333f-4e0a-8d93-fb9b0f01137c"},{"name":"CFG_UPDATE","id":"4eb46a4e-f1b0-4f00-bcbe-b49dd39f6c71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deviceId\": \"294250100001\",\r\n    \"command\": \"CFG_UPDATE\",\r\n    \"data\": {\r\n        \"to\": \"upe\",\r\n        \"CmdId\": \"SystemMgmt\",\r\n        \"CmdTout\": 300,\r\n        \"Sys\": {\r\n            \"Id\": \"UpdateSysCfg\"\r\n        },\r\n        \"ScheduleTime\": null,\r\n        \"host\": \"cloud.uicusa.com\"\r\n    },\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"topicMain\": \"uic\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/API/mqtt","urlObject":{"path":["API","mqtt"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"bc86d6d8-af81-451c-a20e-7d545f201b14","name":"200 Empty Response","originalRequest":{"auth":{"type":"noauth"},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deviceId\": \"294250100001\",\r\n    \"command\": \"CFG_UPDATE\",\r\n    \"data\": {\r\n        \"to\": \"upe\",\r\n        \"CmdId\": \"SystemMgmt\",\r\n        \"CmdTout\": 300,\r\n        \"Sys\": {\r\n            \"Id\": \"UpdateSysCfg\"\r\n        },\r\n        \"ScheduleTime\": null,\r\n        \"host\": \"cloud.uicusa.com\"\r\n    },\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"topicMain\": \"uic\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/API/mqtt"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"4eb46a4e-f1b0-4f00-bcbe-b49dd39f6c71"},{"name":"APP_UPDATE","id":"e0b9550a-2996-44e6-8398-8d63f4ef212c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deviceId\": \"294250100001\",\r\n    \"command\": \"APP_UPDATE\",\r\n    \"data\": {\r\n        \"to\": \"system\",\r\n        \"ScheduleTime\": null,\r\n        \"host\": \"cloud.uicusa.com\"\r\n    },\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"topicMain\": \"uic\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/API/mqtt","urlObject":{"path":["API","mqtt"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"fe63b8a1-1fd5-4b1e-a7f2-1e2fb07584b4","name":"200 Empty Response","originalRequest":{"auth":{"type":"noauth"},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deviceId\": \"294250100001\",\r\n    \"command\": \"APP_UPDATE\",\r\n    \"data\": {\r\n        \"to\": \"system\",\r\n        \"ScheduleTime\": null,\r\n        \"host\": \"cloud.uicusa.com\"\r\n    },\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"topicMain\": \"uic\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/API/mqtt"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"e0b9550a-2996-44e6-8398-8d63f4ef212c"},{"name":"HEARTBEAT","id":"5c8c98f7-0272-4979-a722-83b564e59ebe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deviceId\": \"294250100001\",\r\n    \"command\": \"HEARTBEAT\",\r\n    \"data\": {\r\n        \"to\": \"upe\",\r\n        \"CmdId\": \"SystemMgmt\",\r\n        \"CmdTout\": 300,\r\n        \"Sys\": {\r\n            \"Id\": \"Heartbeat\"\r\n        },\r\n        \"ScheduleTime\": null,\r\n        \"host\": \"cloud.uicusa.com\"\r\n    },\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"topicMain\": \"uic\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/API/mqtt","urlObject":{"path":["API","mqtt"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"8462a84e-2bec-4ffd-82ae-ac527233f807","name":"200 Empty Response","originalRequest":{"auth":{"type":"noauth"},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deviceId\": \"294250100001\",\r\n    \"command\": \"HEARTBEAT\",\r\n    \"data\": {\r\n        \"to\": \"upe\",\r\n        \"CmdId\": \"SystemMgmt\",\r\n        \"CmdTout\": 300,\r\n        \"Sys\": {\r\n            \"Id\": \"Heartbeat\"\r\n        },\r\n        \"ScheduleTime\": null,\r\n        \"host\": \"cloud.uicusa.com\"\r\n    },\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"topicMain\": \"uic\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/API/mqtt"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"5c8c98f7-0272-4979-a722-83b564e59ebe"},{"name":"STOP_OP","id":"c6606e53-c92b-42e8-b566-dcac851bc806","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deviceId\": \"294250100001\",\r\n    \"command\": \"STOP_OP\",\r\n    \"data\": {\r\n        \"to\": \"system\",\r\n        \"Disp\": {\r\n            \"Line1\": \"\",\r\n            \"Line2\": \"Out of Operation\",\r\n            \"Line3\": \"\",\r\n            \"Line4\": \"\",\r\n            \"Icon1\": \"\",\r\n            \"Icon2\": \"\"\r\n        },\r\n        \"ScheduleTime\": null\r\n    },\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"topicMain\": \"uic\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/API/mqtt","urlObject":{"path":["API","mqtt"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"733ab7b7-4b4c-4eda-9478-03be17855920","name":"200 Empty Response","originalRequest":{"auth":{"type":"noauth"},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deviceId\": \"294250100001\",\r\n    \"command\": \"STOP_OP\",\r\n    \"data\": {\r\n        \"to\": \"system\",\r\n        \"Disp\": {\r\n            \"Line1\": \"\",\r\n            \"Line2\": \"Out of Operation\",\r\n            \"Line3\": \"\",\r\n            \"Line4\": \"\",\r\n            \"Icon1\": \"\",\r\n            \"Icon2\": \"\"\r\n        },\r\n        \"ScheduleTime\": null\r\n    },\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"topicMain\": \"uic\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/API/mqtt"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"c6606e53-c92b-42e8-b566-dcac851bc806"},{"name":"START_OP","id":"77335d84-4a51-4241-888b-0d9c4d6a0422","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deviceId\": \"294250100001\",\r\n    \"command\": \"START_OP\",\r\n    \"data\": {\r\n        \"to\": \"system\",\r\n        \"ScheduleTime\": null\r\n    },\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"topicMain\": \"uic\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/API/mqtt","urlObject":{"path":["API","mqtt"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"7e19efb4-ce54-43df-b366-97c7e9214251","name":"200 Empty Response","originalRequest":{"auth":{"type":"noauth"},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deviceId\": \"294250100001\",\r\n    \"command\": \"START_OP\",\r\n    \"data\": {\r\n        \"to\": \"system\",\r\n        \"ScheduleTime\": null\r\n    },\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"topicMain\": \"uic\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/API/mqtt"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"77335d84-4a51-4241-888b-0d9c4d6a0422"},{"name":"MESG_UI","id":"e5641355-6a3d-4532-a18e-fb22e71833e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deviceId\": \"294250100001\",\r\n    \"command\": \"MESG_UI\",\r\n    \"data\": {\r\n        \"to\": \"upe\",\r\n        \"CmdId\": \"MesgDisp\",\r\n        \"CmdTout\": 300,\r\n        \"Disp\": {\r\n            \"Line1\": \"Disp Mesg\",\r\n            \"Line2\": \"Disp Mesg\",\r\n            \"Line3\": \"Disp Mesg\",\r\n            \"Line4\": \"Disp Mesg\",\r\n            \"Icon1\": \"Approved\",\r\n            \"Icon2\": \"\"\r\n        },\r\n        \"ScheduleTime\": null\r\n    },\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"topicMain\": \"uic\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/API/mqtt","urlObject":{"path":["API","mqtt"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"ce9a0dd2-10ac-488b-b949-9433872f7316","name":"200 Empty Response","originalRequest":{"auth":{"type":"noauth"},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"deviceId\": \"294250100001\",\r\n    \"command\": \"MESG_UI\",\r\n    \"data\": {\r\n        \"to\": \"upe\",\r\n        \"CmdId\": \"MesgDisp\",\r\n        \"CmdTout\": 300,\r\n        \"Disp\": {\r\n            \"Line1\": \"Disp Mesg\",\r\n            \"Line2\": \"Disp Mesg\",\r\n            \"Line3\": \"Disp Mesg\",\r\n            \"Line4\": \"Disp Mesg\",\r\n            \"Icon1\": \"Approved\",\r\n            \"Icon2\": \"\"\r\n        },\r\n        \"ScheduleTime\": null\r\n    },\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"topicMain\": \"uic\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/API/mqtt"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":""}],"_postman_id":"e5641355-6a3d-4532-a18e-fb22e71833e6"}],"id":"28c563be-0f95-4904-92eb-e683c010ba8d","description":"<p>This set of APIs is used by the MQTT Client to retrieve and consume data published by the UIC Agent Server. It supports subscribing to agent-generated commands/events and receiving payloads in a structured format for downstream processing</p>\n","_postman_id":"28c563be-0f95-4904-92eb-e683c010ba8d"},{"name":"upe","item":[{"name":"StartTxn","id":"b7b773c1-22e0-416b-abd9-91132dddcb14","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"CmdId\": \"StartTxn\",\n    \"CmdTout\": 300,\n    \"Txn\": {\n        \"TxnType\": \"Sale\",\n        \"AccType\": \"Credit/Debit\",\n        \"CurrCode\": 840,\n        \"TxnAmt\": 1.00,\n        \"CashbackAmt\": 0,\n        \"TipAmt\": 0\n    },\n    \"ScheduleTime\": null,\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\n    \"version\": \"1.0\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:47341/API/upe","description":"<p>Single endpoint that accepts one of the supported MQTT client commands via discriminator-based request body.</p>\n","urlObject":{"protocol":"http","port":"47341","path":["API","upe"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"771635eb-c126-41c5-811b-55a3637cfcf6","name":"200 Empty Response","originalRequest":{"auth":{"type":"noauth"},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"CmdId\": \"StartTxn\",\n    \"CmdTout\": 300,\n    \"Txn\": {\n        \"TxnType\": \"Sale\",\n        \"AccType\": \"Credit/Debit\",\n        \"CurrCode\": 840,\n        \"TxnAmt\": 1.00,\n        \"CashbackAmt\": 0,\n        \"TipAmt\": 0\n    },\n    \"ScheduleTime\": null,\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\n    \"version\": \"1.0\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:47341/API/upe","description":"Single endpoint that accepts one of the supported MQTT client commands via discriminator-based request body.\n"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"b7b773c1-22e0-416b-abd9-91132dddcb14"},{"name":"StartTxn 192.168.31.94","id":"be1b5237-07cc-416d-ab31-11e108a24f88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"CmdId\": \"StartTxn\",\n    \"CmdTout\": 300,\n    \"Txn\": {\n        \"TxnType\": \"Sale\",\n        \"AccType\": \"Credit/Debit\",\n        \"CurrCode\": 840,\n        \"TxnAmt\": 1.00,\n        \"CashbackAmt\": 0,\n        \"TipAmt\": 0\n    },\n    \"ScheduleTime\": null,\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\n    \"version\": \"1.0\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://192.168.31.94:47341/API/upe","description":"<p>Single endpoint that accepts one of the supported MQTT client commands via discriminator-based request body.</p>\n","urlObject":{"protocol":"http","port":"47341","path":["API","upe"],"host":["192","168","31","94"],"query":[],"variable":[]}},"response":[],"_postman_id":"be1b5237-07cc-416d-ab31-11e108a24f88"},{"name":"TxnCancel","id":"fa1667f8-b8b1-4b77-a477-a2460d86142f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"CmdId\": \"TxnCancel\",\n    \"CmdTout\": 300,\n    \"ScheduleTime\": null,\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\n    \"version\": \"1.0\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:47341/API/upe","description":"<p>Single endpoint that accepts one of the supported MQTT client commands via discriminator-based request body.</p>\n","urlObject":{"protocol":"http","port":"47341","path":["API","upe"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0095fcb9-0629-4956-9392-e807e980f836","name":"200 Empty Response","originalRequest":{"auth":{"type":"noauth"},"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"CmdId\": \"TxnCancel\",\n    \"CmdTout\": 300,\n    \"ScheduleTime\": null,\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\n    \"version\": \"1.0\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"http://localhost:47341/API/upe","description":"Single endpoint that accepts one of the supported MQTT client commands via discriminator-based request body.\n"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"fa1667f8-b8b1-4b77-a477-a2460d86142f"},{"name":"SystemMgmt-UpdateSysCfg","id":"58025e4a-4498-414d-b272-4d4b43d1a26c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"CmdId\": \"SystemMgmt\",\r\n    \"CmdTout\": 300,\r\n    \"Sys\": {\r\n        \"Id\": \"UpdateSysCfg\"\r\n    },\r\n    \"ScheduleTime\": null,\r\n    \"host\": \"cloud.uicusa.com\",\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"version\": \"1.0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:47341/API/upe","urlObject":{"protocol":"http","port":"47341","path":["API","upe"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"8e267e29-d4b8-47fe-a640-1865cbc494ef","name":"200 Empty Response","originalRequest":{"auth":{"type":"noauth"},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"CmdId\": \"SystemMgmt\",\r\n    \"CmdTout\": 300,\r\n    \"Sys\": {\r\n        \"Id\": \"UpdateSysCfg\"\r\n    },\r\n    \"ScheduleTime\": null,\r\n    \"host\": \"cloud.uicusa.com\",\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"version\": \"1.0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:47341/API/upe"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"58025e4a-4498-414d-b272-4d4b43d1a26c"},{"name":"SystemMgmt-Heartbeat","id":"4ab81122-205d-4085-8450-44ebe6fd9827","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"CmdId\": \"SystemMgmt\",\r\n    \"CmdTout\": 300,\r\n    \"Sys\": {\r\n        \"Id\": \"Heartbeat\"\r\n    },\r\n    \"ScheduleTime\": null,\r\n    \"host\": \"cloud.uicusa.com\",\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"version\": \"1.0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:47341/API/upe","urlObject":{"protocol":"http","port":"47341","path":["API","upe"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"467e6af7-d175-41ee-b9a7-257a686ec98e","name":"200 Empty Response","originalRequest":{"auth":{"type":"noauth"},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"CmdId\": \"SystemMgmt\",\r\n    \"CmdTout\": 300,\r\n    \"Sys\": {\r\n        \"Id\": \"Heartbeat\"\r\n    },\r\n    \"ScheduleTime\": null,\r\n    \"host\": \"cloud.uicusa.com\",\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"version\": \"1.0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:47341/API/upe"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"4ab81122-205d-4085-8450-44ebe6fd9827"},{"name":"MesgDisp","id":"711422e4-a232-477c-bd01-bf1bf07a10d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"CmdId\": \"MesgDisp\",\r\n    \"CmdTout\": 300,\r\n    \"Disp\": {\r\n        \"Line1\": \"Disp Mesg\",\r\n        \"Line2\": \"Disp Mesg\",\r\n        \"Line3\": \"Disp Mesg\",\r\n        \"Line4\": \"Disp Mesg\",\r\n        \"Icon1\": \"Approved\",\r\n        \"Icon2\": \"\"\r\n    },\r\n    \"ScheduleTime\": null,\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"version\": \"1.0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:47341/API/upe","urlObject":{"protocol":"http","port":"47341","path":["API","upe"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"329e4810-083d-4532-83c3-e138d85d40fb","name":"200 Empty Response","originalRequest":{"auth":{"type":"noauth"},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"CmdId\": \"MesgDisp\",\r\n    \"CmdTout\": 300,\r\n    \"Disp\": {\r\n        \"Line1\": \"Disp Mesg\",\r\n        \"Line2\": \"Disp Mesg\",\r\n        \"Line3\": \"Disp Mesg\",\r\n        \"Line4\": \"Disp Mesg\",\r\n        \"Icon1\": \"Approved\",\r\n        \"Icon2\": \"\"\r\n    },\r\n    \"ScheduleTime\": null,\r\n    \"requestId\": \"b5f06a2f-8475-40af-95f9-7975dc60b972\",\r\n    \"timestamp\": \"ISO-8601 UTC 日期時間字串\",\r\n    \"callUrl\": \"https://cloud.uic-connect.com/api/v1/mqtt/result\",\r\n    \"version\": \"1.0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:47341/API/upe"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":""}],"_postman_id":"711422e4-a232-477c-bd01-bf1bf07a10d9"}],"id":"96f3422d-d06d-4e48-a960-0846ff80aee9","description":"<p>This set of APIs allows the MQTT Client to relay commands received from the UIC Agent Server to the UPE application. Upon receipt, the UPE application returns <strong>HTTP 200 OK</strong> over the TCP/IP connection to acknowledge that the command has been accepted. The response body is empty. After the command is executed, UPE uploads the execution result to <strong>UIC-CONNECT</strong></p>\n","_postman_id":"96f3422d-d06d-4e48-a960-0846ff80aee9"}],"id":"9e453e4c-0cb7-474f-bf67-e05d1b719f07","_postman_id":"9e453e4c-0cb7-474f-bf67-e05d1b719f07","description":""}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"52878eff-9082-4e59-9863-cc9823ebd99b"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"236b51bc-0477-4b8c-8346-a1d36178dbbb"}}],"variable":[{"key":"baseUrl","value":"{{base_url}}","type":"any"}]}