Hello,
When using the ActionType "call_url" or "call_url_async", is there a way to get the Account id dynamically in the url?
I'm using Actions and ActionTriggers to send an alert and I'd like to create a generic Action that could work for multiple accounts at the same time. (I don't want to create one Action+ActionTriggers for each account if possible)
Actions:
"ALRT_Test1_100": [
{
"Id": "ALRT_Test1_100",
"ActionType": "*call_url_async",
"Filter": "",
"ExpirationString": "*unlimited",
"Weight": 10,
"Balance": {
"Uuid": null,
"ID": null,
"Type": null,
"Value": null,
"Directions": {
"*out": true
},
"ExpirationDate": "0001-01-01T00:00:00Z",
"Weight": 10,
"DestinationIDs": null,
"RatingSubject": null,
"Categories": null,
"SharedGroups": null,
"TimingIDs": null,
"Timings": null,
"Disabled": false,
"Factor": null,
"Blocker": false
}
}
],
ActionTriggers:
{
"ID": "TRG_Test1",
"UniqueID": "1",
"ThresholdType": "*min_balance",
"ThresholdValue": 6000000001,
"Recurrent": false,
"MinSleep": 0,
"ExpirationDate": "0001-01-01T00:00:00Z",
"ActivationDate": "0001-01-01T00:00:00Z",
"Balance": {
"Uuid": null,
"ID": null,
"Type": "*voice",
"Value": null,
"Directions": {
"*out": true
},
"ExpirationDate": null,
"Weight": null,
"DestinationIDs": null,
"RatingSubject": null,
"Categories": null,
"SharedGroups": null,
"TimingIDs": null,
"Timings": null,
"Disabled": null,
"Factor": null,
"Blocker": null
},
"Weight": 10,
"ActionsID": "ALRT_Test1_100",
"MinQueuedItems": 0,
"Executed": false,
"LastExecutionTime": "0001-01-01T00:00:00Z"
},
Best regards