Authorization: Bearer ********************
{
"taskName": null,
"systemCode": "string",
"systemName": "string",
"defType": "1",
"cronExpr": null,
"alarmContent": "string",
"larkChatId": "string",
"triggerExpr": null,
"atScope": "1",
"powerJobId": null,
"remark": null,
"busiExceptionDefMetrics": [
{
"datasourceId": 0,
"execSql": "string",
"sqlDesc": null,
"defExprVariable": "string",
"remark": null,
"updateBy": null
}
],
"busiExceptionDefAtEmploys": [
{
"id": 1,
"defId": 0,
"employId": "string",
"remark": null,
"delFlag": "0",
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null
}
]
}
curl --location --request POST 'finance-gateway.hdltest.com/acct-payable/def/add' \
--header 'user_id: {{user_id}}' \
--header 'username: {{username}}' \
--header 'user_key: {{user_key}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"taskName": null,
"systemCode": "string",
"systemName": "string",
"defType": "1",
"cronExpr": null,
"alarmContent": "string",
"larkChatId": "string",
"triggerExpr": null,
"atScope": "1",
"powerJobId": null,
"remark": null,
"busiExceptionDefMetrics": [
{
"datasourceId": 0,
"execSql": "string",
"sqlDesc": null,
"defExprVariable": "string",
"remark": null,
"updateBy": null
}
],
"busiExceptionDefAtEmploys": [
{
"id": 1,
"defId": 0,
"employId": "string",
"remark": null,
"delFlag": "0",
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null
}
]
}'
{
"key": {}
}