Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.88 KB | None | 0 0
  1. root@DebianDev:/usr/local/goapps/bin# cgr-console 'accounts Tenant="cgrates.org" AccountIds=["1001"]'[
  2. {
  3. "ID": "cgrates.org:1001",
  4. "BalanceMap": {
  5. "*data": [
  6. {
  7. "Uuid": "1fe6fd6a-c6a7-45d8-8100-d644b2034884",
  8. "ID": "",
  9. "Value": 0.0001,
  10. "Directions": {
  11. "*out": true
  12. },
  13. "ExpirationDate": "0001-01-01T00:00:00Z",
  14. "Weight": 10,
  15. "DestinationIDs": {},
  16. "RatingSubject": "",
  17. "Categories": {},
  18. "SharedGroups": {},
  19. "Timings": null,
  20. "TimingIDs": {},
  21. "Disabled": false,
  22. "Factor": null,
  23. "Blocker": false
  24. }
  25. ],
  26. "*monetary": [
  27. {
  28. "Uuid": "faa93f70-c47c-4271-87f4-7781f9e68167",
  29. "ID": "",
  30. "Value": 5,
  31. "Directions": {
  32. "*out": true
  33. },
  34. "ExpirationDate": "0001-01-01T00:00:00Z",
  35. "Weight": 20,
  36. "DestinationIDs": {},
  37. "RatingSubject": "",
  38. "Categories": {},
  39. "SharedGroups": {},
  40. "Timings": null,
  41. "TimingIDs": {},
  42. "Disabled": false,
  43. "Factor": null,
  44. "Blocker": false
  45. },
  46. {
  47. "Uuid": "47a6693e-9fac-4510-9561-32a14ddef92c",
  48. "ID": "",
  49. "Value": 10,
  50. "Directions": {
  51. "*out": true
  52. },
  53. "ExpirationDate": "0001-01-01T00:00:00Z",
  54. "Weight": 10,
  55. "DestinationIDs": {},
  56. "RatingSubject": "",
  57. "Categories": {},
  58. "SharedGroups": {
  59. "SHARED_A": true
  60. },
  61. "Timings": null,
  62. "TimingIDs": {},
  63. "Disabled": false,
  64. "Factor": null,
  65. "Blocker": false
  66. }
  67. ],
  68. "*voice": [
  69. {
  70. "Uuid": "927f92cf-5a77-45b4-a482-ed912e2c61e8",
  71. "ID": "",
  72. "Value": 90,
  73. "Directions": {
  74. "*out": true
  75. },
  76. "ExpirationDate": "0001-01-01T00:00:00Z",
  77. "Weight": 20,
  78. "DestinationIDs": {
  79. "DST_1002": true
  80. },
  81. "RatingSubject": "SPECIAL_1002",
  82. "Categories": {},
  83. "SharedGroups": {},
  84. "Timings": null,
  85. "TimingIDs": {},
  86. "Disabled": false,
  87. "Factor": null,
  88. "Blocker": false
  89. },
  90. {
  91. "Uuid": "6f846e70-6120-4e9b-b348-a208d03bc530",
  92. "ID": "",
  93. "Value": 120,
  94. "Directions": {
  95. "*out": true
  96. },
  97. "ExpirationDate": "0001-01-01T00:00:00Z",
  98. "Weight": 20,
  99. "DestinationIDs": {
  100. "DST_1003": true
  101. },
  102. "RatingSubject": "",
  103. "Categories": {},
  104. "SharedGroups": {},
  105. "Timings": null,
  106. "TimingIDs": {},
  107. "Disabled": false,
  108. "Factor": null,
  109. "Blocker": false
  110. }
  111. ]
  112. },
  113. "UnitCounters": {
  114. "*monetary": [
  115. {
  116. "CounterType": "*event",
  117. "Counters": [
  118. {
  119. "Value": 0,
  120. "Filter": {
  121. "Uuid": null,
  122. "ID": "275beb84-a968-4270-bcf6-ab543a6c07eb",
  123. "Type": "*monetary",
  124. "Value": null,
  125. "Directions": {
  126. "*out": true
  127. },
  128. "ExpirationDate": null,
  129. "Weight": null,
  130. "DestinationIDs": {
  131. "FS_USERS": true
  132. },
  133. "RatingSubject": null,
  134. "Categories": null,
  135. "SharedGroups": null,
  136. "TimingIDs": null,
  137. "Timings": null,
  138. "Disabled": null,
  139. "Factor": null,
  140. "Blocker": null
  141. }
  142. }
  143. ]
  144. }
  145. ]
  146. },
  147. "ActionTriggers": [
  148. {
  149. "ID": "STANDARD_TRIGGERS",
  150. "UniqueID": "f84ba6f6-d20f-44e6-aadc-d47b57465654",
  151. "ThresholdType": "*min_balance",
  152. "ThresholdValue": 2,
  153. "Recurrent": false,
  154. "MinSleep": 0,
  155. "ExpirationDate": "0001-01-01T00:00:00Z",
  156. "ActivationDate": "0001-01-01T00:00:00Z",
  157. "Balance": {
  158. "Uuid": null,
  159. "ID": null,
  160. "Type": "*monetary",
  161. "Value": null,
  162. "Directions": {
  163. "*out": true
  164. },
  165. "ExpirationDate": null,
  166. "Weight": null,
  167. "DestinationIDs": null,
  168. "RatingSubject": null,
  169. "Categories": null,
  170. "SharedGroups": null,
  171. "TimingIDs": null,
  172. "Timings": null,
  173. "Disabled": null,
  174. "Factor": null,
  175. "Blocker": null
  176. },
  177. "Weight": 10,
  178. "ActionsID": "LOG_WARNING",
  179. "MinQueuedItems": 0,
  180. "Executed": false,
  181. "LastExecutionTime": "0001-01-01T00:00:00Z"
  182. },
  183. {
  184. "ID": "STANDARD_TRIGGERS",
  185. "UniqueID": "275beb84-a968-4270-bcf6-ab543a6c07eb",
  186. "ThresholdType": "*max_event_counter",
  187. "ThresholdValue": 5,
  188. "Recurrent": false,
  189. "MinSleep": 0,
  190. "ExpirationDate": "0001-01-01T00:00:00Z",
  191. "ActivationDate": "0001-01-01T00:00:00Z",
  192. "Balance": {
  193. "Uuid": null,
  194. "ID": "275beb84-a968-4270-bcf6-ab543a6c07eb",
  195. "Type": "*monetary",
  196. "Value": null,
  197. "Directions": {
  198. "*out": true
  199. },
  200. "ExpirationDate": null,
  201. "Weight": null,
  202. "DestinationIDs": {
  203. "FS_USERS": true
  204. },
  205. "RatingSubject": null,
  206. "Categories": null,
  207. "SharedGroups": null,
  208. "TimingIDs": null,
  209. "Timings": null,
  210. "Disabled": null,
  211. "Factor": null,
  212. "Blocker": null
  213. },
  214. "Weight": 10,
  215. "ActionsID": "LOG_WARNING",
  216. "MinQueuedItems": 0,
  217. "Executed": false,
  218. "LastExecutionTime": "0001-01-01T00:00:00Z"
  219. },
  220. {
  221. "ID": "STANDARD_TRIGGERS",
  222. "UniqueID": "6015a01c-ec6e-4fcd-859f-3c6672128078",
  223. "ThresholdType": "*max_balance",
  224. "ThresholdValue": 20,
  225. "Recurrent": false,
  226. "MinSleep": 0,
  227. "ExpirationDate": "0001-01-01T00:00:00Z",
  228. "ActivationDate": "0001-01-01T00:00:00Z",
  229. "Balance": {
  230. "Uuid": null,
  231. "ID": null,
  232. "Type": "*monetary",
  233. "Value": null,
  234. "Directions": {
  235. "*out": true
  236. },
  237. "ExpirationDate": null,
  238. "Weight": null,
  239. "DestinationIDs": null,
  240. "RatingSubject": null,
  241. "Categories": null,
  242. "SharedGroups": null,
  243. "TimingIDs": null,
  244. "Timings": null,
  245. "Disabled": null,
  246. "Factor": null,
  247. "Blocker": null
  248. },
  249. "Weight": 10,
  250. "ActionsID": "LOG_WARNING",
  251. "MinQueuedItems": 0,
  252. "Executed": false,
  253. "LastExecutionTime": "0001-01-01T00:00:00Z"
  254. },
  255. {
  256. "ID": "STANDARD_TRIGGERS",
  257. "UniqueID": "67014e5b-b025-4a92-b96c-6b89676a30b4",
  258. "ThresholdType": "*max_balance",
  259. "ThresholdValue": 100,
  260. "Recurrent": false,
  261. "MinSleep": 0,
  262. "ExpirationDate": "0001-01-01T00:00:00Z",
  263. "ActivationDate": "0001-01-01T00:00:00Z",
  264. "Balance": {
  265. "Uuid": null,
  266. "ID": null,
  267. "Type": "*monetary",
  268. "Value": null,
  269. "Directions": {
  270. "*out": true
  271. },
  272. "ExpirationDate": null,
  273. "Weight": null,
  274. "DestinationIDs": null,
  275. "RatingSubject": null,
  276. "Categories": null,
  277. "SharedGroups": null,
  278. "TimingIDs": null,
  279. "Timings": null,
  280. "Disabled": null,
  281. "Factor": null,
  282. "Blocker": null
  283. },
  284. "Weight": 10,
  285. "ActionsID": "DISABLE_AND_LOG",
  286. "MinQueuedItems": 0,
  287. "Executed": false,
  288. "LastExecutionTime": "0001-01-01T00:00:00Z"
  289. }
  290. ],
  291. "AllowNegative": false,
  292. "Disabled": false
  293. }
  294. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement