使用本文档前,请确认您已经拥有集简云开发平台的账户权限,如果还没有,请访问:https://www.jijyun.cn/open.html
{
"corp_token": "string",
"timestamp": 0,
"app_id": 0,
"action_key": "string",
"account_id": 0,
"company_identification": "string",
"sign": "string",
"app_version": "string"
}
curl --location --request POST 'https://developer.jijyun.cn/api/openapi/action_fields' \
--header 'Content-Type: application/json' \
--data-raw '{
"corp_token": "string",
"timestamp": 0,
"app_id": 0,
"action_key": "string",
"account_id": 0,
"company_identification": "string",
"sign": "string",
"app_version": "string"
}'
{
"data": [
{
"key": "IsDeleteEntry",
"label": "是否删除已存在的分录",
"type": "boolean"
},
{
"key": "self_fields",
"label": "自定义字段",
"type": "group",
"items": [
{
"key": "self_fields_key",
"label": "自定义字段key",
"type": "string",
"help_txt": "详情可以参考文档"
},
{
"key": "self_fields_is_code",
"label": "是否为编码",
"type": "string",
"help_txt": "",
"dropdown": true,
"defaulttext": "false",
"choices": [
{
"key": "true",
"label": "是"
},
{
"key": "false",
"label": "否"
}
]
}
]
},
{
"key": "FBillTypeID",
"label": "单据类型",
"type": "obj",
"required": true,
"items": [
{
"key": "FNUMBER",
"label": "编码"
}
]
},
{
"key": "FDate",
"label": "日期",
"required": true,
"type": "datetime",
"format": "%Y-%m-%d",
"help_txt": "示例:2022-06-01"
},
{
"key": "FSaleOrgId",
"label": "销售组织",
"type": "obj",
"required": true,
"items": [
{
"key": "FNumber",
"label": "编码",
"dropdown": true,
"choices": [
{
"key": "141",
"label": "教育科技有限公司(幼儿园)"
},
{
"key": "168",
"label": "建筑劳务分包有限公司"
}
]
}
]
},
{
"key": "FSaleOrderEntry",
"label": "物料信息",
"type": "group",
"required": true,
"items": [
{
"key": "FReturnType",
"label": "退补类型",
"type": "string",
"defaulttext": "1"
},
{
"key": "FMaterialGroup",
"label": "上级物料分组编码",
"type": "obj",
"items": [
{
"key": "FNUMBER",
"label": "编码"
}
]
}
]
}
],
"msg": "成功",
"code": 0
}