- OPEN登录
- 业务模型关系接口
- 关联关系:删除
- 关联关系:每刻单据+流水
- 关联关系:自定义单据+每刻单据
- 关联关系:凭证+凭证
- 关联关系:凭证+自定义单据
- 关联关系:凭证+每刻报销单据
- 关联关系:凭证+流水
- 关联关系:凭证+回单
- 关联关系:凭证+承兑汇票
- 迁移老的虚关系表数据到新的虚关系表POST
- 跨系统调阅接口
- open日志接口
- 会计账簿接口
- 基础数据
- 账套接口
- 企业抬头接口
- 账套关联抬头
- 组织架构接口
- 员工信息接口
- 单据类型接口
- 档案类型接口
- 银行账号接口
- 文档管理接口
- 纸档管理
- 会计报表接口
- 流水回单接口
- 承兑汇票接口
- 数据对账接口
- 自定义单据接口
- 借阅接口
- 邮件接口
- 纸质案卷查询接口
- 凭证接口
- 每刻单据
- 完整性检查open接口
细分类型新增接口
POST
/open/fileSubType/{fileType}
businessRange 作用业务实体范围 【ALL(全部业务实体)、SECTION(部分业务实体)】
businessNames 作用业务实体名称 (如果businessRange为ALL无需填写)
请求参数
Path 参数
fileType
string
必需
Header 参数
Authorization
string
可选
默认值:
{{token}}
Content-Type
string
可选
默认值:
application/json
Body 参数application/json
array of:
name
string
细分类型名
storageTime
integer
必需
updatedBy
string
可选
createdBy
string
可选
success
boolean
是否成功
默认值:
public static final Boolean TRUE = new Boolean(true);
message
string
信息
errorMsg
string
错误信息
示例
[
{
"name": "string",
"storageTime": 0,
"updatedBy": "string",
"createdBy": "string",
"success": "public static final Boolean TRUE = new Boolean(true);",
"message": "string",
"errorMsg": "string"
}
]
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/open/fileSubType/' \
--header 'Authorization: {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"name": "string",
"storageTime": 0,
"updatedBy": "string",
"createdBy": "string",
"success": "public static final Boolean TRUE = new Boolean(true);",
"message": "string",
"errorMsg": "string"
}
]'
返回响应
🟢200成功
application/json
Body
com.maycur.cm.dto.ResultDto<java.util.List<com.maycur.cm.open.dto.OpenFileSubTypeDto>>
code
integer
结果代码
message
string
结果信息
errMsg
string
错误信息
data
array[object (OpenFileSubTypeDto) {7}]
结果数据
name
string
细分类型名
storageTime
integer
必需
updatedBy
string
可选
createdBy
string
可选
success
boolean
是否成功
默认值:
public static final Boolean TRUE = new Boolean(true);
message
string
信息
errorMsg
string
错误信息
timestamp
string
时间戳
示例
{
"code": 0,
"message": "",
"errMsg": "",
"data": [
{
"name": "",
"storageTime": 0,
"updatedBy": "",
"createdBy": "",
"success": false,
"message": "",
"errorMsg": ""
}
],
"timestamp": ""
}
修改于 2023-08-25 02:42:08