如何从多选和json body integromat应用程序中获取数据

问题描述

我正在制作一个自定义应用程序,我有几个字段从 RPC 中提取数据,并且一切正常,但我无法将数据映射到该调用的 json 主体。

我的 Mappable 参数是这样的:

[
{
    "name": "candidate_id","type": "number","label": "Candidate ID","required": true
},{
   "name": "parent_id","type": "select","mode": "edit","options": {
       "store": "rpc://industryID","nested": [
           {
               "name": "ids","label": "Sub Industry ID","multiple": true,"options": "rpc://sunindustryId","required": true
           }
       ]
   },"label": "Sub-Industry ID",{
 "name": "body","type": "json","parent_id":"{{parameters.parent_id.value}}","ids":"{{parameters.ids.value}}"
}
]

我的电话是这样的:

{
"url": "/api/v2/candidate/{{parameters.candidate_id}}/subindustries","method": "PUT","qs": {},"body": "{{parameters.body}}","headers": {},"response": {
    "output": "{{body}}"
}
}

这个调用的主体应该是这样的: [ { “parent_id”:9999, “ID”:[ 0 ] } ]

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)