逻辑应用程序-输入jSon读取所选值以添加内容,例如下面 [英] Logic App- Input jSon read selected value to add content eg.below
问题描述
输入json公司代码动态接收逻辑应用程序,我们发现公司代码添加了额外的内容/追加形成json.您能为此做些什么
例如:
{
"CompCode":"100",
" DoType":" x" ;,
"CreatDate":"X",
"TT_POITEM_NAV":[
{
" ShortText" ;:" X" ;,
},
"TT_RETURN_NAV":[
{}
]
}
//这里我们需要动态添加.
-changeset
内容类型:application/http
内容传输编码:二进制
{
"CompCode":"101",
"DocType":"x",
"CreatDate":"X",
"TT_POITEM_NAV":[
{
" ShortText" ;:" X" ;,
},
"TT_RETURN_NAV":[
{}
]
}
}
致谢
Mohandass R
能否提供示例输入和输出有效负载以更好地了解您要实现的目标?>
据我了解,我认为您正在寻找Eg:
{
"CompCode": "100",
"DoType": "x",
"CreatDate": "X",
"TT_POITEM_NAV": [
{
"ShortText": "X",
},
"TT_RETURN_NAV": [
{}
]
}
//here we need to add dynamically.--changeset
Content-Type: application/http
Content-Transfer-Encoding: binary{
"CompCode": "101",
"DocType": "x",
"CreatDate": "X",
"TT_POITEM_NAV": [
{
"ShortText": "X",
},
"TT_RETURN_NAV": [
{}
]
}
}Regards
Mohandass R
解决方案Could you give an example input and output payload to better understand what you are trying to achieve?
From what I've understood, I think you are looking for the Compose action of the Data Operations connector.
You can use this action to generate a JSON object or string from existing variables in your Logic App.
这篇关于逻辑应用程序-输入jSon读取所选值以添加内容,例如下面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!