put https://api.cloud.digifi.io/applications/[id]/intermediary
How to update an application's intermediary using the DigiFi API.
The Update Application Intermediary API can be used to add or remove an intermediary from an application.
Example Requests
Below please find the JSON body for three example requests:
- Example 1: Removing an intermediary from an application.
- Example 2: Adding an existing intermediary to an application.
- Example 3: Adding a new intermediary to an application.
{
"intermediary": null
}
{
"intermediary": "63ca9805b3a38b0702416bdc"
}
{
"intermediary": {
"variables": {
"variable_system_name_1": "Example",
"variable_system_name_2": 999,
"variable_system_name_3": true,
"variable_system_name_4": "+19172245555",
"variable_system_name_5": "date",
"variable_system_name_6": [{
"_id": "390aNZbf0yPktuYm2fJdz",
"asset_type": "House",
"asset_price": 100000,
}, {
"_id": "h31rBtqWElsqO-GNcuTuw",
"asset_type": "Store",
"asset_price": 50000,
}],
}
}
}
We strongly recommend to send the date value in "MM/DD/YYYY" format to avoid any issues with date representation.
Please note that each row in a variable of type Table must contain a unique string _id field.