API 測試工具 - 興農客戶 API
選擇 HTTP 方法
GET
POST
PUT
DELETE
目前選擇的方法:
POST
POST
取得驗證碼 (Token)
URL
Request Body (無需輸入參數)
發送請求
已取得 Token:
複製
POST
事件警示
URL
Authorization Token
Request Body (JSON)
[ { "alertno": 110111, "imageurl": "https://yourdomain.com/images/abcd1234.jpg", "videourl": "https://yourdomain.com/videos/abcd1234.mp4", "rtspurl": "rtsp://camera-stream.example.com/live/stream1", "alerttime": "2025-06-16T14:30:45+08:00", "camarea": "電視1", "camid": "CAM001", "alerttype": "PPE", "alerttitle": "施工現場未戴安全帽", "alertitem": "安全帽" }, { "alertno": 110115, "imageurl": "https://yourdomain.com/images/abcd1234.jpg", "videourl": "https://yourdomain.com/videos/abcd1234.mp4", "rtspurl": "rtsp://camera-stream.example.com/live/stream1", "alerttime": "2025-06-16T14:30:45+08:00", "camarea": "電視2", "camid": "CAM001", "alerttype": "PPE", "alerttitle": "施工現場未戴安全帽", "alertitem": "安全帽" } ]
發送請求
POST
攝影機故障警示
URL
Authorization Token
Request Body (JSON)
[ { "camarea": "電視1", "camid": "CAM01", "alerttime": "2025-12-07T10:45:00+08:00", "alerttype": "信號丟失", "alertmessage": "中斷連線超過5分鐘" }, { "camarea": "電視2", "camid": "CAM01", "alerttime": "2025-12-07T10:45:00+08:00", "alerttype": "信號丟失", "alertmessage": "中斷連線超過20分鐘" } ]
發送請求