# 潛水錶管理_更新韌體 **API 修改紀錄** |版本|日期|備註| | ------------ |------------ |------------ | | v1 |2024/02/23| 發佈 | | v1.1 |2024/02/29| remoteId修改成serial_number | | v1.2 |2024/02/29| 回傳最新韌體名稱 | **潛水錶管理_更新韌體** 從會員潛水錶明細 取得new_firmware_url 下載最新版本韌體更新後 再使用此API更新會員手錶韌體版本 #### 網址 https://{domain}/api/v1/member-to-device/sync-firmware #### Http Method POST #### HTTP Header accept-language : language code apikey : apk key #### HTTP Body 傳入參數 |欄位名稱|必填|型態|欄位|備註| | ------------ | :-----------: |:-----------: |------------ |------------ | |serial_number |Y |string |手錶序號 || #### HTTP Response 回傳參數 |Name|Type|說明| | ------------ | ------------ |------------ | #### Request Header Authoriztion ```json { "accept-language" : "en", //or 'zh_tw' "apikey" : "api key string" } ``` #### Json Example Request Json ```json { "serial_number": "SPR23450003" } ``` Response Json Success ```json { "status": true, "code": 200, "message": "更新資料成功", "result": "SH1008" } ``` Response Json Error ```json { "status": false, "message": "查無任何資料", "code": 400 } ```