diff --git a/docs/05-5GC OMC restful intefaces.md b/docs/05-5GC OMC restful intefaces.md index 46afdeb..6bc482e 100644 --- a/docs/05-5GC OMC restful intefaces.md +++ b/docs/05-5GC OMC restful intefaces.md @@ -1768,3 +1768,44 @@ Example: ] } ``` + +## 11 系统管理 + +### 11.1 OMC系统 + +#### 11.1.1 获取OMC时间接口 + +* Uri + + ```uri + /api/rest/systemManagement/v1/elementType/OMC/objectType/time + ``` +* Relations + OMC FE -> OMC BE +* Params + + NA +* Method + GET +* Body + NA +* Return + + ```json + // OMC time 信息 + type OMCLocalTime struct { + Timestamp int64 `json:"timestamp"` // 时间戳 (单位:毫秒) + TimeZone int `json:"timeZone"` // 本地时区偏移(单位:秒) + } + ``` + Expample: + + ```json + { + "data": + { + "timestamp": "1697101301164" + "timeZone": "28800" + } + } + ```