如何解决如何从多选和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 举报,一经查实,本站将立刻删除。