---
title: "外部数据源表的字段定义转uns字段定义"
method: POST
path: "/inter-api/supos/uns/ds2fs"
tags: ["supos/uns/uns", "suposUnsUns"]
---

# 外部数据源表的字段定义转uns字段定义

`POST /inter-api/supos/uns/ds2fs`

## Request body

- DbFieldsInfoVo
  - `databaseType` string, required
  - `fields` DbFieldDefineVo[], required
    - `comment` string, required
    - `isNullable` boolean, required
    - `length` integer, required
    - `name` string, required
    - `type` string, required

## Response `200`

A successful response.

- object
  - `code` integer
  - `data` DbFieldsInfoVoResp
    - `code` integer
    - `data` FieldDefine[], required
      - `decimal` string
      - `displayName` string
      - `inc` boolean
      - `index` string
      - `lastTime` integer
      - `lastValue` string
      - `lowerLimit` number, double
      - `maxLen` string
      - `name` string, required
      - `remark` string
      - `systemField` boolean
      - `tbValueName` string
      - `type` string, required
      - `unique` boolean
      - `unit` string
      - `uns` object
      - `upperLimit` number, double
    - `msg` string
  - `msg` string

---

[API](https://skmtc.net/freezonex/apis/untitled-api.md) · [All operations](https://skmtc.net/freezonex/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/freezonex/untitled-api/revisions/1837fd35a283/schema)
