# 数据格式限定

数据提交时会按照如下定义的格式校验,不满足校验的字段返回错误提示。

提示语:

格式错误:关联表单值为空时应设置为null,实际为{}

PS:所有字段的空值统一为null或不填。

# 单行文本

{
  "field_AbCdE_c": "单行文本"
}

# 多行文本

{
  "field_AbCdE_c": "多行文本第一行\n多行文本第二行"
}

# 数字

{
  "field_AbCdE_c": 100
}

# 日期

{
  "field_AbCdE_c": 1678723200000
}

# 编号

{
  "field_AbCdE_c": "00000001"
}

# 关联表单

{
  "field_AbCdE_c": {
    "id": "10062264"
  }
}

# 复选关联表单

{
  "field_AbCdE_c": [
    {
      "id": "10062264"
    },
    {
      "id": "10062265"
    }
  ]
}

# 开关

{
  "field_AbCdE_c": true
}

# 单选

{
  "field_AbCdE_c": "选项值A"
}

# 复选

{
  "field_AbCdE_c": ["选项值A", "选项值B"]
}

# 图片

{
  "field_AbCdE_c": [
    {
      "name": "UO9DQMIUC9HR1656024074692.jpg",
      "url": "http://testimg.xinheyun.com/c12aa21e-0212-4d94-8a89-4143dcbb07e9_06418ebc9393a6dc88a314ee444d76a2?attname=UO9DQMIUC9HR1656024074692.jpg",
      "type": "image/jpeg",
      "size": 1786090,
      "uid": "rc-upload-1678793694645-3",
      "linkProps": "{\"download\": \"UO9DQMIUC9HR1656024074692.jpg\"}"
    }
	]
}

# 附件

{
  "field_AbCdE_c": [
    {
      "name": "UO9DQMIUC9HR1656024074692.jpg",
      "url": "http://testimg.xinheyun.com/c12aa21e-0212-4d94-8a89-4143dcbb07e9_06418ebc9393a6dc88a314ee444d76a2?attname=UO9DQMIUC9HR1656024074692.jpg",
      "type": "image/jpeg",
      "size": 1786090,
      "uid": "rc-upload-1678793694645-3",
      "linkProps": "{\"download\": \"UO9DQMIUC9HR1656024074692.jpg\"}"
    }
	]
}

# 国家地区

{
  "field_AbCdE_c": {
    "cityName": "市辖区",
    "countryName": "中国",
    "provinceName": "北京市",
    "cityId": "1101",
    "provinceId": "11",
    "countryId": "CN"
	}
}

# 地理位置

{
  "field_AbCdE_c": {
    "latitude": 31.198035,
    "name": "上海市徐汇区大木桥路",
    "longitude": 121.461981
	}
}

# 日期区间

{
  "field_AbCdE_c": {
    "startTime": 1678723200000,
    "endTime": 1679068799999
	}
}

# 进度条

{
  "field_AbCdE_c": 6
}

# 字典

{
  "field_AbCdE_c": [
  	{
      "key": {
        "id": "color"
      },
      "value": "红色"
    }
  ]
}

# 富文本

{
  "field_UVWsy__c": "[{\"type\":\"paragraph\",\"children\":[{\"text\":\"客户有600+笔工艺路线,麻烦在后台将所有工艺路线所有工序的‘在制品入库’批量启用。\"}]}]"
}

# 人员

参考复选关联表单

# 部门

参考复选关联表单