Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@DebianDev:/usr/local/goapps/bin# cgr-console 'accounts Tenant="cgrates.org" AccountIds=["1001"]'[
- {
- "ID": "cgrates.org:1001",
- "BalanceMap": {
- "*data": [
- {
- "Uuid": "1fe6fd6a-c6a7-45d8-8100-d644b2034884",
- "ID": "",
- "Value": 0.0001,
- "Directions": {
- "*out": true
- },
- "ExpirationDate": "0001-01-01T00:00:00Z",
- "Weight": 10,
- "DestinationIDs": {},
- "RatingSubject": "",
- "Categories": {},
- "SharedGroups": {},
- "Timings": null,
- "TimingIDs": {},
- "Disabled": false,
- "Factor": null,
- "Blocker": false
- }
- ],
- "*monetary": [
- {
- "Uuid": "faa93f70-c47c-4271-87f4-7781f9e68167",
- "ID": "",
- "Value": 5,
- "Directions": {
- "*out": true
- },
- "ExpirationDate": "0001-01-01T00:00:00Z",
- "Weight": 20,
- "DestinationIDs": {},
- "RatingSubject": "",
- "Categories": {},
- "SharedGroups": {},
- "Timings": null,
- "TimingIDs": {},
- "Disabled": false,
- "Factor": null,
- "Blocker": false
- },
- {
- "Uuid": "47a6693e-9fac-4510-9561-32a14ddef92c",
- "ID": "",
- "Value": 10,
- "Directions": {
- "*out": true
- },
- "ExpirationDate": "0001-01-01T00:00:00Z",
- "Weight": 10,
- "DestinationIDs": {},
- "RatingSubject": "",
- "Categories": {},
- "SharedGroups": {
- "SHARED_A": true
- },
- "Timings": null,
- "TimingIDs": {},
- "Disabled": false,
- "Factor": null,
- "Blocker": false
- }
- ],
- "*voice": [
- {
- "Uuid": "927f92cf-5a77-45b4-a482-ed912e2c61e8",
- "ID": "",
- "Value": 90,
- "Directions": {
- "*out": true
- },
- "ExpirationDate": "0001-01-01T00:00:00Z",
- "Weight": 20,
- "DestinationIDs": {
- "DST_1002": true
- },
- "RatingSubject": "SPECIAL_1002",
- "Categories": {},
- "SharedGroups": {},
- "Timings": null,
- "TimingIDs": {},
- "Disabled": false,
- "Factor": null,
- "Blocker": false
- },
- {
- "Uuid": "6f846e70-6120-4e9b-b348-a208d03bc530",
- "ID": "",
- "Value": 120,
- "Directions": {
- "*out": true
- },
- "ExpirationDate": "0001-01-01T00:00:00Z",
- "Weight": 20,
- "DestinationIDs": {
- "DST_1003": true
- },
- "RatingSubject": "",
- "Categories": {},
- "SharedGroups": {},
- "Timings": null,
- "TimingIDs": {},
- "Disabled": false,
- "Factor": null,
- "Blocker": false
- }
- ]
- },
- "UnitCounters": {
- "*monetary": [
- {
- "CounterType": "*event",
- "Counters": [
- {
- "Value": 0,
- "Filter": {
- "Uuid": null,
- "ID": "275beb84-a968-4270-bcf6-ab543a6c07eb",
- "Type": "*monetary",
- "Value": null,
- "Directions": {
- "*out": true
- },
- "ExpirationDate": null,
- "Weight": null,
- "DestinationIDs": {
- "FS_USERS": true
- },
- "RatingSubject": null,
- "Categories": null,
- "SharedGroups": null,
- "TimingIDs": null,
- "Timings": null,
- "Disabled": null,
- "Factor": null,
- "Blocker": null
- }
- }
- ]
- }
- ]
- },
- "ActionTriggers": [
- {
- "ID": "STANDARD_TRIGGERS",
- "UniqueID": "f84ba6f6-d20f-44e6-aadc-d47b57465654",
- "ThresholdType": "*min_balance",
- "ThresholdValue": 2,
- "Recurrent": false,
- "MinSleep": 0,
- "ExpirationDate": "0001-01-01T00:00:00Z",
- "ActivationDate": "0001-01-01T00:00:00Z",
- "Balance": {
- "Uuid": null,
- "ID": null,
- "Type": "*monetary",
- "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": "LOG_WARNING",
- "MinQueuedItems": 0,
- "Executed": false,
- "LastExecutionTime": "0001-01-01T00:00:00Z"
- },
- {
- "ID": "STANDARD_TRIGGERS",
- "UniqueID": "275beb84-a968-4270-bcf6-ab543a6c07eb",
- "ThresholdType": "*max_event_counter",
- "ThresholdValue": 5,
- "Recurrent": false,
- "MinSleep": 0,
- "ExpirationDate": "0001-01-01T00:00:00Z",
- "ActivationDate": "0001-01-01T00:00:00Z",
- "Balance": {
- "Uuid": null,
- "ID": "275beb84-a968-4270-bcf6-ab543a6c07eb",
- "Type": "*monetary",
- "Value": null,
- "Directions": {
- "*out": true
- },
- "ExpirationDate": null,
- "Weight": null,
- "DestinationIDs": {
- "FS_USERS": true
- },
- "RatingSubject": null,
- "Categories": null,
- "SharedGroups": null,
- "TimingIDs": null,
- "Timings": null,
- "Disabled": null,
- "Factor": null,
- "Blocker": null
- },
- "Weight": 10,
- "ActionsID": "LOG_WARNING",
- "MinQueuedItems": 0,
- "Executed": false,
- "LastExecutionTime": "0001-01-01T00:00:00Z"
- },
- {
- "ID": "STANDARD_TRIGGERS",
- "UniqueID": "6015a01c-ec6e-4fcd-859f-3c6672128078",
- "ThresholdType": "*max_balance",
- "ThresholdValue": 20,
- "Recurrent": false,
- "MinSleep": 0,
- "ExpirationDate": "0001-01-01T00:00:00Z",
- "ActivationDate": "0001-01-01T00:00:00Z",
- "Balance": {
- "Uuid": null,
- "ID": null,
- "Type": "*monetary",
- "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": "LOG_WARNING",
- "MinQueuedItems": 0,
- "Executed": false,
- "LastExecutionTime": "0001-01-01T00:00:00Z"
- },
- {
- "ID": "STANDARD_TRIGGERS",
- "UniqueID": "67014e5b-b025-4a92-b96c-6b89676a30b4",
- "ThresholdType": "*max_balance",
- "ThresholdValue": 100,
- "Recurrent": false,
- "MinSleep": 0,
- "ExpirationDate": "0001-01-01T00:00:00Z",
- "ActivationDate": "0001-01-01T00:00:00Z",
- "Balance": {
- "Uuid": null,
- "ID": null,
- "Type": "*monetary",
- "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": "DISABLE_AND_LOG",
- "MinQueuedItems": 0,
- "Executed": false,
- "LastExecutionTime": "0001-01-01T00:00:00Z"
- }
- ],
- "AllowNegative": false,
- "Disabled": false
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement