Combine One to Many
1 min
Combines or Merges items from combine list into every JSON Object of the input list. The substitution rules are used to define what the output should be like.
API Definition
Combine One to Many API
Call the following API:
POST
https://orca.pathfix.com/functions/list/combine_one_to_many
json
{
"input": [
{
"user_id": "[email protected]"
},
{
"user_id": "[email protected]"
},
{
"user_id": "[email protected]"
}
],
"input_combine": {
"company": "Pathfix"
},
"output": {
"email": "{{input.user_id}}",
"company": "{{input_combine.company}}"
}
}200
{
"output": [
{
"user_id": "[email protected]",
"company": "Pathfix"
},
{
"user_id": "[email protected]"
"company": "Pathfix"
},
{
"user_id": "[email protected]"
"company": "Pathfix"
}
]
}404
{
"message": "error"
}