---
# System prepended metadata

title: 潛水錶管理_更新潛點、星曆、潮汐時間
tags: [會員]

---

# 潛水錶管理_更新潛點、星曆及潮汐時間


**API 修改紀錄**
|版本|日期|備註|
| ------------ |------------ |------------ |
| v1 |2024/06/20| 發佈 |

**潛水錶管理_更新潛點、星曆及潮汐時間**

#### 網址
https://{domain}/api/v1/member-to-device/set-time/{mode}
**mode: dive-site, ephemeris, tide**
dive-site: 潛點
ephemeris: 星曆
tide: 潮汐

#### 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": "成功"
}
```

Response Json Error
```json
{
    "status": false,
    "message": "查無任何資料",
    "code": 400
}
```
