菜单

保存

基本信息

  • 用途说明:任务保存
  • 请求方式:POST
  • 请求地址:https://api.kingdee.com/weigusoft/wg_crm/wg_activityAddApi?access_token=

请求参数

headers参数

  • 所有的接口必须携带header参数
参数名称 参数示例 是否必填 参数说明
Content-Type application/json true 固定传:application/json
groupName ns-v7g6 true 分组名称,获取授权信息时返回的groupName
accountId 16xxxxxxxxxxxx true 账套ID,获取授权信息时返回的accountId
X-GW-Router-Addr https://tf.jdy.com true IDC域名,获取授权信息时返回的domain

body参数

参数名称 必选 类型 说明
flag true Boolean 默认false
entity true String 单据标识-默认wg_activity
executorlist true Array[String] 执行人
acttheme true String 任务主题
zyxid true String 重要性id
customerId true String 客户id
customerNo true String 客户编码
customerName true String 客户名称
rwtypeid true String 任务类型id
contactId false String 联系人id
contactName false String 联系人名称
qzrwid false String 前置任务id
stime true String 开始时间
etime true String 结束时间
diff false String 持续(天)
billtype false String 默认1
remake false String 任务描述
assignorId true Boolean 指派人id
sourcetype false String 源单类型
sourceno false String 源单编号
sourcebillid false String 源单id
relevantbillid false String 前置任务id
actid true String 任务id,新增传空,编辑必传

请求示例

{
    "flag": false,
    "entity": "wg_activity",
    "executorlist": [
        {
            "id": "1394084520470297600",
            "name": "董素敏"
        }
    ],
    "acttheme": "0205任务2",
    "zyxid": "1434154845970908160",
    "customerId": "1814632358846944256",
    "customerNo": "1710",
    "customerName": "0629为谷1710",
    "rwtypeid": "1434158806819947520",
    "contactId": "1814632359476088832",
    "contactName": "测试2",
    "qzrwid": "",
    "stime": "2025-02-05 16:17",
    "etime": "2025-02-05 16:17",
    "diff": 0,
    "billtype": 1,
    "remake": "",
    "assignorId": "1394084520470297600",
    "sourcetype": "",
    "sourceno": "",
    "sourcebillid": "",
    "relevantbillid": "",
    "actid": "2143653835887876096"
}

响应示例

{
    "data": {
        "id": "2143653835887876096"
    },
    "errorCode": "success",
    "status": true,
    "success": true
}

分享文章
上一个
详情
下一个
项目管理接口说明
最近修改: 2025-03-25