diff --git a/data/postman/Voiceland/CGRates.postman_collection_v2.1.json b/data/postman/Voiceland/CGRates.postman_collection_v2.1.json index 9af69571f..d2e2f9b61 100644 --- a/data/postman/Voiceland/CGRates.postman_collection_v2.1.json +++ b/data/postman/Voiceland/CGRates.postman_collection_v2.1.json @@ -1,6 +1,6 @@ { "info": { - "_postman_id": "b8919625-be4e-44e0-875a-993807f3121e", + "_postman_id": "6c14f6e6-1cee-4721-8117-787d4b75d298", "name": "CGRates", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, @@ -26,7 +26,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\"id\": 3,\n\"method\": \"APIerSv1.SetTPTiming\",\n\"params\": [\n{\n\t\"TPid\": \"TP_TIMING_TEST\",\n\t\"ID\":\"TP_TIMINGID\",\n\t\"TimingId\": \"TP_TIMING_ID\",\n\t\"MonthDays\": \"*any\",\n\t\"Months\": \"*any\",\n\t\"Time\": \"00:00:00\",\n\t\"WeekDays\": \"*any\",\n\t\"Years\": \"*any\"\n}\n]\n}" + "raw": "{\n \"id\": 3,\n \"method\": \"APIerSv1.SetTPTiming\",\n \"params\": [\n {\n \"TPid\": \"TP_TIMING_TEST\",\n \"ID\": \"TP_TIMINGID\",\n \"TimingId\": \"TP_TIMING_ID\",\n \"MonthDays\": \"*any\",\n \"Months\": \"*any\",\n \"Time\": \"00:00:00\",\n \"WeekDays\": \"*any\",\n \"Years\": \"*any\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -55,7 +55,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\"id\": 5,\n\"method\": \"APIerSv1.GetTPTiming\",\n\"params\": [\n{\n\t\"TPid\": \"TP_TIMING_TEST\",\n\t\"ID\":\"TP_TIMINGID\",\n\t\"TimingId\": \"TP_TIMING_ID\"\n}\n]\n}" + "raw": "{\n \"id\": 5,\n \"method\": \"APIerSv1.GetTPTiming\",\n \"params\": [\n {\n \"TPid\": \"TP_TIMING_TEST\",\n \"ID\": \"TP_TIMINGID\",\n \"TimingId\": \"TP_TIMING_ID\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -84,7 +84,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\"id\": 1,\n\"method\": \"APIerSv1.GetTPTimingIds\",\n\"params\": [\n{\n\"TPid\": \"Tim_always\"\n}\n]\n}" + "raw": "{\n \"id\": 1,\n \"method\": \"APIerSv1.GetTPTimingIds\",\n \"params\": [\n {\n \"TPid\": \"Tim_always\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -113,7 +113,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\"id\": 1,\n\"method\": \"APIerSv1.RemoveTPTiming\",\n\"params\": [\n{\n\"TPid\": \"TEST_SQL\"\n}\n]\n}" + "raw": "{\n \"id\": 1,\n \"method\": \"APIerSv1.RemoveTPTiming\",\n \"params\": [\n {\n \"TPid\": \"TEST_SQL\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -168,7 +168,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\n\"method\": \"APIerSv1.GetTPIds\",\n\"params\": []\n}" + "raw": "{\n \"method\": \"APIerSv1.GetTPIds\",\n \"params\": []\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -197,7 +197,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.LoadTariffPlanFromStorDb\",\n \"params\": [\n {\n \t\"TPid\":\"CGR_API_TESTS\"\n \n }\n ]\n}" + "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.LoadTariffPlanFromStorDb\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -283,7 +283,7 @@ ], "body": { "mode": "raw", - "raw": "{\"method\":\"CacheSv1.GetItemIDs\",\n\"params\":[{\n\t\"CacheID\":\"attribute_profiles\",\n\t\"ItemIDPrefix\":\"\"\n\t\n}],\"id\":11}" + "raw": "{\n \"method\": \"CacheSv1.GetItemIDs\",\n \"params\": [\n {\n \"CacheID\": \"attribute_profiles\",\n \"ItemIDPrefix\": \"\"\n }\n ],\n \"id\": 11\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -312,7 +312,7 @@ ], "body": { "mode": "raw", - "raw": "{\"method\":\"CacheSv1.HasItem\",\n\"params\":[{\n\t\"CacheID\":\"attribute_profiles\",\n\t\"ItemIDPrefix\":\"\"\n\t\n}],\"id\":11}" + "raw": "{\n \"method\": \"CacheSv1.HasItem\",\n \"params\": [\n {\n \"CacheID\": \"attribute_profiles\",\n \"ItemIDPrefix\": \"\"\n }\n ],\n \"id\": 11\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -341,7 +341,7 @@ ], "body": { "mode": "raw", - "raw": "{\"method\":\"CacheSv1.GetItemExpiryTime\",\n\"params\":[{\n\t\"CacheID\":\"attribute_profiles\",\n\t\"ItemIDPrefix\":\"\"\n\t\n}],\"id\":11}" + "raw": "{\n \"method\": \"CacheSv1.GetItemExpiryTime\",\n \"params\": [\n {\n \"CacheID\": \"attribute_profiles\",\n \"ItemIDPrefix\": \"\"\n }\n ],\n \"id\": 11\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -370,7 +370,7 @@ ], "body": { "mode": "raw", - "raw": "{\"method\":\"CacheSv1.RemoveItem\",\n\"params\":[{\n\t\"CacheID\":\"attribute_profiles\",\n\t\"ItemIDPrefix\":\"\"\n\t\n}],\"id\":11}" + "raw": "{\n \"method\": \"CacheSv1.RemoveItem\",\n \"params\": [\n {\n \"CacheID\": \"attribute_profiles\",\n \"ItemIDPrefix\": \"\"\n }\n ],\n \"id\": 11\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -399,7 +399,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"method\":\"CacheSv1.PrecacheStatus\",\n\t\"params\":[{}],\n\t\"id\":11\n}" + "raw": "{\n \"method\": \"CacheSv1.PrecacheStatus\",\n \"params\": [\n {}\n ],\n \"id\": 11\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -428,7 +428,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"method\":\"CacheSv1.HasGroup\",\n\t\"params\":[{\n\t\t\"CacheID\":\"attribute_profiles\",\n \t\"GroupID\": \"\"\n\t}],\n\t\"id\":11\n}" + "raw": "{\n \"method\": \"CacheSv1.HasGroup\",\n \"params\": [\n {\n \"CacheID\": \"attribute_profiles\",\n \"GroupID\": \"\"\n }\n ],\n \"id\": 11\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -457,7 +457,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"CacheSv1.FlushCache\",\n \"params\": [\n {\n \"DestinationIDs\": null,\n \"ReverseDestinationIDs\": null,\n \"RatingPlanIDs\": null,\n \"RatingProfileIDs\": null,\n \"ActionIDs\": null,\n \"ActionPlanIDs\": null,\n \"AccountActionPlanIDs\": null,\n \"ActionTriggerIDs\": null,\n \"SharedGroupIDs\": null,\n \"LCRids\": null,\n \"DerivedChargerIDs\": null,\n \"AliasIDs\": null,\n \"ReverseAliasIDs\": null,\n \"ResourceProfileIDs\": null,\n \"ResourceIDs\": null,\n \"StatsQueueIDs\": null,\n \"StatsQueueProfileIDs\": null,\n \"ThresholdIDs\": null,\n \"ThresholdProfileIDs\": null,\n \"FilterIDs\": null,\n \"SupplierProfileIDs\": null,\n \"AttributeProfileIDs\": null,\n \"ChargerProfileIDs\": null,\n \"FlushAll\": true\n }\n ],\n \"id\": 3\n}" + "raw": "{\n \"method\": \"CacheSv1.FlushCache\",\n \"params\": [\n {\n \"DestinationIDs\": null,\n \"ReverseDestinationIDs\": null,\n \"RatingPlanIDs\": null,\n \"RatingProfileIDs\": null,\n \"ActionIDs\": null,\n \"ActionPlanIDs\": null,\n \"AccountActionPlanIDs\": null,\n \"ActionTriggerIDs\": null,\n \"SharedGroupIDs\": null,\n \"LCRids\": null,\n \"DerivedChargerIDs\": null,\n \"AliasIDs\": null,\n \"ReverseAliasIDs\": null,\n \"ResourceProfileIDs\": null,\n \"ResourceIDs\": null,\n \"StatsQueueIDs\": null,\n \"StatsQueueProfileIDs\": null,\n \"ThresholdIDs\": null,\n \"ThresholdProfileIDs\": null,\n \"FilterIDs\": null,\n \"SupplierProfileIDs\": null,\n \"AttributeProfileIDs\": null,\n \"ChargerProfileIDs\": null,\n \"FlushAll\": true\n }\n ],\n \"id\": 3\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -486,7 +486,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"CacheSv1.FlushCache\",\n \"params\": [\n {\n \"DestinationIDs\": null,\n \"ReverseDestinationIDs\": null,\n \"RatingPlanIDs\": null,\n \"RatingProfileIDs\": null,\n \"ActionIDs\": null,\n \"ActionPlanIDs\": null,\n \"AccountActionPlanIDs\": null,\n \"ActionTriggerIDs\": null,\n \"SharedGroupIDs\": null,\n \"LCRids\": null,\n \"DerivedChargerIDs\": null,\n \"AliasIDs\": null,\n \"ReverseAliasIDs\": null,\n \"ResourceProfileIDs\": null,\n \"ResourceIDs\": null,\n \"StatsQueueIDs\": null,\n \"StatsQueueProfileIDs\": null,\n \"ThresholdIDs\": null,\n \"ThresholdProfileIDs\": null,\n \"FilterIDs\": null,\n \"SupplierProfileIDs\": null,\n \"AttributeProfileIDs\": [\"+30xxxxxxxxxx\"],\n \"ChargerProfileIDs\": null,\n \"FlushAll\": false\n }\n ],\n \"id\": 3\n}" + "raw": "{\n \"method\": \"CacheSv1.FlushCache\",\n \"params\": [\n {\n \"DestinationIDs\": null,\n \"ReverseDestinationIDs\": null,\n \"RatingPlanIDs\": null,\n \"RatingProfileIDs\": null,\n \"ActionIDs\": null,\n \"ActionPlanIDs\": null,\n \"AccountActionPlanIDs\": null,\n \"ActionTriggerIDs\": null,\n \"SharedGroupIDs\": null,\n \"LCRids\": null,\n \"DerivedChargerIDs\": null,\n \"AliasIDs\": null,\n \"ReverseAliasIDs\": null,\n \"ResourceProfileIDs\": null,\n \"ResourceIDs\": null,\n \"StatsQueueIDs\": null,\n \"StatsQueueProfileIDs\": null,\n \"ThresholdIDs\": null,\n \"ThresholdProfileIDs\": null,\n \"FilterIDs\": null,\n \"SupplierProfileIDs\": null,\n \"AttributeProfileIDs\": [\n \"+30xxxxxxxxxx\"\n ],\n \"ChargerProfileIDs\": null,\n \"FlushAll\": false\n }\n ],\n \"id\": 3\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -515,7 +515,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"CacheSv1.ReloadCache\",\n \"params\": [\n {\n \"DestinationIDs\": [\n \n ],\n \"ReverseDestinationIDs\": [\n \n ],\n \"RatingPlanIDs\": [\n \n ],\n \"RatingProfileIDs\": [\n ],\n \"ActionIDs\": [\n \n ],\n \"ActionPlanIDs\": [\n \n ],\n \"AccountActionPlanIDs\": [\n \"cgrates.org:+30xxxxxxxxx\",\n \"cgrates.org:+30xxxxxxxxxx\"\n ],\n \"ActionTriggerIDs\": [\n \n ],\n \"SharedGroupIDs\": [],\n \"ResourceProfileIDs\": [],\n \"ResourceIDs\": [],\n \"StatsQueueIDs\": [],\n \"StatsQueueProfileIDs\": [],\n \"ThresholdIDs\": [],\n \"ThresholdProfileIDs\": [],\n \"FilterIDs\": [],\n \"SupplierProfileIDs\": [],\n \"AttributeProfileIDs\": [\"+30xxxxxxxxxx\"],\n \"ChargerProfileIDs\": [],\n \"DispatcherProfileIDs\": [],\n \"DispatcherHostIDs\": [],\n \"DispatcherRoutesIDs\": [],\n \"FlushAll\": true\n }\n ],\n \"id\": 0\n}" + "raw": "{\n \"method\": \"CacheSv1.ReloadCache\",\n \"params\": [\n {\n \"DestinationIDs\": [],\n \"ReverseDestinationIDs\": [],\n \"RatingPlanIDs\": [],\n \"RatingProfileIDs\": [],\n \"ActionIDs\": [],\n \"ActionPlanIDs\": [],\n \"AccountActionPlanIDs\": [\n \"cgrates.org:+30xxxxxxxxx\",\n \"cgrates.org:+30xxxxxxxxxx\"\n ],\n \"ActionTriggerIDs\": [],\n \"SharedGroupIDs\": [],\n \"ResourceProfileIDs\": [],\n \"ResourceIDs\": [],\n \"StatsQueueIDs\": [],\n \"StatsQueueProfileIDs\": [],\n \"ThresholdIDs\": [],\n \"ThresholdProfileIDs\": [],\n \"FilterIDs\": [],\n \"SupplierProfileIDs\": [],\n \"AttributeProfileIDs\": [\n \"+30xxxxxxxxxx\"\n ],\n \"ChargerProfileIDs\": [],\n \"DispatcherProfileIDs\": [],\n \"DispatcherHostIDs\": [],\n \"DispatcherRoutesIDs\": [],\n \"FlushAll\": true\n }\n ],\n \"id\": 0\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -553,7 +553,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"AttributeSv1.ProcessEvent\",\n \"params\": [\n {\n \"AttributeIDs\": null,\n \"Context\": \"*sessions\",\n \"ProcessRuns\": null,\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"91db806d-47b5-4346-b74e-bf699f2dd4d6\",\n \"Time\": null,\n \"Event\": {\n \"Account\": \"+30xxxxxxxxx\",\n \"Category\": \"call\",\n \"Destination\": \"+30xxxxxxxxxx\",\n \"OriginHost\": \"10.156.0.13\",\n \"OriginID\": \"313536313130323331313531373435-11zx3su0dxng_user_860952\",\n \"RequestType\": \"*prepaid\",\n \"SetupTime\": \"1561102312\",\n \"Source\": \"OpenSIPS-01\",\n \"Tenant\": \"cgrates.org\",\n \"User-Agent\": \"snomD120/10.1.33.33\",\n \"User-Agent-IP\": \"1.1.1.1\"\n }\n }\n ],\n \"id\": 244886\n}" + "raw": "{\n \"method\": \"AttributeSv1.ProcessEvent\",\n \"params\": [\n {\n \"AttributeIDs\": null,\n \"Context\": \"*sessions\",\n \"ProcessRuns\": null,\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"91db806d-47b5-4346-b74e-bf699f2dd4d6\",\n \"Time\": null,\n \"Event\": {\n \"Account\": \"+30xxxxxxxxx\",\n \"Category\": \"call\",\n \"Destination\": \"+30xxxxxxxxxx\",\n \"OriginHost\": \"10.156.0.13\",\n \"OriginID\": \"313536313130323331313531373435-11zx3su0dxng_user_860952\",\n \"RequestType\": \"*prepaid\",\n \"SetupTime\": \"1561102312\",\n \"Source\": \"OpenSIPS-01\",\n \"Tenant\": \"cgrates.org\",\n \"User-Agent\": \"snomD120/10.1.33.33\",\n \"User-Agent-IP\": \"1.1.1.1\"\n }\n }\n ],\n \"id\": 244886\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -582,7 +582,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"AttributeSv1.ProcessEvent\",\n \"params\": [\n {\n \"AttributeIDs\": null,\n \"Context\": \"*sessions\",\n \"ProcessRuns\": null,\n \"Tenant\": \"another_tenant\",\n \"ID\": \"417c5580-e06b-4bfb-bdc7-37357ed6f004\",\n \"Time\": null,\n \"Event\": {\n \"Account\": \"+30xxxxxxxxxx\"\n }\n }\n ],\n \"id\": 244887\n}" + "raw": "{\n \"method\": \"AttributeSv1.ProcessEvent\",\n \"params\": [\n {\n \"AttributeIDs\": null,\n \"Context\": \"*sessions\",\n \"ProcessRuns\": null,\n \"Tenant\": \"another_tenant\",\n \"ID\": \"417c5580-e06b-4bfb-bdc7-37357ed6f004\",\n \"Time\": null,\n \"Event\": {\n \"Account\": \"+30xxxxxxxxxx\"\n }\n }\n ],\n \"id\": 244887\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -611,7 +611,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"AttributeSv1.ProcessEvent\",\n \"params\": [\n {\n \"AttributeIDs\": null,\n \"Context\": \"*sessions\",\n \"ProcessRuns\": null,\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"b8610dba-6b5b-4a03-b5ad-097193fd3909\",\n \"Time\": null,\n \"Event\": {\n \"Account\": \"+30xxxxxxxxx\",\n \"AnswerTime\": \"1561102316\",\n \"Category\": \"call\",\n \"Destination\": \"302107001398\",\n \"DialogEntry\": 3530,\n \"DialogID\": 1041695533,\n \"OriginHost\": \"10.156.0.13\",\n \"OriginID\": \"313536313130323331313531373435-11zx3su0dxng_user_860952\",\n \"RequestType\": \"*prepaid\",\n \"SetupTime\": \"1561102312\",\n \"Source\": \"OpenSIPS-01\",\n \"Tenant\": \"cgrates.org\",\n \"User-Agent\": \"snomD120/10.1.33.33\",\n \"User-Agent-IP\": \"1.1.1.1\"\n }\n }\n ],\n \"id\": 244888\n}" + "raw": "{\n \"method\": \"AttributeSv1.ProcessEvent\",\n \"params\": [\n {\n \"AttributeIDs\": null,\n \"Context\": \"*sessions\",\n \"ProcessRuns\": null,\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"b8610dba-6b5b-4a03-b5ad-097193fd3909\",\n \"Time\": null,\n \"Event\": {\n \"Account\": \"+30xxxxxxxxx\",\n \"AnswerTime\": \"1561102316\",\n \"Category\": \"call\",\n \"Destination\": \"302107001398\",\n \"DialogEntry\": 3530,\n \"DialogID\": 1041695533,\n \"OriginHost\": \"10.156.0.13\",\n \"OriginID\": \"313536313130323331313531373435-11zx3su0dxng_user_860952\",\n \"RequestType\": \"*prepaid\",\n \"SetupTime\": \"1561102312\",\n \"Source\": \"OpenSIPS-01\",\n \"Tenant\": \"cgrates.org\",\n \"User-Agent\": \"snomD120/10.1.33.33\",\n \"User-Agent-IP\": \"1.1.1.1\"\n }\n }\n ],\n \"id\": 244888\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -625,40 +625,6 @@ }, "response": [] }, - { - "name": "AttributeSv1.ProcessEvent 3", - "request": { - "auth": { - "type": "noauth" - }, - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"method\": \"AttributeSv1.ProcessEvent\",\n \"params\": [\n{\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ATTR_CATEGORY_UK_MobileO2GBRCN_447802\",\n \"Event\": {\n \"Account\": \"101\",\n \"Category\": \"mo_call\",\n \"Destination\": \"302\",\n \"MSRN\": \"4478020001\",\n \"OriginID\": \"145769965\",\n \"RequestType\": \"*pseudoprepaid\",\n \"SetupTime\": \"*now\",\n \"ToR\": \"*voice\",\n \"Usage\": \"24h\"\n },\n \"Contexts\": [\n \"*sessions\"\n ],\n \"FilterIDs\": [\n \"*rsr::~MSRN(^447802)\"\n ],\n \"ActivationInterval\": null,\n \"Attributes\": [\n {\n \"FieldName\": \"Category\",\n \"Initial\": \"mo_call\",\n \"Substitute\": [\n {\n \"Rules\": \"~Category:s/(.*)/${1}_UK_Mobile___O2__GBRCN_/\",\n \"AllFiltersMatch\": true\n }\n ],\n \"Append\": false\n }\n ],\n \"Blocker\": true,\n \"Weight\": 10\n}\n ],\n \"id\": 2\n}" - }, - "url": { - "raw": "http://sip1.de.cgrates.org:2080/jsonrpc", - "protocol": "http", - "host": [ - "sip1", - "de", - "cgrates", - "org" - ], - "port": "2080", - "path": [ - "jsonrpc" - ] - } - }, - "response": [] - }, { "name": "AttributeSv1.ProcessEvent 4", "request": { @@ -674,7 +640,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"AttributeSv1.ProcessEvent\",\n \"params\": [\n {\n \"Event\": {\n \"Destination\": \"*\"\n },\n \"Context\": \"simpleauth\",\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ATTR_1001_SIMPLEAUTH\"\n }\n ],\n \"id\": 0\n}" + "raw": "{\n \"method\": \"AttributeSv1.ProcessEvent\",\n \"params\": [\n {\n \"Event\": {\n \"Destination\": \"*\"\n },\n \"Context\": \"simpleauth\",\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ATTR_1001_SIMPLEAUTH\"\n }\n ],\n \"id\": 0\n}" }, "url": { "raw": "http://sip1.de.cgrates.org:2080/jsonrpc", @@ -712,7 +678,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetAttributeProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"+30xxxxxxxxx\",\n \"Contexts\": [\n \"*sessions\"\n ],\n \"FilterIDs\": [\n \"*string:~Account:+30xxxxxxxxx\"\n ],\n \"ActivationInterval\": null,\n \"Attributes\": [\n {\n \"FilterIDs\": null,\n \"FieldName\": \"SipUserName\",\n \"Type\": \"\",\n \"Value\": [\n {\n \"Rules\": \"+30xxxxxxxxx\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"FieldName\": \"SipPassword\",\n \"Type\": \"\",\n \"Value\": [\n {\n \"Rules\": \"xe3r3xJp@o1D*yeV\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"FieldName\": \"Region\",\n \"Type\": \"\",\n \"Value\": [\n {\n \"Rules\": \"Europe\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"FieldName\": \"Country\",\n \"Type\": \"\",\n \"Value\": [\n {\n \"Rules\": \"Greece\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"FieldName\": \"RequestType\",\n \"Type\": \"\",\n \"Value\": [\n {\n \"Rules\": \"*prepaid\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"FieldName\": \"MaxSessions\",\n \"Type\": \"\",\n \"Value\": [\n {\n \"Rules\": \"1\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"FieldName\": \"Max_Incoming_Sessions\",\n \"Type\": \"\",\n \"Value\": [\n {\n \"Rules\": \"1\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"FieldName\": \"Max_Outgoing_Sessions\",\n \"Type\": \"\",\n \"Value\": [\n {\n \"Rules\": \"1\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"FieldName\": \"MaxSessionTime\",\n \"Type\": \"\",\n \"Value\": [\n {\n \"Rules\": \"3600\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"FieldName\": \"MaxCallsPerSecond\",\n \"Type\": \"\",\n \"Value\": [\n {\n \"Rules\": \"1\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"FieldName\": \"Authorize_wrong_password_limit\",\n \"Type\": \"\",\n \"Value\": [\n {\n \"Rules\": \"20\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"FieldName\": \"Authorize_no_such_user_limit\",\n \"Type\": \"\",\n \"Value\": [\n {\n \"Rules\": \"20\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"FieldName\": \"Block_Incoming_Calls\",\n \"Type\": \"\",\n \"Value\": [\n {\n \"Rules\": \"0\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"FieldName\": \"Hide_CLI\",\n \"Type\": \"\",\n \"Value\": [\n {\n \"Rules\": \"0\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"FieldName\": \"Forwarding_Service\",\n \"Type\": \"\",\n \"Value\": [\n {\n \"Rules\": \"0\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"FieldName\": \"Voicemail_Service\",\n \"Type\": \"\",\n \"Value\": [\n {\n \"Rules\": \"0\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"FieldName\": \"ResourceAllocation\",\n \"Type\": \"*contant\",\n \"Value\": [\n {\n \"Rules\": \"ResGroup1\",\n \"AllFiltersMatch\": true\n }\n ]\n }\n ],\n \"Blocker\": false,\n \"Weight\": 10\n }\n ],\n \"id\": 2\n}" + "raw": "{\n \"method\": \"APIerSv1.SetAttributeProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"+30xxxxxxxxx\",\n \"Contexts\": [\n \"*sessions\"\n ],\n \"FilterIDs\": [\n \"*string:~*req.Account:+30xxxxxxxxx\"\n ],\n \"ActivationInterval\": null,\n \"Attributes\": [\n {\n \"FilterIDs\": null,\n \"Path\": \"*req.SipUserName\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"+30xxxxxxxxx\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"Path\": \"*req.SipPassword\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"xe3r3xJp@o1D*yeV\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"Path\": \"*req.Region\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"Europe\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"Path\": \"*req.Country\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"Greece\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"Path\": \"*req.RequestType\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"*prepaid\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"Path\": \"*req.MaxSessions\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"1\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"Path\": \"*req.Max_Incoming_Sessions\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"1\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"Path\": \"*req.Max_Outgoing_Sessions\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"1\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"Path\": \"*req.MaxSessionTime\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"3600\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"Path\": \"*req.MaxCallsPerSecond\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"1\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"Path\": \"*req.Authorize_wrong_password_limit\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"20\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"Path\": \"*req.Authorize_no_such_user_limit\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"20\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"Path\": \"*req.Block_Incoming_Calls\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"0\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"Path\": \"*req.Hide_CLI\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"0\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"Path\": \"*req.Forwarding_Service\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"0\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"Path\": \"*req.Voicemail_Service\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"0\",\n \"AllFiltersMatch\": true\n }\n ]\n },\n {\n \"FilterIDs\": null,\n \"Path\": \"*req.ResourceAllocation\",\n \"Type\": \"*contant\",\n \"Value\": [\n {\n \"Rules\": \"ResGroup1\",\n \"AllFiltersMatch\": true\n }\n ]\n }\n ],\n \"Blocker\": false,\n \"Weight\": 10\n }\n ],\n \"id\": 2\n}" }, "url": { "raw": "http://cgrates1.cgrates.org:2080/jsonrpc", @@ -745,7 +711,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"id\":\"0\",\n \"method\":\"APIerSv1.GetAttributeProfile\",\n \"params\":[\n {\n \"Tenant\":\"cgrates.org\",\n \"ID\":\"ATTR_SPL_TESTSUPPLIER1_Out\"\n }\n ]\n}" + "raw": "{\n \"id\": \"0\",\n \"method\": \"APIerSv1.GetAttributeProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ATTR_SPL_TESTSUPPLIER1_Out\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -774,7 +740,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"id\":\"0\",\n \"method\":\"APIerSv1.RemoveAttributeProfile\",\n \"params\":[\n {\n \"Tenant\":\"cgrates.org\",\n \"ID\":\"+30xxxxxxxxxx\"\n }\n ]\n}" + "raw": "{\n \"id\": \"0\",\n \"method\": \"APIerSv1.RemoveAttributeProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"+30xxxxxxxxxx\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -803,7 +769,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"id\":\"0\",\n \"method\":\"APIerSv1.GetAttributeProfileIDs\",\n \"params\":[\n {\n \"Tenant\":\"cgrates.org\",\n \"ID\":[]\n }\n ]\n}\n " + "raw": "{\n \"id\": \"0\",\n \"method\": \"APIerSv1.GetAttributeProfileIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": []\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -832,7 +798,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetAttributeProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ATTR_SPL_TESTSUPPLIER1_In\",\n \"Contexts\": [\n \"*chargers\"\n ],\n \"FilterIDs\": [\n \n ],\n \"ActivationInterval\": null,\n \"Attributes\": [\n {\n \"FilterIDs\": null,\n \"FieldName\": \"Subject\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"TESTSUPPLIER1-IN\",\n \"AllFiltersMatch\": true\n }\n ]\n }\n \n ],\n \"Blocker\": false,\n \"Weight\": 10\n }\n ],\n \"id\": 2\n}" + "raw": "{\n \"method\": \"APIerSv1.SetAttributeProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ATTR_SPL_TESTSUPPLIER1_In\",\n \"Contexts\": [\n \"*chargers\"\n ],\n \"FilterIDs\": [],\n \"ActivationInterval\": null,\n \"Attributes\": [\n {\n \"FilterIDs\": null,\n \"Path\": \"*req.Subject\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"TESTSUPPLIER1-IN\",\n \"AllFiltersMatch\": true\n }\n ]\n }\n ],\n \"Blocker\": false,\n \"Weight\": 10\n }\n ],\n \"id\": 2\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -861,7 +827,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetAttributeProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ATTR_SPL_TESTSUPPLIER1_Out\",\n \"Contexts\": [\n \"*chargers\"\n ],\n \"FilterIDs\": [\n \n ],\n \"ActivationInterval\": null,\n \"Attributes\": [\n {\n \"FilterIDs\": null,\n \"FieldName\": \"Subject\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"TESTSUPPLIER1-OUT\",\n \"AllFiltersMatch\": true\n }\n ]\n }\n \n ],\n \"Blocker\": false,\n \"Weight\": 10\n }\n ],\n \"id\": 2\n}" + "raw": "{\n \"method\": \"APIerSv1.SetAttributeProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ATTR_SPL_TESTSUPPLIER1_Out\",\n \"Contexts\": [\n \"*chargers\"\n ],\n \"FilterIDs\": [],\n \"ActivationInterval\": null,\n \"Attributes\": [\n {\n \"FilterIDs\": null,\n \"Path\": \"*req.Subject\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"TESTSUPPLIER1-OUT\",\n \"AllFiltersMatch\": true\n }\n ]\n }\n ],\n \"Blocker\": false,\n \"Weight\": 10\n }\n ],\n \"id\": 2\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -890,7 +856,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetAttributeProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ATTR_CATEGORY_CALL_IN\",\n \"Contexts\": [\n \"*chargers\"\n ],\n \"FilterIDs\": [\n \n ],\n \"ActivationInterval\": null,\n \"Attributes\": [\n {\n \"FilterIDs\": null,\n \"FieldName\": \"Category\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"call-in\",\n \"AllFiltersMatch\": true\n }\n ]\n }\n \n ],\n \"Blocker\": false,\n \"Weight\": 10\n }\n ],\n \"id\": 2\n}" + "raw": "{\n \"method\": \"APIerSv1.SetAttributeProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ATTR_CATEGORY_CALL_IN\",\n \"Contexts\": [\n \"*chargers\"\n ],\n \"FilterIDs\": [],\n \"ActivationInterval\": null,\n \"Attributes\": [\n {\n \"FilterIDs\": null,\n \"Path\": \"*req.Category\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"call-in\",\n \"AllFiltersMatch\": true\n }\n ]\n }\n ],\n \"Blocker\": false,\n \"Weight\": 10\n }\n ],\n \"id\": 2\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -919,7 +885,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetAttributeProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ATTR_CATEGORY_CALL_OUT\",\n \"Contexts\": [\n \"*chargers\"\n ],\n \"FilterIDs\": [\n \n ],\n \"ActivationInterval\": null,\n \"Attributes\": [\n {\n \"FilterIDs\": null,\n \"FieldName\": \"Category\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"call-out\",\n \"AllFiltersMatch\": true\n }\n ]\n }\n \n ],\n \"Blocker\": false,\n \"Weight\": 10\n }\n ],\n \"id\": 2\n}" + "raw": "{\n \"method\": \"APIerSv1.SetAttributeProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ATTR_CATEGORY_CALL_OUT\",\n \"Contexts\": [\n \"*chargers\"\n ],\n \"FilterIDs\": [],\n \"ActivationInterval\": null,\n \"Attributes\": [\n {\n \"FilterIDs\": null,\n \"Path\": \"*req.Category\",\n \"Type\": \"*constant\",\n \"Value\": [\n {\n \"Rules\": \"call-out\",\n \"AllFiltersMatch\": true\n }\n ]\n }\n ],\n \"Blocker\": false,\n \"Weight\": 10\n }\n ],\n \"id\": 2\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -957,7 +923,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.GetTPActionPlanIds\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\" \n \n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv1.GetTPActionPlanIds\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -986,7 +952,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetTPActionPlan\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\" , \n \t\t\"ID\": \"always\" , \n\t\t\t\"ActionPlan\" : [\n\t\t \t{\n\t\t \t\t\"ActionsId\" : \"fafsafa\",\n \t\t\t\"TimingId\" : \"*any\",\n \t\t\t\"Weight\" : 10\t\n\t\t \t}\n\t\t \t]\n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv1.SetTPActionPlan\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"always\",\n \"ActionPlan\": [\n {\n \"ActionsId\": \"fafsafa\",\n \"TimingId\": \"*any\",\n \"Weight\": 10\n }\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -1015,7 +981,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.GetTPActionPlan\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\" , \n \t\t\"ID\": \"always\" \n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv1.GetTPActionPlan\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"always\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -1044,7 +1010,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.RemoveTPActionPlan\",\n \"params\": [\n {\n \"TPid\":\"CGR_API_TESTS\",\n \"ID\":\"always\"\n \n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv1.RemoveTPActionPlan\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"always\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -1077,7 +1043,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.GetAccountActionPlan\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxxx\"\n \n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv1.GetAccountActionPlan\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxxx\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -1106,7 +1072,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.GetActionPlan\",\n \"params\": [\n {\n \"Id\": \"AP_PACKAGE_10\"\n \n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv1.GetActionPlan\",\n \"params\": [\n {\n \"Id\": \"AP_PACKAGE_10\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -1171,7 +1137,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.RemoveActionTiming\",\n \"params\": [\n {\n \"ActionPlanId\": \"AP_VOICE_PACKAGE_200\",\n \"ActionTimingId\": \"\",\n \"Tenant\": \"sip.TEST_SUPPLIER_NAME.gr\",\n \"Account\": \"+30xxxxxxxxx\",\n \"ReloadScheduler\": true\n \n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv1.RemoveActionTiming\",\n \"params\": [\n {\n \"ActionPlanId\": \"AP_VOICE_PACKAGE_200\",\n \"ActionTimingId\": \"\",\n \"Tenant\": \"sip.TEST_SUPPLIER_NAME.gr\",\n \"Account\": \"+30xxxxxxxxx\",\n \"ReloadScheduler\": true\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -1206,7 +1172,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv2.GetAccounts\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv2.GetAccounts\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -1235,7 +1201,7 @@ ], "body": { "mode": "raw", - "raw": "{\"method\": \"APIerSv2.SetAccount\",\n \"params\": [{\n \"Tenant\": \"cgrates.org\", \n \"Account\": \"+30xxxxxxxxx\", \n \"ActionPlanIDs\": [\"ACP_+30xxxxxxxxx_TOPUP_PKG_1000_GR\"], \n \"ActionPlansOverwrite\": true,\n \"AllowNegative\": false,\n \"Disabled\": false,\n \"ReloadScheduler\": true \n }]\n}" + "raw": "{\n \"method\": \"APIerSv2.SetAccount\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxx\",\n \"ActionPlanIDs\": [\n \"ACP_+30xxxxxxxxx_TOPUP_PKG_1000_GR\"\n ],\n \"ActionPlansOverwrite\": true,\n \"AllowNegative\": false,\n \"Disabled\": false,\n \"ReloadScheduler\": true\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -1264,7 +1230,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv2.GetAccount\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxx\"\n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv2.GetAccount\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxx\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -1293,7 +1259,7 @@ ], "body": { "mode": "raw", - "raw": "{\"method\": \"APIerSv1.RemoveAccount\",\n \"params\": [{\n \"Tenant\": \"cgrates.org\", \n \"Account\": \"1003\", \n \"ReloadScheduler\": true\n }]\n}" + "raw": "{\n \"method\": \"APIerSv1.RemoveAccount\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"1003\",\n \"ReloadScheduler\": true\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -1322,7 +1288,7 @@ ], "body": { "mode": "raw", - "raw": "{\"method\": \"APIerSv1.SetAccount\",\n \"params\": [{\n \"Tenant\": \"cgrates.org\", \n \"Account\": \"+30xxxxxxxxx\", \n \"ActionPlanId\": \"ACP_+30xxxxxxxxx_TOPUP_PKG_1000_GR\", \n \"AllowNegative\": false,\n \"Disabled\": false,\n \"ReloadScheduler\": true \n }]\n}" + "raw": "{\n \"method\": \"APIerSv1.SetAccount\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxx\",\n \"ActionPlanId\": \"ACP_+30xxxxxxxxx_TOPUP_PKG_1000_GR\",\n \"AllowNegative\": false,\n \"Disabled\": false,\n \"ReloadScheduler\": true\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -1351,7 +1317,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.GetAccount\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxx\"\n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv1.GetAccount\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxx\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -1380,7 +1346,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.GetAccountActionPlan\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxxx\"\n \n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv1.GetAccountActionPlan\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxxx\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -1834,7 +1800,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"id\":\"11111\",\r\n \"method\":\"APIerSv2.GetCDRs\",\r\n \"params\":[\r\n {\r\n\t\"RunIDs\":[\"CustomerCharges\"],\r\n\t\"Tenants\":[\"cgrates.org\"],\r\n \"Accounts\":[\"+30xxxxxxxxxx\"],\r\n \"Category\": [\"call-in\"]\r\n }\r\n ]\r\n}" + "raw": "{\n \"id\": \"11111\",\n \"method\": \"APIerSv2.GetCDRs\",\n \"params\": [\n {\n \"RunIDs\": [\n \"CustomerCharges\"\n ],\n \"Tenants\": [\n \"cgrates.org\"\n ],\n \"Accounts\": [\n \"+30xxxxxxxxxx\"\n ],\n \"Category\": [\n \"call-in\"\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -1863,7 +1829,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"id\":\"11111\",\r\n \"method\":\"APIerSv2.GetCDRs\",\r\n \"params\":[\r\n {\r\n\t\"Tenants\":[\"cgrates.org\"],\r\n\t\"Accounts\":[\"+30xxxxxxxxx\"]\r\n\r\n\r\n }\r\n ]\r\n}" + "raw": "{\n \"id\": \"11111\",\n \"method\": \"APIerSv2.GetCDRs\",\n \"params\": [\n {\n \"Tenants\": [\n \"cgrates.org\"\n ],\n \"Accounts\": [\n \"+30xxxxxxxxx\"\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -1892,7 +1858,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"id\":\"11111\",\r\n \"method\":\"APIerSv2.GetCDRs\",\r\n \"params\":[\r\n {\r\n\t\"RunIDs\":[\"SPL_TEST_SUPPLIER_NAME\"],\r\n\t\"Tenants\":[\"cgrates.org\"],\r\n \"Accounts\":[\"+30xxxxxxxxxx\"]\r\n\r\n }\r\n ]\r\n}" + "raw": "{\n \"id\": \"11111\",\n \"method\": \"APIerSv2.GetCDRs\",\n \"params\": [\n {\n \"RunIDs\": [\n \"SPL_TEST_SUPPLIER_NAME\"\n ],\n \"Tenants\": [\n \"cgrates.org\"\n ],\n \"Accounts\": [\n \"+30xxxxxxxxxx\"\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -1921,7 +1887,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"id\":\"11111\",\r\n \"method\":\"APIerSv2.GetCDRs\",\r\n \"params\":[\r\n {\r\n\t\"RunIDs\":[\"CustomerCharges\"],\r\n\t\"Tenants\":[\"cgrates.org\"],\r\n \"Accounts\":[\"+30xxxxxxxxx\"]\r\n\r\n }\r\n ]\r\n}" + "raw": "{\n \"id\": \"11111\",\n \"method\": \"APIerSv2.GetCDRs\",\n \"params\": [\n {\n \"RunIDs\": [\n \"CustomerCharges\"\n ],\n \"Tenants\": [\n \"cgrates.org\"\n ],\n \"Accounts\": [\n \"+30xxxxxxxxx\"\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -1950,7 +1916,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"id\":\"11111\",\r\n \"method\":\"APIerSv2.GetCDRs\",\r\n \"params\":[\r\n {\r\n\t\"RunIDs\":[\"CustomerCharges\"],\r\n\t\"Tenants\":[\"cgrates.org\"],\r\n \"Accounts\":[\"+30xxxxxxxxx\"],\r\n \"Categories\": [\"call-out\"]\r\n \r\n }\r\n ]\r\n}" + "raw": "{\n \"id\": \"11111\",\n \"method\": \"APIerSv2.GetCDRs\",\n \"params\": [\n {\n \"RunIDs\": [\n \"CustomerCharges\"\n ],\n \"Tenants\": [\n \"cgrates.org\"\n ],\n \"Accounts\": [\n \"+30xxxxxxxxx\"\n ],\n \"Categories\": [\n \"call-out\"\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -1979,7 +1945,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"id\":\"11111\",\r\n \"method\":\"APIerSv2.GetCDRs\",\r\n \"params\":[\r\n {\r\n\t\"RunIDs\":[\"CustomerCharges\"],\r\n\t\"Tenants\":[\"cgrates.org\"],\r\n \"Accounts\":[\"+30xxxxxxxxxx\"],\r\n \"Categories\": [\"call-in\"],\r\n \"Subjects\": [\"INTERNAL-IN\"]\r\n }\r\n ]\r\n}" + "raw": "{\n \"id\": \"11111\",\n \"method\": \"APIerSv2.GetCDRs\",\n \"params\": [\n {\n \"RunIDs\": [\n \"CustomerCharges\"\n ],\n \"Tenants\": [\n \"cgrates.org\"\n ],\n \"Accounts\": [\n \"+30xxxxxxxxxx\"\n ],\n \"Categories\": [\n \"call-in\"\n ],\n \"Subjects\": [\n \"INTERNAL-IN\"\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2008,7 +1974,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"id\":\"11111\",\r\n \"method\":\"APIerSv2.GetCDRs\",\r\n \"params\":[\r\n {\r\n\t\"RunIDs\":[\"SupplierCharges\"],\r\n\t\"Tenants\":[\"cgrates.org\"],\r\n \"Accounts\":[\"+30xxxxxxxxx\"]\r\n }\r\n ]\r\n}" + "raw": "{\n \"id\": \"11111\",\n \"method\": \"APIerSv2.GetCDRs\",\n \"params\": [\n {\n \"RunIDs\": [\n \"SupplierCharges\"\n ],\n \"Tenants\": [\n \"cgrates.org\"\n ],\n \"Accounts\": [\n \"+30xxxxxxxxx\"\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2037,7 +2003,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"id\":\"11111\",\r\n \"method\":\"APIerSv2.GetCDRs\",\r\n \"params\":[\r\n {\r\n\t\"RunIDs\":[\"SupplierCharges\"],\r\n\t\"Tenants\":[\"cgrates.org\"],\r\n \"Accounts\":[\"+30xxxxxxxxxx\"],\r\n \"Categories\": [\"call-in\"],\r\n \"Subjects\": [\"INTERNAL-IN\"]\r\n }\r\n ]\r\n}" + "raw": "{\n \"id\": \"11111\",\n \"method\": \"APIerSv2.GetCDRs\",\n \"params\": [\n {\n \"RunIDs\": [\n \"SupplierCharges\"\n ],\n \"Tenants\": [\n \"cgrates.org\"\n ],\n \"Accounts\": [\n \"+30xxxxxxxxxx\"\n ],\n \"Categories\": [\n \"call-in\"\n ],\n \"Subjects\": [\n \"INTERNAL-IN\"\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2066,7 +2032,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"id\":\"11111\",\r\n \"method\":\"APIerSv1.GetCDRs\",\r\n \"params\":[\r\n {\r\n\t\"RunIDs\":[\"CustomerCharges\"],\r\n\t\"Tenants\":[\"cgrates.org\"],\r\n \"Accounts\":[\"+30xxxxxxxxxx\"],\r\n \"Category\": [\"call-in\"]\r\n }\r\n ]\r\n}" + "raw": "{\n \"id\": \"11111\",\n \"method\": \"APIerSv1.GetCDRs\",\n \"params\": [\n {\n \"RunIDs\": [\n \"CustomerCharges\"\n ],\n \"Tenants\": [\n \"cgrates.org\"\n ],\n \"Accounts\": [\n \"+30xxxxxxxxxx\"\n ],\n \"Category\": [\n \"call-in\"\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2095,7 +2061,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"id\":\"11111\",\r\n \"method\":\"APIerSv1.GetCDRs\",\r\n \"params\":[\r\n {\r\n\t\"RunIDs\":[\"*default\"],\r\n\t\"Tenants\":[\"cgrates.org\"],\r\n \"Accounts\":[\"+30xxxxxxxxxx\"],\r\n \"Category\": [\"call\"]\r\n }\r\n ]\r\n}" + "raw": "{\n \"id\": \"11111\",\n \"method\": \"APIerSv1.GetCDRs\",\n \"params\": [\n {\n \"RunIDs\": [\n \"*default\"\n ],\n \"Tenants\": [\n \"cgrates.org\"\n ],\n \"Accounts\": [\n \"+30xxxxxxxxxx\"\n ],\n \"Category\": [\n \"call\"\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2124,7 +2090,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"id\":\"11111\",\r\n \"method\":\"APIerSv1.RemoveCDRs\",\r\n \"params\":[\r\n {\r\n\t\"RunIDs\":[\"*default\"],\r\n\t\"Tenants\":[\"cgrates.org\"],\r\n \"Accounts\":[\"+30xxxxxxxxxx\"],\r\n \"Category\": [\"call\"]\r\n }\r\n ]\r\n}" + "raw": "{\n \"id\": \"11111\",\n \"method\": \"APIerSv1.RemoveCDRs\",\n \"params\": [\n {\n \"RunIDs\": [\n \"*default\"\n ],\n \"Tenants\": [\n \"cgrates.org\"\n ],\n \"Accounts\": [\n \"+30xxxxxxxxxx\"\n ],\n \"Category\": [\n \"call\"\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2153,7 +2119,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"id\":\"11111\",\r\n \"method\":\"APIerSv1.RemoveCDRs\",\r\n \"params\":[\r\n {\r\n\t\"Tenants\":[\"cgrates.org\"]\r\n }\r\n ]\r\n}" + "raw": "{\n \"id\": \"11111\",\n \"method\": \"APIerSv1.RemoveCDRs\",\n \"params\": [\n {\n \"Tenants\": [\n \"cgrates.org\"\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2182,7 +2148,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"id\":\"11111\",\r\n \"method\":\"APIerSv2.CountCDRs\",\r\n \"params\":[\r\n {\r\n\t\"RunIDs\":[\"*default\"],\r\n\t\"Tenants\":[\"cgrates.org\"],\r\n \"Accounts\":[\"+30xxxxxxxxxx\"],\r\n \"Category\": [\"call\"]\r\n }\r\n ]\r\n}" + "raw": "{\n \"id\": \"11111\",\n \"method\": \"APIerSv2.CountCDRs\",\n \"params\": [\n {\n \"RunIDs\": [\n \"*default\"\n ],\n \"Tenants\": [\n \"cgrates.org\"\n ],\n \"Accounts\": [\n \"+30xxxxxxxxxx\"\n ],\n \"Category\": [\n \"call\"\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2220,7 +2186,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv2.SetTPDestination\",\n \"params\": [\n {\n \t\"TPid\": \"CGR_API_TESTS\",\n \t\"ID\":\"TP_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"DestinationId\": \"TP_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"Prefixes\": [\n \"302\"\n ]\n \n }\n ]\n}" + "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv2.SetTPDestination\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"TP_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"DestinationId\": \"TP_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"Prefixes\": [\n \"302\"\n ]\n }\n ]\n}" }, "url": { "raw": "http://cgrates1.cgrates.org:2080/jsonrpc", @@ -2287,7 +2253,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.GetTPDestination\",\n \"params\": [\n {\n \t\"TPid\":\"CGR_API_TESTS\",\n \"Id\": \"TP_DST_RETAIL_GR_LANDLINE_2019_01\"\n \n \n }\n ]\n}" + "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.GetTPDestination\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\",\n \"Id\": \"TP_DST_RETAIL_GR_LANDLINE_2019_01\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2316,7 +2282,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.RemoveTPDestination\",\n \"params\": [\n {\n \t\"TPid\":\"CGR_API_TESTS\",\n \"Id\": \"TP_DST_RETAIL_GR_LANDLINE_2019_01\"\n \n \n }\n ]\n}" + "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.RemoveTPDestination\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\",\n \"Id\": \"TP_DST_RETAIL_GR_LANDLINE_2019_01\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2345,7 +2311,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.GetTPDestinationIDs\",\n \"params\": [\n {\n \t\"TPid\": \"CGR_API_TESTS\"\n \n }\n ]\n}" + "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.GetTPDestinationIDs\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2374,7 +2340,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv2.SetTPDestination\",\n \"params\": [\n {\n \t\"TPid\": \"CGR_API_TESTS\",\n \t\"ID\":\"TP_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"DestinationId\": \"TP_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"Prefixes\": [\n \"302\"\n ]\n \n }\n ]\n}" + "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv2.SetTPDestination\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"TP_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"DestinationId\": \"TP_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"Prefixes\": [\n \"302\"\n ]\n }\n ]\n}" }, "url": { "raw": "http://cgrates1.cgrates.org:2080/jsonrpc", @@ -2414,7 +2380,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetTPDestinationRate\",\n \"params\": [{\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"TP_DST_RT_RETAIL_GR_LANDLINE_2019_01\",\n \"DestinationRates\": [{\n \"DestinationId\": \"TP_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"RateId\": \"TP_RATEID_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"Rate\": {\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"TP_RT_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"RateSlots\": [{\n \"ConnectFee\": 0.0000,\n \"Rate\": 0.090,\n \"RateUnit\": \"60s\",\n \"RateIncrement\": \"1s\",\n \"GroupIntervalStart\": \"0\"\n },\n \t{\n \"ConnectFee\": 0.0000,\n \"Rate\": 0.090,\n \"RateUnit\": \"60s\",\n \"RateIncrement\": \"1s\",\n \"GroupIntervalStart\": \"60\"\n }\n ]\n },\n \"RoundingMethod\": \"*up\",\n \"RoundingDecimals\": 4,\n \"MaxCost\": 0,\n \"MaxCostStrategy\": \"\"\n }]\n }]\n}\n\n\n" + "raw": "{\n \"method\": \"APIerSv1.SetTPDestinationRate\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"TP_DST_RT_RETAIL_GR_LANDLINE_2019_01\",\n \"DestinationRates\": [\n {\n \"DestinationId\": \"TP_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"RateId\": \"TP_RATEID_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"Rate\": {\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"TP_RT_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"RateSlots\": [\n {\n \"ConnectFee\": 0,\n \"Rate\": 0.09,\n \"RateUnit\": \"60s\",\n \"RateIncrement\": \"1s\",\n \"GroupIntervalStart\": \"0\"\n },\n {\n \"ConnectFee\": 0,\n \"Rate\": 0.09,\n \"RateUnit\": \"60s\",\n \"RateIncrement\": \"1s\",\n \"GroupIntervalStart\": \"60\"\n }\n ]\n },\n \"RoundingMethod\": \"*up\",\n \"RoundingDecimals\": 4,\n \"MaxCost\": 0,\n \"MaxCostStrategy\": \"\"\n }\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2443,7 +2409,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetTPDestinationRate\",\n \"params\": [{\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"TP_DST_RT_RETAIL_GR_LANDLINE_2019_01\",\n \"DestinationRates\": [{\n \"DestinationId\": \"TP_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"RateId\": \"TP_RATEID_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"Rate\": {\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"TP_RT_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"RateSlots\": [{\n \"ConnectFee\": 0.0000,\n \"Rate\": 0.090,\n \"RateUnit\": \"60s\",\n \"RateIncrement\": \"1s\",\n \"GroupIntervalStart\": \"0\"\n },\n \t{\n \"ConnectFee\": 0.0000,\n \"Rate\": 0.090,\n \"RateUnit\": \"60s\",\n \"RateIncrement\": \"1s\",\n \"GroupIntervalStart\": \"60\"\n }\n ]\n },\n \"RoundingMethod\": \"*up\",\n \"RoundingDecimals\": 4,\n \"MaxCost\": 0,\n \"MaxCostStrategy\": \"\"\n }]\n }]\n}\n\n\n" + "raw": "{\n \"method\": \"APIerSv1.SetTPDestinationRate\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"TP_DST_RT_RETAIL_GR_LANDLINE_2019_01\",\n \"DestinationRates\": [\n {\n \"DestinationId\": \"TP_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"RateId\": \"TP_RATEID_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"Rate\": {\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"TP_RT_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"RateSlots\": [\n {\n \"ConnectFee\": 0,\n \"Rate\": 0.09,\n \"RateUnit\": \"60s\",\n \"RateIncrement\": \"1s\",\n \"GroupIntervalStart\": \"0\"\n },\n {\n \"ConnectFee\": 0,\n \"Rate\": 0.09,\n \"RateUnit\": \"60s\",\n \"RateIncrement\": \"1s\",\n \"GroupIntervalStart\": \"60\"\n }\n ]\n },\n \"RoundingMethod\": \"*up\",\n \"RoundingDecimals\": 4,\n \"MaxCost\": 0,\n \"MaxCostStrategy\": \"\"\n }\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2472,7 +2438,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetTPDestinationRate\",\n \"params\": [{\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"TP_DST_RT_RETAIL_GR_LANDLINE_2019_01\",\n \"DestinationRates\": [{\n \"DestinationId\": \"TP_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"RateId\": \"TP_RATEID_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"RoundingMethod\": \"*up\",\n \"RoundingDecimals\": 4,\n \"MaxCost\": 0,\n \"MaxCostStrategy\": \"\"\n }]\n }]\n}\n\n\n" + "raw": "{\n \"method\": \"APIerSv1.SetTPDestinationRate\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"TP_DST_RT_RETAIL_GR_LANDLINE_2019_01\",\n \"DestinationRates\": [\n {\n \"DestinationId\": \"TP_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"RateId\": \"TP_RATEID_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"RoundingMethod\": \"*up\",\n \"RoundingDecimals\": 4,\n \"MaxCost\": 0,\n \"MaxCostStrategy\": \"\"\n }\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2501,7 +2467,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.RemoveTPDestinationRate\",\n \"params\": [{\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"DST_RETAIL_GR_LANDLINE_2019_01\"\n \n }]\n}\n\n" + "raw": "{\n \"method\": \"APIerSv1.RemoveTPDestinationRate\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"DST_RETAIL_GR_LANDLINE_2019_01\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2530,7 +2496,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\"id\": 1,\n\"method\": \"APIerSv1.GetTPDestinationRate\",\n\"params\": [\n{\n\t\"TPid\": \"TPID_VL_INTERNAL_INBOUND_CALLS\",\n\t\"ID\": \"TP_DSTRATE_CLI_VL_INTERNAL_INBOUND_CALLS_GR_MOBILE\"\n}\n]\n}" + "raw": "{\n \"id\": 1,\n \"method\": \"APIerSv1.GetTPDestinationRate\",\n \"params\": [\n {\n \"TPid\": \"TPID_VL_INTERNAL_INBOUND_CALLS\",\n \"ID\": \"TP_DSTRATE_CLI_VL_INTERNAL_INBOUND_CALLS_GR_MOBILE\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2559,7 +2525,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\"id\": 1,\n\"method\": \"APIerSv1.GetTPDestinationRateIds\",\n\"params\": [\n{\n\"TPid\": \"TP_VL_RP_2019_01_IN\"\n\n}\n]\n}" + "raw": "{\n \"id\": 1,\n \"method\": \"APIerSv1.GetTPDestinationRateIds\",\n \"params\": [\n {\n \"TPid\": \"TP_VL_RP_2019_01_IN\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2616,7 +2582,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\"id\": 3,\n\"method\": \"APIerSv1.SetTPRate\",\n\"params\": [\n{\n\t\"TPid\": \"CGR_API_TESTS\",\n\t\"ID\":\"TP_RATE_DST_RETAIL_GR_LANDLINE_2019_01\",\n\t \"RateSlots\" : [\n \t{\n\t \"ConnectFee\" : 0.10, \n\t \"Rate\": 0.03 , \n\t \"RateUnit\":\"1s\",\n\t \"RateIncrement\":\"1s\",\n\t \"GroupIntervalStart\":\"\"\n\t}\n]\n}\n]\n}" + "raw": "{\n \"id\": 3,\n \"method\": \"APIerSv1.SetTPRate\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"TP_RATE_DST_RETAIL_GR_LANDLINE_2019_01\",\n \"RateSlots\": [\n {\n \"ConnectFee\": 0.1,\n \"Rate\": 0.03,\n \"RateUnit\": \"1s\",\n \"RateIncrement\": \"1s\",\n \"GroupIntervalStart\": \"\"\n }\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2644,7 +2610,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\"id\": 1,\n\"method\": \"APIerSv1.GetTPRate\",\n\"params\": [\n{\n\"TPid\": \"CGR_API_TESTS\",\n\"ID\":\"SPL_TESTSUPPLIER1_DST_RATEID_GR_LANDLINE_2019_01\"\n}\n]\n}" + "raw": "{\n \"id\": 1,\n \"method\": \"APIerSv1.GetTPRate\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"SPL_TESTSUPPLIER1_DST_RATEID_GR_LANDLINE_2019_01\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2672,7 +2638,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\"id\": 1,\n\"method\": \"APIerSv1.GetTPRateIds\",\n\"params\": [\n{\n\"TPid\": \"CGR_API_TESTS\"\n}\n]\n}" + "raw": "{\n \"id\": 1,\n \"method\": \"APIerSv1.GetTPRateIds\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2700,7 +2666,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\n\"method\": \"APIerSv1.RemoveTPRate\",\n\"params\": [\n{\n\"TPid\": \"CGR_API_TESTS\",\n\"ID\":\"SPL_TESTSUPPLIER1_DST_GR_LANDLINE_2019_01\"\n\n\t\n}\n]\n}" + "raw": "{\n \"method\": \"APIerSv1.RemoveTPRate\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"SPL_TESTSUPPLIER1_DST_GR_LANDLINE_2019_01\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2733,7 +2699,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.SetDestination\",\n \"params\": [\n \t{\n \t\t\"Id\":\"test\",\n \"Prefixes\": [\"10\",\"50\"],\n \"Overwrite\":false\n \t\t\n \t}\n ]\n}" + "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.SetDestination\",\n \"params\": [\n {\n \"Id\": \"test\",\n \"Prefixes\": [\n \"10\",\n \"50\"\n ],\n \"Overwrite\": false\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2762,7 +2728,7 @@ ], "body": { "mode": "raw", - "raw": "{ \n \"id\": 6, \n \"method\": \"APIerSv1.GetDestination\", \n \"params\": [ \n \"FS_USERS3\" \n ] \n } " + "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.GetDestination\",\n \"params\": [\n \"FS_USERS3\"\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2791,7 +2757,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv2.GetDestination\",\n \"params\":{\n \n \"DestinationIDs\": \"GR_LANDLINE\"\n }\n \n}" + "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv2.GetDestination\",\n \"params\": {\n \"DestinationIDs\": \"GR_LANDLINE\"\n }\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2820,7 +2786,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv2.GetDestinations\",\n \"params\": [\n \t{\n \t\t\"DestinationIDs\":[]\n \t \t}\n \t]\n \n}" + "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv2.GetDestinations\",\n \"params\": [\n {\n \"DestinationIDs\": []\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2849,7 +2815,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv2.GetDestinations\",\n \"params\": [\n \t{\n \t\t\"DestinationIDs\":[\"FS_USERS3\",\"test\"]\n \t \t}\n \t]\n \n}" + "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv2.GetDestinations\",\n \"params\": [\n {\n \"DestinationIDs\": [\n \"FS_USERS3\",\n \"test\"\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2878,7 +2844,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.RemoveDestination\",\n \"params\": [\n {\n \"DestinationIDs\":[\"test\"]\n \n }\n ]\n}" + "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.RemoveDestination\",\n \"params\": [\n {\n \"DestinationIDs\": [\n \"test\"\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2907,7 +2873,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.GetReverseDestination\",\n \"params\": [\n \"10\"\n ]\n}" + "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.GetReverseDestination\",\n \"params\": [\n \"10\"\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2936,7 +2902,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\"params\": [{\n\"ActionPlanID**s**\": [\"PACKAGE_IL\"],\n\"ReloadScheduler\": true,\n\"Account\": \"972557XXXX\",\n\"AllowNegative\": false,\n\"Disabled\": false,\n\"ActionTriggerOverwrite\": true,\n\"ActionPlansOverwrite\": true,\n\"**T**enant\": \"num2.il\",\n\"ActionTriggerID**s**\": [\"STANDARD_TRIGGERS\"]\n}],\n\"id\": 1,\n\"method\": \"APIerSv2.SetAccount\"\n}" + "raw": "{\n \"params\": [\n {\n \"ActionPlanID**s**\": [\n \"PACKAGE_IL\"\n ],\n \"ReloadScheduler\": true,\n \"Account\": \"972557XXXX\",\n \"AllowNegative\": false,\n \"Disabled\": false,\n \"ActionTriggerOverwrite\": true,\n \"ActionPlansOverwrite\": true,\n \"**T**enant\": \"num2.il\",\n \"ActionTriggerID**s**\": [\n \"STANDARD_TRIGGERS\"\n ]\n }\n ],\n \"id\": 1,\n \"method\": \"APIerSv2.SetAccount\"\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -2973,7 +2939,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\"id\": 3,\n\"method\": \"APIerSv1.SetTPRatingPlan\",\n\"params\": [\n\t{\n\t\t\"TPid\": \"CGR_API_TESTS\",\n\t\t\"ID\":\"TP_RP_RETAIL_GR_LANDLINE_2019_01\",\n\t\t\"RatingPlanBindings\" : [{\n \t\t\"DestinationRatesId\":\"TP_DST_RT_RETAIL_GR_LANDLINE_2019_01\",\n \t\t\"TimingId\": \"*any\" , \n \t\t\"Weight\":10\n\t\t}]\n\t}\n]\n}" + "raw": "{\n \"id\": 3,\n \"method\": \"APIerSv1.SetTPRatingPlan\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"TP_RP_RETAIL_GR_LANDLINE_2019_01\",\n \"RatingPlanBindings\": [\n {\n \"DestinationRatesId\": \"TP_DST_RT_RETAIL_GR_LANDLINE_2019_01\",\n \"TimingId\": \"*any\",\n \"Weight\": 10\n }\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3001,7 +2967,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\"id\": 1,\n\"method\": \"APIerSv1.GetTPRatingPlan\",\n\"params\": [\n{\n\t\"TPid\": \"TPID_VL_INTERNAL_INBOUND_CALLS\",\n\t\"ID\":\"RatingPlan_CLI_VL_INTERNAL_INBOUND_CALLS_GR_MOBILE\"\n}\n]\n}" + "raw": "{\n \"id\": 1,\n \"method\": \"APIerSv1.GetTPRatingPlan\",\n \"params\": [\n {\n \"TPid\": \"TPID_VL_INTERNAL_INBOUND_CALLS\",\n \"ID\": \"RatingPlan_CLI_VL_INTERNAL_INBOUND_CALLS_GR_MOBILE\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3029,7 +2995,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\"id\": 3,\n\"method\": \"APIerSv1.GetTPRatingPlanIds\",\n\"params\": [\n{\n\n\"TPid\": \"CGR_API_TESTS\"\n\n \n\n\n}\n]\n}" + "raw": "{\n \"id\": 3,\n \"method\": \"APIerSv1.GetTPRatingPlanIds\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3057,7 +3023,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\n\"method\": \"APIerSv1.RemoveTPRatingPlan\",\n\"params\": [\n{\n\n\"TPid\": \"TP_VL_RP_2019_01_IN\",\n\"ID\":\"RatingPlan_CLI_VL_RP_2019_01_INBOUND_CALLS_GR_MOBILE\"\n\t\n}\n]\n}" + "raw": "{\n \"method\": \"APIerSv1.RemoveTPRatingPlan\",\n \"params\": [\n {\n \"TPid\": \"TP_VL_RP_2019_01_IN\",\n \"ID\": \"RatingPlan_CLI_VL_RP_2019_01_INBOUND_CALLS_GR_MOBILE\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3090,7 +3056,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.LoadRatingPlan\",\n \"params\": [\n {\n \t\"TPid\":\"CGR_API_TESTS\",\n \t\"RatingPlanId\": \"TP_RP_RETAIL_GR_LANDLINE_2019_01\"\n \n }\n ]\n}\n\n" + "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.LoadRatingPlan\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\",\n \"RatingPlanId\": \"TP_RP_RETAIL_GR_LANDLINE_2019_01\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3119,7 +3085,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"id\":\"0\",\n \"method\":\"APIerSv1.GetRatingPlan\",\n \"params\":[\n \"RatingPlan_CLI_VL_INTERNAL_INBOUND_CALLS_GR_MOBILE\"\n ]\n}\n\n" + "raw": "{\n \"id\": \"0\",\n \"method\": \"APIerSv1.GetRatingPlan\",\n \"params\": [\n \"RatingPlan_CLI_VL_INTERNAL_INBOUND_CALLS_GR_MOBILE\"\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3156,7 +3122,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\"id\": 3,\n\"method\": \"APIerSv1.SetTPRatingProfile\",\n\"params\": [\n{\n\"TPid\":\"TP_RPR_teffsdfsd\",\n\"LoadId\": \"test\",\n\"Tenant\": \"test\",\n\"Category\": \"test\",\n\"Subject\": \"test\",\n \"RatingPlanActivations\" : [\n \t{\n \"ActivationTime\" : \"test\", \n \"RatingPlanId\": \"test\" , \n \"FallbackSubjects\": \"test\"\n}\n]\n}\n]\n}" + "raw": "{\n \"id\": 3,\n \"method\": \"APIerSv1.SetTPRatingProfile\",\n \"params\": [\n {\n \"TPid\": \"TP_RPR_teffsdfsd\",\n \"LoadId\": \"test\",\n \"Tenant\": \"test\",\n \"Category\": \"test\",\n \"Subject\": \"test\",\n \"RatingPlanActivations\": [\n {\n \"ActivationTime\": \"test\",\n \"RatingPlanId\": \"test\",\n \"FallbackSubjects\": \"test\"\n }\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3184,7 +3150,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\"id\": 1,\n\"method\": \"APIerSv1.GetTPRatingProfile\",\n\"params\": [\n{\n\"TPid\": \"test\",\n\"RatingProfileId\":\"test\"\n\n}\n]\n}" + "raw": "{\n \"id\": 1,\n \"method\": \"APIerSv1.GetTPRatingProfile\",\n \"params\": [\n {\n \"TPid\": \"test\",\n \"RatingProfileId\": \"test\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3212,7 +3178,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\"id\": 1,\n\"method\": \"APIerSv1.GetTPRatingProfileIds\",\n\"params\": [\n{\n\"TPid\": \"CGR_API_TESTS\"\n\n}\n]\n}" + "raw": "{\n \"id\": 1,\n \"method\": \"APIerSv1.GetTPRatingProfileIds\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3240,7 +3206,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\"id\": 1,\n\"method\": \"APIerSv1.GetTPRatingProfileLoadIds\",\n\"params\": [\n{\n\"TPid\": \"test\",\n\"Tenant\": \"test\",\n\"Category\": \"test\",\n\"Subject\":\"test\" \n}\n]\n}" + "raw": "{\n \"id\": 1,\n \"method\": \"APIerSv1.GetTPRatingProfileLoadIds\",\n \"params\": [\n {\n \"TPid\": \"test\",\n \"Tenant\": \"test\",\n \"Category\": \"test\",\n \"Subject\": \"test\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3268,7 +3234,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\"id\": 3,\n\"method\": \"APIerSv1.GetTPRatingProfilesByLoadId\",\n\"params\": [\n{\n\n\"TPid\": \"test\",\n\"LoadId\": \"test\"\n\n \n\n\n}\n]\n}" + "raw": "{\n \"id\": 3,\n \"method\": \"APIerSv1.GetTPRatingProfilesByLoadId\",\n \"params\": [\n {\n \"TPid\": \"test\",\n \"LoadId\": \"test\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3296,7 +3262,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\n\"method\": \"APIerSv1.RemoveTPRatingProfile\",\n\"params\": [\n{\n\"RatingProfileId\":\"test\",\n\"TPid\": \"test\"\n\t\n}\n]\n}" + "raw": "{\n \"method\": \"APIerSv1.RemoveTPRatingProfile\",\n \"params\": [\n {\n \"RatingProfileId\": \"test\",\n \"TPid\": \"test\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3329,7 +3295,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.GetRatingProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Category\": \"call-out\",\n \"Subject\": \"*any\"\n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv1.GetRatingProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Category\": \"call-out\",\n \"Subject\": \"*any\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3358,7 +3324,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.GetRatingProfileIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n \n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv1.GetRatingProfileIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3387,7 +3353,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.RemoveRatingProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Category\": \"call-out\",\n \"Subject\": \"+30xxxxxxxxxx\"\n \n }\n ]\n}\n\n" + "raw": "{\n \"method\": \"APIerSv1.RemoveRatingProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Category\": \"call-out\",\n \"Subject\": \"+30xxxxxxxxxx\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3416,7 +3382,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetRatingProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Category\": \"call\",\n \"Subject\": \"+30xxxxxxxxx\",\n \"Overwrite\": true,\n \"RatingPlanActivations\": [{\n \t \"ActivationTime\": \"2014-01-14T00:00:00Z\",\n \t \"RatingPlanId\": \"TP_RP_SPL_TESTSUPPLIER1_DST_ID_RT_GR_LANDLINE_2019_01\",\n \t \"FallbackKeys\": \"\"\n }]\n }\n ]\n}\n\n\n" + "raw": "{\n \"method\": \"APIerSv1.SetRatingProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Category\": \"call\",\n \"Subject\": \"+30xxxxxxxxx\",\n \"Overwrite\": true,\n \"RatingPlanActivations\": [\n {\n \"ActivationTime\": \"2014-01-14T00:00:00Z\",\n \"RatingPlanId\": \"TP_RP_SPL_TESTSUPPLIER1_DST_ID_RT_GR_LANDLINE_2019_01\",\n \"FallbackKeys\": \"\"\n }\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3445,7 +3411,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.GetRatingProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Category\": \"call-out\",\n \"Subject\": \"+30xxxxxxxxx\"\n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv1.GetRatingProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Category\": \"call-out\",\n \"Subject\": \"+30xxxxxxxxx\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3476,7 +3442,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetRatingProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Category\": \"call-out\",\n \"Subject\": \"+30xxxxxxxxx\",\n \"Overwrite\": true,\n \"RatingPlanActivations\": [{\n \t \"ActivationTime\": \"2014-01-14T00:00:00Z\",\n \t \"RatingPlanId\": \"TP_RP_SPL_TESTSUPPLIER1_DST_ID_RT_GR_LANDLINE_2019_01\",\n \t \"FallbackKeys\": \"\"\n }]\n }\n ]\n}\n\n\n", + "raw": "{\n \"method\": \"APIerSv1.SetRatingProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Category\": \"call-out\",\n \"Subject\": \"+30xxxxxxxxx\",\n \"Overwrite\": true,\n \"RatingPlanActivations\": [\n {\n \"ActivationTime\": \"2014-01-14T00:00:00Z\",\n \"RatingPlanId\": \"TP_RP_SPL_TESTSUPPLIER1_DST_ID_RT_GR_LANDLINE_2019_01\",\n \"FallbackKeys\": \"\"\n }\n ]\n }\n ]\n}", "options": { "raw": { "language": "json" @@ -3510,7 +3476,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.LoadRatingProfile\",\n \"params\": [\n {\n \t\"TPid\":\"CGR_API_TESTS\",\n \t\"LoadId\": \"\",\n \t\"Tenant\": \"\",\n \t\"Category\": \"\",\n \t\"Subject\": \"\",\n \t\"RatingPlanActivations\": {\n \"ActivationTime\": \"2014-07-14T14:25:00Z\",\n \"RatingPlanId\": \"\",\n \t\"FallbackSubjects\": \"\"\n \t }\n }\n ]\n}" + "raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.LoadRatingProfile\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\",\n \"LoadId\": \"\",\n \"Tenant\": \"\",\n \"Category\": \"\",\n \"Subject\": \"\",\n \"RatingPlanActivations\": {\n \"ActivationTime\": \"2014-07-14T14:25:00Z\",\n \"RatingPlanId\": \"\",\n \"FallbackSubjects\": \"\"\n }\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3545,7 +3511,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \"Tenant\":\"cgrates.org\",\n \"ID\" : \"FLTR_RES\",\n \"Rules\" : [\n \t{\n \"Type\": \"*string\",\n \"FieldName\": \"~Account\",\n \"Values\": [\n \"+30xxxxxxxxxx\"\n ]\n },\n {\n \"Type\": \"*string\",\n \"FieldName\": \"~Destination\",\n \"Values\": [\n \"+30xxxxxxxxxx\"\n ]\n }\n \t],\n \"ActivationInterval\": {\n \n }\n \n }\n ],\n \"id\": 12\n}\n\n\n" + "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"FLTR_RES\",\n \"Rules\": [\n {\n \"Type\": \"*string\",\n \"Element\": \"~*req.Account\",\n \"Values\": [\n \"+30xxxxxxxxxx\"\n ]\n },\n {\n \"Type\": \"*string\",\n \"Element\": \"~*req.Destination\",\n \"Values\": [\n \"+30xxxxxxxxxx\"\n ]\n }\n ],\n \"ActivationInterval\": {}\n }\n ],\n \"id\": 12\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3574,7 +3540,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \"Tenant\":\"cgrates.org\",\n \"ID\" : \"FLTR_ACNT_+30xxxxxxxxx_+30xxxxxxxxxx\",\n \"Rules\" : [\n {\n \"Type\": \"*string\",\n \"FieldName\": \"~Account\",\n \"Values\": [\n \"+30xxxxxxxxx\"\n \n ]\n },\n {\n \"Type\": \"*string\",\n \"FieldName\": \"~RunID\",\n \"Values\": [\n \"CustomerCharges\"\n ]\n },\n {\n \"Type\": \"*string\",\n \"FieldName\": \"~Destination\",\n \"Values\": [\n \"+30xxxxxxxxxx\"\n \n ]\n }\n \n \t],\n \"ActivationInterval\": {\n \"ActivationTime\": \"2014-07-14T14:25:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n }\n \n }\n ],\n \"id\": 12\n}\n" + "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"FLTR_ACNT_+30xxxxxxxxx_+30xxxxxxxxxx\",\n \"Rules\": [\n {\n \"Type\": \"*string\",\n \"Element\": \"~*req.Account\",\n \"Values\": [\n \"+30xxxxxxxxx\"\n ]\n },\n {\n \"Type\": \"*string\",\n \"Element\": \"~*req.RunID\",\n \"Values\": [\n \"CustomerCharges\"\n ]\n },\n {\n \"Type\": \"*string\",\n \"Element\": \"~*req.Destination\",\n \"Values\": [\n \"+30xxxxxxxxxx\"\n ]\n }\n ],\n \"ActivationInterval\": {\n \"ActivationTime\": \"2014-07-14T14:25:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n }\n }\n ],\n \"id\": 12\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3603,7 +3569,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \"Tenant\":\"cgrates.org\",\n \"ID\" : \"FLTR_DST_GR_LANDLINE\",\n \"Rules\" : [\n \t{\n \t\"Type\":\"*destinations\",\n \t\"FieldName\":\"~Destination\",\n \t\"Values\":[\n \t\t \"+30xxxxxxxxx\",\n \"+30xxxxxxxxxx\"\n \t\t]\n \t}\n \t],\n \"ActivationInterval\": {\n \n }\n \n }\n ],\n \"id\": 12\n}\n" + "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"FLTR_DST_GR_LANDLINE\",\n \"Rules\": [\n {\n \"Type\": \"*destinations\",\n \"Element\": \"~*req.Destination\",\n \"Values\": [\n \"+30xxxxxxxxx\",\n \"+30xxxxxxxxxx\"\n ]\n }\n ],\n \"ActivationInterval\": {}\n }\n ],\n \"id\": 12\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3632,7 +3598,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \"Tenant\":\"cgrates.org\",\n \"ID\" : \"FLTR_DST_GR_LANDLINE\",\n \"Rules\" : [\n \t{\n \t\"Type\":\"*destinations\",\n \t\"FieldName\":\"~Destination\",\n \t\"Values\":[\n \t\t \"DST_+30xxxxxxxxx\",\n \"DST_+30xxxxxxxxxx\"\n \t\t]\n \t}\n \t],\n \"ActivationInterval\": {\n \n }\n \n }\n ],\n \"id\": 12\n}\n" + "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"FLTR_DST_GR_LANDLINE\",\n \"Rules\": [\n {\n \"Type\": \"*destinations\",\n \"Element\": \"~*req.Destination\",\n \"Values\": [\n \"DST_+30xxxxxxxxx\",\n \"DST_+30xxxxxxxxxx\"\n ]\n }\n ],\n \"ActivationInterval\": {}\n }\n ],\n \"id\": 12\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3661,7 +3627,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \"Tenant\":\"cgrates.org\",\n \"ID\" : \"FLTR_ACCOUNT_1001\",\n \"Rules\" : [\n \t{\n \t\"Type\":\"*string\",\n \t\"FieldName\":\"~Account\",\n \t\"Values\":[\n \t\t \"+30xxxxxxxxx\",\n \"+30xxxxxxxxxx\"\n \t\t]\n \t}\n \t],\n \"ActivationInterval\": {\n \n }\n \n }\n ],\n \"id\": 12\n}\n" + "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"FLTR_ACCOUNT_1001\",\n \"Rules\": [\n {\n \"Type\": \"*string\",\n \"Element\": \"~*req.Account\",\n \"Values\": [\n \"+30xxxxxxxxx\",\n \"+30xxxxxxxxxx\"\n ]\n }\n ],\n \"ActivationInterval\": {}\n }\n ],\n \"id\": 12\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3690,7 +3656,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \t\"Tenant\": \"cgrates.org\",\n \"ID\": \"FLTR_+30xxxxxxxxx_BALANCEUPDATE_GREATER_OR_EQUAL\",\n \"Rules\": [\n {\n \"Type\": \"*string\",\n \"FieldName\": \"~Account\",\n \"Values\": [\n \"+30xxxxxxxxx\"\n ]\n },\n {\n \"Type\": \"*string\",\n \"FieldName\": \"~EventType\",\n \"Values\": [\n \"BalanceUpdate\"\n ]\n },\n {\n \"Type\": \"*gte\",\n \"FieldName\": \"~Units\",\n \"Values\": [\n \"10\"\n ]\n }\n ],\n \"ActivationInterval\": {\n \"ActivationTime\": \"0001-01-01T00:00:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n }\n \n }\n ],\n \"id\": 12\n}\n" + "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"FLTR_+30xxxxxxxxx_BALANCEUPDATE_GREATER_OR_EQUAL\",\n \"Rules\": [\n {\n \"Type\": \"*string\",\n \"Element\": \"~*req.Account\",\n \"Values\": [\n \"+30xxxxxxxxx\"\n ]\n },\n {\n \"Type\": \"*string\",\n \"Element\": \"~*req.EventType\",\n \"Values\": [\n \"BalanceUpdate\"\n ]\n },\n {\n \"Type\": \"*gte\",\n \"Element\": \"~*req.Units\",\n \"Values\": [\n \"10\"\n ]\n }\n ],\n \"ActivationInterval\": {\n \"ActivationTime\": \"0001-01-01T00:00:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n }\n }\n ],\n \"id\": 12\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3719,7 +3685,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \t\"Tenant\": \"cgrates.org\",\n \"ID\": \"CHARGER_FLTR_INTERNAL_CALLS_ONLY\",\n \"Rules\": [\n {\n \"Type\": \"*string\",\n \"FieldName\": \"~Subject\",\n \"Values\": [\n \"INTERNAL-IN\",\n \"INTERNAL-OUT\"\n ]\n }\n ],\n \"ActivationInterval\": {\n \"ActivationTime\": \"0001-01-01T00:00:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n }\n \n }\n ],\n \"id\": 12\n}\n" + "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"CHARGER_FLTR_INTERNAL_CALLS_ONLY\",\n \"Rules\": [\n {\n \"Type\": \"*string\",\n \"Element\": \"~*req.Subject\",\n \"Values\": [\n \"INTERNAL-IN\",\n \"INTERNAL-OUT\"\n ]\n }\n ],\n \"ActivationInterval\": {\n \"ActivationTime\": \"0001-01-01T00:00:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n }\n }\n ],\n \"id\": 12\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3748,7 +3714,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \t\"Tenant\": \"cgrates.org\",\n \"ID\": \"CHARGER_FLTR_INTERNAL_CALLS_ONLY\",\n \"Rules\": [\n {\n \"Type\": \"*string\",\n \"FieldName\": \"~Subject\",\n \"Values\": [\n \"INTERNAL-IN\",\n \"INTERNAL-OUT\"\n ]\n }\n ],\n \"ActivationInterval\": {\n \"ActivationTime\": \"0001-01-01T00:00:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n }\n \n }\n ],\n \"id\": 12\n}\n" + "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"CHARGER_FLTR_INTERNAL_CALLS_ONLY\",\n \"Rules\": [\n {\n \"Type\": \"*string\",\n \"Element\": \"~*req.Subject\",\n \"Values\": [\n \"INTERNAL-IN\",\n \"INTERNAL-OUT\"\n ]\n }\n ],\n \"ActivationInterval\": {\n \"ActivationTime\": \"0001-01-01T00:00:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n }\n }\n ],\n \"id\": 12\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3777,7 +3743,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \t\"Tenant\": \"cgrates.org\",\n \"ID\": \"FLTR_SPL_VL_INTERNAL_IN\",\n \"Rules\": [\n {\n \"Type\": \"*string\",\n \"FieldName\": \"~Subject\",\n \"Values\": [\n \"INTERNAL-IN\"\n ]\n },\n {\n \"Type\": \"*string\",\n \"FieldName\": \"~Category\",\n \"Values\": [\n \"call-in\"\n ]\n }\n ],\n \"ActivationInterval\": {\n \"ActivationTime\": \"0001-01-01T00:00:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n }\n \n }\n ],\n \"id\": 12\n}\n" + "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"FLTR_SPL_VL_INTERNAL_IN\",\n \"Rules\": [\n {\n \"Type\": \"*string\",\n \"Element\": \"~*req.Subject\",\n \"Values\": [\n \"INTERNAL-IN\"\n ]\n },\n {\n \"Type\": \"*string\",\n \"Element\": \"~*req.Category\",\n \"Values\": [\n \"call-in\"\n ]\n }\n ],\n \"ActivationInterval\": {\n \"ActivationTime\": \"0001-01-01T00:00:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n }\n }\n ],\n \"id\": 12\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3806,7 +3772,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \t\"Tenant\": \"cgrates.org\",\n \"ID\": \"FLTR_SPL_VL_INTERNAL_OUT\",\n \"Rules\": [\n {\n \"Type\": \"*string\",\n \"FieldName\": \"~Subject\",\n \"Values\": [\n \"INTERNAL-OUT\"\n ]\n },\n {\n \"Type\": \"*string\",\n \"FieldName\": \"~Category\",\n \"Values\": [\n \"call-out\"\n ]\n }\n ],\n \"ActivationInterval\": {\n \"ActivationTime\": \"0001-01-01T00:00:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n }\n \n }\n ],\n \"id\": 12\n}\n" + "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"FLTR_SPL_VL_INTERNAL_OUT\",\n \"Rules\": [\n {\n \"Type\": \"*string\",\n \"Element\": \"~*req.Subject\",\n \"Values\": [\n \"INTERNAL-OUT\"\n ]\n },\n {\n \"Type\": \"*string\",\n \"Element\": \"~*req.Category\",\n \"Values\": [\n \"call-out\"\n ]\n }\n ],\n \"ActivationInterval\": {\n \"ActivationTime\": \"0001-01-01T00:00:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n }\n }\n ],\n \"id\": 12\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3835,7 +3801,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \"Tenant\":\"Tenant_test\",\n \"ID\" : \"FLTR_+30xxxxxxxxxx\",\n \"Rules\" : [\n \t{\n \t\"Type\":\"*string\",\n \t\"FieldName\":\"Account\",\n \t\"Values\":[\"+30xxxxxxxxxx\"]\n \t}\n \t],\n \"ActivationInterval\": {\n \"ActivationTime\": \"2014-07-14T14:25:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n }\n \n }\n ],\n \"id\": 12\n}\n\n\n" + "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \"Tenant\": \"Tenant_test\",\n \"ID\": \"FLTR_+30xxxxxxxxxx\",\n \"Rules\": [\n {\n \"Type\": \"*string\",\n \"Element\": \"~*req.Account\",\n \"Values\": [\n \"+30xxxxxxxxxx\"\n ]\n }\n ],\n \"ActivationInterval\": {\n \"ActivationTime\": \"2014-07-14T14:25:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n }\n }\n ],\n \"id\": 12\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3864,7 +3830,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \"Tenant\":\"Tenant_test\",\n \"ID\" : \"ID_Test\",\n \"Rules\" : [\n \t{\n \t\"Type\":\"*string\",\n \t\"FieldName\":\"teest2\",\n \t\"Values\":[\"123\"]\n \t}\n \t]\n }\n ],\n \"id\": 12\n}\n\n\n" + "raw": "{\n \"method\": \"APIerSv1.SetFilter\",\n \"params\": [\n {\n \"Tenant\":\"Tenant_test\",\n \"ID\" : \"ID_Test\",\n \"Rules\" : [\n \t{\n \t\"Type\":\"*string\",\n \t\"Element\":\"~*req.CustomField\",\n \t\"Values\":[\"CustomValue\"]\n \t}\n \t]\n }\n ],\n \"id\": 12\n}\n\n\n" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3893,7 +3859,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.GetFilter\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"FLTR_ACNT_+30xxxxxxxxx\"\n }\n ],\n \"id\": 12\n}" + "raw": "{\n \"method\": \"APIerSv1.GetFilter\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"FLTR_ACNT_+30xxxxxxxxx\"\n }\n ],\n \"id\": 12\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3922,7 +3888,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.RemoveFilter\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"FLTR_ACNT_1003\"\n }\n ],\n \"id\": 12\n}" + "raw": "{\n \"method\": \"APIerSv1.RemoveFilter\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"FLTR_ACNT_1003\"\n }\n ],\n \"id\": 12\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3951,7 +3917,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.GetFilterIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n \n }\n ],\n \"id\": 12\n}" + "raw": "{\n \"method\": \"APIerSv1.GetFilterIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n }\n ],\n \"id\": 12\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -3986,7 +3952,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetResourceProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"+30xxxxxxxxxx_RSP\",\n \n \"ActivationInterval\": {\n \"ActivationTime\": \"2014-07-14T14:25:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n },\n \"UsageTTL\": -1,\n \"Limit\": 10,\n \"AllocationMessage\": \"\",\n \"Blocker\": false,\n \"Stored\": false,\n \"Weight\": 10,\n \"ThresholdIDs\": []\n }\n ]\n}\n" + "raw": "{\n \"method\": \"APIerSv1.SetResourceProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"+30xxxxxxxxxx_RSP\",\n \"ActivationInterval\": {\n \"ActivationTime\": \"2014-07-14T14:25:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n },\n \"UsageTTL\": -1,\n \"Limit\": 10,\n \"AllocationMessage\": \"\",\n \"Blocker\": false,\n \"Stored\": false,\n \"Weight\": 10,\n \"ThresholdIDs\": []\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4015,7 +3981,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetResourceProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"+30xxxxxxxxxx_RSP\",\n \n \"ActivationInterval\": {\n \n },\n \"UsageTTL\": -1,\n \"Limit\": 10,\n \"AllocationMessage\": \"\",\n \"Blocker\": false,\n \"Stored\": false,\n \"Weight\": 10,\n \"ThresholdIDs\": []\n }\n ]\n}\n\n\n" + "raw": "{\n \"method\": \"APIerSv1.SetResourceProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"+30xxxxxxxxxx_RSP\",\n \"ActivationInterval\": {},\n \"UsageTTL\": -1,\n \"Limit\": 10,\n \"AllocationMessage\": \"\",\n \"Blocker\": false,\n \"Stored\": false,\n \"Weight\": 10,\n \"ThresholdIDs\": []\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4044,7 +4010,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.GetResourceProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ResGroup1\"\n\n }\n ]\n}\n\n\n" + "raw": "{\n \"method\": \"APIerSv1.GetResourceProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ResGroup1\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4073,7 +4039,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.GetResourceProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ResGroup1\"\n\n }\n ]\n}\n\n\n" + "raw": "{\n \"method\": \"APIerSv1.GetResourceProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ResGroup1\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4104,7 +4070,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.GetResourceProfileIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n \n }\n ]\n}\n\n\n", + "raw": "{\n \"method\": \"APIerSv1.GetResourceProfileIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n }\n ]\n}", "options": { "raw": { "language": "json" @@ -4147,7 +4113,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"ResourceSv1.GetResource\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ResGroup1\"\n \n }\n ]\n}\n\n\n" + "raw": "{\n \"method\": \"ResourceSv1.GetResource\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ResGroup1\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4176,7 +4142,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"ResourceSv1.AuthorizeResources\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"91db806d-47b5-4346-b74e-bf699f2dd4d6\",\n \"Time\": null,\n \"Event\": {\n \"Account\": \"+30xxxxxxxxx\",\n \"Authorize_no_such_user_limit\": \"20\",\n \"Authorize_wrong_password_limit\": \"20\",\n \"Block_Incoming_Calls\": \"0\",\n \"CGRID\": \"3a6bb7df0f9c31959b447c865dc3d9ea74b559d8\",\n \"Category\": \"call\",\n \"Country\": \"Greece\",\n \"Destination\": \"+30xxxxxxxxxx\",\n \"Forwarding_Service\": \"0\",\n \"Hide_CLI\": \"0\",\n \"MaxCallsPerSecond\": \"1\",\n \"MaxSessionTime\": \"3600\",\n \"MaxSessions\": \"5\",\n \"Max_Incoming_Sessions\": \"5\",\n \"Max_Outgoing_Sessions\": \"5\",\n \"OriginHost\": \"10.156.0.13\",\n \"OriginID\": \"313536313130323331313531373435-11zx3su0dxng_user_860952\",\n \"Region\": \"Europe\",\n \"RequestType\": \"*prepaid\",\n \"SetupTime\": \"1561102312\",\n \"SipPassword\": \"|!xB8H7]}ych&XMY\",\n \"SipUserName\": \"+30xxxxxxxxx\",\n \"Source\": \"OpenSIPS-01\",\n \"Tenant\": \"cgrates.org\",\n \"Usage\": 10800000000000,\n \"User-Agent\": \"snomD120/10.1.33.33\",\n \"User-Agent-IP\": \"1.1.1.1\",\n \"Voicemail_Service\": \"0\"\n },\n \"UsageID\": \"313536313130323331313531373435-11zx3su0dxng_user_860952\",\n \"UsageTTL\": null,\n \"Units\": 1\n }\n ],\n \"id\": 35\n}\n" + "raw": "{\n \"method\": \"ResourceSv1.AuthorizeResources\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"91db806d-47b5-4346-b74e-bf699f2dd4d6\",\n \"Time\": null,\n \"Event\": {\n \"Account\": \"+30xxxxxxxxx\",\n \"Authorize_no_such_user_limit\": \"20\",\n \"Authorize_wrong_password_limit\": \"20\",\n \"Block_Incoming_Calls\": \"0\",\n \"CGRID\": \"3a6bb7df0f9c31959b447c865dc3d9ea74b559d8\",\n \"Category\": \"call\",\n \"Country\": \"Greece\",\n \"Destination\": \"+30xxxxxxxxxx\",\n \"Forwarding_Service\": \"0\",\n \"Hide_CLI\": \"0\",\n \"MaxCallsPerSecond\": \"1\",\n \"MaxSessionTime\": \"3600\",\n \"MaxSessions\": \"5\",\n \"Max_Incoming_Sessions\": \"5\",\n \"Max_Outgoing_Sessions\": \"5\",\n \"OriginHost\": \"10.156.0.13\",\n \"OriginID\": \"313536313130323331313531373435-11zx3su0dxng_user_860952\",\n \"Region\": \"Europe\",\n \"RequestType\": \"*prepaid\",\n \"SetupTime\": \"1561102312\",\n \"SipPassword\": \"|!xB8H7]}ych&XMY\",\n \"SipUserName\": \"+30xxxxxxxxx\",\n \"Source\": \"OpenSIPS-01\",\n \"Tenant\": \"cgrates.org\",\n \"Usage\": 10800000000000,\n \"User-Agent\": \"snomD120/10.1.33.33\",\n \"User-Agent-IP\": \"1.1.1.1\",\n \"Voicemail_Service\": \"0\"\n },\n \"UsageID\": \"313536313130323331313531373435-11zx3su0dxng_user_860952\",\n \"UsageTTL\": null,\n \"Units\": 1\n }\n ],\n \"id\": 35\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4205,7 +4171,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"ResourceSv1.AllocateResources\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"e8b88acd-406b-4d7f-b203-fc7ce3aab7c6\",\n \"Time\": null,\n \"Event\": {\n \"Account\": \"+30xxxxxxxxx;\",\n \"AnswerTime\": \"1561111641\",\n \"Category\": \"call\",\n \"Destination\": \"+30xxxxxxxxxx\",\n \"DialogEntry\": 3667,\n \"DialogID\": 2141633821,\n \"OriginHost\": \"10.156.0.13\",\n \"OriginID\": \"313536313131313633363339343733-yu06r25bkqmo_user_140125\",\n \"RequestType\": \"*prepaid\",\n \"SetupTime\": \"1561111637\",\n \"Source\": \"OpenSIPS-01\",\n \"Tenant\": \"cgrates.org\",\n \"User-Agent\": \"snomD120/10.1.33.33\",\n \"User-Agent-IP\": \"1.1.1.1\"\n },\n \"UsageID\": \"313536313131313633363339343733-yu06r25bkqmo_user_140125\",\n \"UsageTTL\": null,\n \"Units\": 1\n }\n ],\n \"id\": 75\n}" + "raw": "{\n \"method\": \"ResourceSv1.AllocateResources\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"e8b88acd-406b-4d7f-b203-fc7ce3aab7c6\",\n \"Time\": null,\n \"Event\": {\n \"Account\": \"+30xxxxxxxxx;\",\n \"AnswerTime\": \"1561111641\",\n \"Category\": \"call\",\n \"Destination\": \"+30xxxxxxxxxx\",\n \"DialogEntry\": 3667,\n \"DialogID\": 2141633821,\n \"OriginHost\": \"10.156.0.13\",\n \"OriginID\": \"313536313131313633363339343733-yu06r25bkqmo_user_140125\",\n \"RequestType\": \"*prepaid\",\n \"SetupTime\": \"1561111637\",\n \"Source\": \"OpenSIPS-01\",\n \"Tenant\": \"cgrates.org\",\n \"User-Agent\": \"snomD120/10.1.33.33\",\n \"User-Agent-IP\": \"1.1.1.1\"\n },\n \"UsageID\": \"313536313131313633363339343733-yu06r25bkqmo_user_140125\",\n \"UsageTTL\": null,\n \"Units\": 1\n }\n ],\n \"id\": 75\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4389,7 +4355,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetStatQueueProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"STATS_+30xxxxxxxxxx\",\n \"FilterIDs\": [\n \t\"FLTR_ACNT_+30xxxxxxxxx\"\n \t\t],\n \"ActivationInterval\": {\n \t\"ActivationTime\": \"2014-07-29T15:00:00Z\",\n \t\"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n \t},\n \"QueueLength\": 10,\n \"TTL\": -1,\n \"MinItems\": 0,\n \"Metrics\": [\n {\n \"FilterIDs\": [\"FLTR_ACNT_+30xxxxxxxxx\"],\n \"MetricID\": \"*tcd\"\n },\n {\n \"FilterIDs\": [\"FLTR_ACNT_+30xxxxxxxxxx\"],\n \"MetricID\": \"*tcd\"\n },\n {\n \"FilterIDs\": null,\n \"MetricID\": \"*tcc\"\n },\n {\n \"FilterIDs\": null,\n \"MetricID\": \"*asr\"\n },\n {\n \"FilterIDs\": null,\n \"MetricID\": \"*acd\"\n },\n {\n \"FilterIDs\": null,\n \"MetricID\": \"*acc\"\n }\n \t],\n \"Stored\": false,\n \"Blocker\": true,\n \"Weight\": 10,\n \t\"ThresholdIDs\": [\n \"*none\"\n ]\n \n }\n ]\n}\n\n" + "raw": "{\n \"method\": \"APIerSv1.SetStatQueueProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"STATS_+30xxxxxxxxxx\",\n \"FilterIDs\": [\n \"FLTR_ACNT_+30xxxxxxxxx\"\n ],\n \"ActivationInterval\": {\n \"ActivationTime\": \"2014-07-29T15:00:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n },\n \"QueueLength\": 10,\n \"TTL\": -1,\n \"MinItems\": 0,\n \"Metrics\": [\n {\n \"FilterIDs\": [\n \"FLTR_ACNT_+30xxxxxxxxx\"\n ],\n \"MetricID\": \"*tcd\"\n },\n {\n \"FilterIDs\": [\n \"FLTR_ACNT_+30xxxxxxxxxx\"\n ],\n \"MetricID\": \"*tcd\"\n },\n {\n \"FilterIDs\": null,\n \"MetricID\": \"*tcc\"\n },\n {\n \"FilterIDs\": null,\n \"MetricID\": \"*asr\"\n },\n {\n \"FilterIDs\": null,\n \"MetricID\": \"*acd\"\n },\n {\n \"FilterIDs\": null,\n \"MetricID\": \"*acc\"\n }\n ],\n \"Stored\": false,\n \"Blocker\": true,\n \"Weight\": 10,\n \"ThresholdIDs\": [\n \"*none\"\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4418,7 +4384,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetStatQueueProfile\",\n \"params\": [\n {\n\t\t\"Tenant\": \"cgrates.org\",\n \"ID\": \"Stats3\",\n \"FilterIDs\": [\n \"FLTR_ACNT_+30xxxxxxxxx\"\n \n ],\n \"ActivationInterval\": {\n \"ActivationTime\": \"2014-07-29T15:00:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n },\n \"QueueLength\": 100,\n \"TTL\": -1,\n \"MinItems\": 0,\n \"Metrics\": [\n {\n \"FilterIDs\": null,\n \"MetricID\": \"*tcc\"\n },\n {\n \"FilterIDs\": null,\n \"MetricID\": \"*tcd\"\n }\n ],\n \"Stored\": false,\n \"Blocker\": true,\n \"Weight\": 30,\n \"ThresholdIDs\": [\n \"*none\"\n ]\n \n }\n ]\n}\n\n" + "raw": "{\n \"method\": \"APIerSv1.SetStatQueueProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"Stats3\",\n \"FilterIDs\": [\n \"FLTR_ACNT_+30xxxxxxxxx\"\n ],\n \"ActivationInterval\": {\n \"ActivationTime\": \"2014-07-29T15:00:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n },\n \"QueueLength\": 100,\n \"TTL\": -1,\n \"MinItems\": 0,\n \"Metrics\": [\n {\n \"FilterIDs\": null,\n \"MetricID\": \"*tcc\"\n },\n {\n \"FilterIDs\": null,\n \"MetricID\": \"*tcd\"\n }\n ],\n \"Stored\": false,\n \"Blocker\": true,\n \"Weight\": 30,\n \"ThresholdIDs\": [\n \"*none\"\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4447,7 +4413,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetStatQueueProfile\",\n \"params\": [\n {\n\t\t\"Tenant\": \"cgrates.org\",\n \"ID\": \"Stats3\",\n \"FilterIDs\": [\n \"FLTR_ACNT_+30xxxxxxxxx\"\n \n ],\n \"ActivationInterval\": {\n \"ActivationTime\": \"2014-07-29T15:00:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n },\n \"QueueLength\": 100,\n \"TTL\": -1,\n \"MinItems\": 0,\n \"Metrics\": [\n {\n \"FilterIDs\": null,\n \"MetricID\": \"*tcc\"\n },\n {\n \"FilterIDs\": null,\n \"MetricID\": \"*tcd\"\n }\n ],\n \"Stored\": false,\n \"Blocker\": true,\n \"Weight\": 30,\n \"ThresholdIDs\": [\n \"*none\"\n ]\n \n }\n ]\n}\n\n" + "raw": "{\n \"method\": \"APIerSv1.SetStatQueueProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"Stats3\",\n \"FilterIDs\": [\n \"FLTR_ACNT_+30xxxxxxxxx\"\n ],\n \"ActivationInterval\": {\n \"ActivationTime\": \"2014-07-29T15:00:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n },\n \"QueueLength\": 100,\n \"TTL\": -1,\n \"MinItems\": 0,\n \"Metrics\": [\n {\n \"FilterIDs\": null,\n \"MetricID\": \"*tcc\"\n },\n {\n \"FilterIDs\": null,\n \"MetricID\": \"*tcd\"\n }\n ],\n \"Stored\": false,\n \"Blocker\": true,\n \"Weight\": 30,\n \"ThresholdIDs\": [\n \"*none\"\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4476,7 +4442,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.GetStatQueueProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"id\": \"Stats3\"\n \n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv1.GetStatQueueProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"id\": \"Stats3\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4505,7 +4471,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"StatSv1.GetQueueStringMetrics\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"id\": \"Stats2\"\n \n }\n ]\n}" + "raw": "{\n \"method\": \"StatSv1.GetQueueStringMetrics\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"id\": \"Stats2\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4534,7 +4500,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"StatSv1.GetQueueStringMetrics\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"id\": \"STATS_+30xxxxxxxxxx\"\n \n }\n ]\n}" + "raw": "{\n \"method\": \"StatSv1.GetQueueStringMetrics\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"id\": \"STATS_+30xxxxxxxxxx\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4563,7 +4529,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.RemoveStatQueueProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"id\": \"Stats3\"\n \n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv1.RemoveStatQueueProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"id\": \"Stats3\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4592,7 +4558,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.GetStatQueueProfileIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n\n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv1.GetStatQueueProfileIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4621,7 +4587,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"StatSv1.ProcessEvent\",\n \"params\": [\n {\n \"StatIDs\": null,\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"7094cd19-c893-41d5-b380-40e3a05fd34d\",\n \"Time\": null,\n \"Event\": {\n \"Account\": \"+30xxxxxxxxx\",\n \"CGRID\": \"d832221ccba8170b69964767a9e82b502ad1f9fd\",\n \"Category\": \"call-out\",\n \"Destination\": \"+30xxxxxxxxxx\",\n \"DisconnectCause\": \"\",\n \"OriginHost\": \"10.156.0.13\",\n \"OriginID\": \"Call-ID: 3135363334343432373039393133-ha2s8ioype2o\",\n \"RequestType\": \"*prepaid\",\n \"SetupTime\": \"1563444271\",\n \"Source\": \"OpenSIPS-01\",\n \"Subject\": \"INTERNAL-OUT\",\n \"Usage\": \"0s\",\n \"User-Agent\": \"snomD120/10.1.33.33\",\n \"User-Agent-IP\": \"84.254.47.110\"\n }\n }\n ],\n \"id\": 24\n}" + "raw": "{\n \"method\": \"StatSv1.ProcessEvent\",\n \"params\": [\n {\n \"StatIDs\": null,\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"7094cd19-c893-41d5-b380-40e3a05fd34d\",\n \"Time\": null,\n \"Event\": {\n \"Account\": \"+30xxxxxxxxx\",\n \"CGRID\": \"d832221ccba8170b69964767a9e82b502ad1f9fd\",\n \"Category\": \"call-out\",\n \"Destination\": \"+30xxxxxxxxxx\",\n \"DisconnectCause\": \"\",\n \"OriginHost\": \"10.156.0.13\",\n \"OriginID\": \"Call-ID: 3135363334343432373039393133-ha2s8ioype2o\",\n \"RequestType\": \"*prepaid\",\n \"SetupTime\": \"1563444271\",\n \"Source\": \"OpenSIPS-01\",\n \"Subject\": \"INTERNAL-OUT\",\n \"Usage\": \"0s\",\n \"User-Agent\": \"snomD120/10.1.33.33\",\n \"User-Agent-IP\": \"84.254.47.110\"\n }\n }\n ],\n \"id\": 24\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4659,7 +4625,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"method\": \"APIerSv1.SetTPSupplierProfile\",\n\t\"params\": [{\n\t\t\"TPid\":\"TP_SPL_OTE_2\",\n\t\t\"Tenant\": \"cgrates.org\",\n\t\t\"ID\": \"SPL_OTE_2\",\n\t\t\"FilterIDs\": [],\n\t\t\"ActivationInterval\": {\n\t\t\t\"ActivationTime\": \"2014-07-14T14:25:00Z\",\n\t\t\t\"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n\t\t},\n\t\t\"Sorting\": \"*weight\",\n\t\t\"SortingParameters\": [\"\"],\n\t\t\"Suppliers\": [{\n\t\t\t\"ID\": \"SUPPLIER_ID_TEST1\",\n\t\t\t\"FilterIDs\": [],\n\t\t\t\"AccountIDs\": [\"+30xxxxxxxxxx\",\"+30xxxxxxxxx\"],\n\t\t\t\"RatingPlanIDs\": [\"RP_TWT\"],\n\t\t\t\"ResourceIDs\": [\"RSPROF_+30xxxxxxxxxx\"],\n\t\t\t\"StatIDs\": [\"\"],\n\t\t\t\"Weight\": 10,\n\t\t\t\"Blocker\": false,\n\t\t\t\"SupplierParameters\": \"\"\n\t\t}],\n\t\t\"Weight\": 10\n\t}]\n}" + "raw": "{\n \"method\": \"APIerSv1.SetTPSupplierProfile\",\n \"params\": [\n {\n \"TPid\": \"TP_SPL_OTE_2\",\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"SPL_OTE_2\",\n \"FilterIDs\": [],\n \"ActivationInterval\": {\n \"ActivationTime\": \"2014-07-14T14:25:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n },\n \"Sorting\": \"*weight\",\n \"SortingParameters\": [\n \"\"\n ],\n \"Suppliers\": [\n {\n \"ID\": \"SUPPLIER_ID_TEST1\",\n \"FilterIDs\": [],\n \"AccountIDs\": [\n \"+30xxxxxxxxxx\",\n \"+30xxxxxxxxx\"\n ],\n \"RatingPlanIDs\": [\n \"RP_TWT\"\n ],\n \"ResourceIDs\": [\n \"RSPROF_+30xxxxxxxxxx\"\n ],\n \"StatIDs\": [\n \"\"\n ],\n \"Weight\": 10,\n \"Blocker\": false,\n \"SupplierParameters\": \"\"\n }\n ],\n \"Weight\": 10\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4688,7 +4654,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"method\": \"APIerSv1.GetTPSupplierProfile\",\n\t\"params\": [{\n\t\t\"TPid\":\"TP_SPL_OTE_2\",\n\t\t\"Tenant\": \"cgrates.org\",\n\t\t\"ID\": \"SPL_OTE_2\"\n\t\t\n\t\t}],\n\t\t\"Weight\": 10\n\t}]\n}" + "raw": "{\n \"method\": \"APIerSv1.GetTPSupplierProfile\",\n \"params\": [\n {\n \"TPid\": \"TP_SPL_OTE_2\",\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"SPL_OTE_2\",\n \"Weight\": 10\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4717,7 +4683,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.GetTPSupplierProfileIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"TPid\":\"TP_SPL_OTE_2\"\n }\n ],\n \"id\": 12\n}" + "raw": "{\n \"method\": \"APIerSv1.GetTPSupplierProfileIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"TPid\": \"TP_SPL_OTE_2\"\n }\n ],\n \"id\": 12\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4746,7 +4712,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"method\": \"APIerSv1.RemoveTPSupplierProfile\",\n\t\"params\": [{\n\t\t\"TPid\":\"TP_SPL_OTE_2\",\n\t\t\"Tenant\": \"cgrates.org\",\n\t\t\"ID\": \"SPL_OTE_2\"\n\t\t\n\t\t}],\n\t\t\"Weight\": 10\n\t}]\n}" + "raw": "{\n \"method\": \"APIerSv1.RemoveTPSupplierProfile\",\n \"params\": [\n {\n \"TPid\": \"TP_SPL_OTE_2\",\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"SPL_OTE_2\",\n \"Weight\": 10\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4779,7 +4745,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"method\": \"APIerSv1.SetSupplierProfile\",\n\t\"params\": [{\n\t\t\"Tenant\": \"cgrates.org\",\n\t\t\"ID\": \"SPL_TEST_1_WEIGHT\",\n\t\t\"FilterIDs\": null,\n\t\t\"ActivationInterval\": {\n\t\t\t\"ActivationTime\": \"2014-07-14T14:25:00Z\",\n\t\t\t\"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n\t\t},\n\t\t\"Sorting\": \"*weight\",\n\t\t\"SortingParameters\": [\"\"],\n\t\t\"Suppliers\": [{\n\t\t\t\"ID\": \"SUPPLIER_ID_TEST1\",\n\t\t\t\"FilterIDs\": [],\n\t\t\t\"AccountIDs\": [\"+30xxxxxxxxxx\",\"+30xxxxxxxxx\"],\n\t\t\t\"RatingPlanIDs\": [\"RP_TWT\"],\n\t\t\t\"ResourceIDs\": [\"RSPROF_+30xxxxxxxxxx\"],\n\t\t\t\"StatIDs\": [\"STATS_+30xxxxxxxxxx\"],\n\t\t\t\"Weight\": 10,\n\t\t\t\"Blocker\": false,\n\t\t\t\"SupplierParameters\": \"SUPPLIER_PARAM_1\"\n\t\t}],\n\t\t\"Weight\": 10\n\t}]\n}" + "raw": "{\n \"method\": \"APIerSv1.SetSupplierProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"SPL_TEST_1_WEIGHT\",\n \"FilterIDs\": null,\n \"ActivationInterval\": {\n \"ActivationTime\": \"2014-07-14T14:25:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n },\n \"Sorting\": \"*weight\",\n \"SortingParameters\": [\n \"\"\n ],\n \"Suppliers\": [\n {\n \"ID\": \"SUPPLIER_ID_TEST1\",\n \"FilterIDs\": [],\n \"AccountIDs\": [\n \"+30xxxxxxxxxx\",\n \"+30xxxxxxxxx\"\n ],\n \"RatingPlanIDs\": [\n \"RP_TWT\"\n ],\n \"ResourceIDs\": [\n \"RSPROF_+30xxxxxxxxxx\"\n ],\n \"StatIDs\": [\n \"STATS_+30xxxxxxxxxx\"\n ],\n \"Weight\": 10,\n \"Blocker\": false,\n \"SupplierParameters\": \"SUPPLIER_PARAM_1\"\n }\n ],\n \"Weight\": 10\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4808,7 +4774,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"method\": \"APIerSv1.SetSupplierProfile\",\n\t\"params\": [{\n\t\t\"Tenant\": \"cgrates.org\",\n\t\t\"ID\": \"SPL_TEST_1_LEAST_COST\",\n\t\t\"FilterIDs\": null,\n\t\t\"ActivationInterval\": {\n\t\t\t\"ActivationTime\": \"2014-07-14T14:25:00Z\",\n\t\t\t\"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n\t\t},\n\t\t\"Sorting\": \"*lc\",\n\t\t\"SortingParameters\": [\"\"],\n\t\t\"Suppliers\": [{\n\t\t\t\"ID\": \"SUPPLIER_ID_TEST1\",\n\t\t\t\"FilterIDs\": [],\n\t\t\t\"AccountIDs\": [\"+30xxxxxxxxxx\",\"+30xxxxxxxxx\"],\n\t\t\t\"RatingPlanIDs\": [\"RP_1002_LOW\"],\n\t\t\t\"ResourceIDs\": [\"RSPROF_+30xxxxxxxxxx\"],\n\t\t\t\"StatIDs\": [\"STATS_+30xxxxxxxxxx\"],\n\t\t\t\"Weight\": 10,\n\t\t\t\"Blocker\": false,\n\t\t\t\"SupplierParameters\": \"SUPPLIER_PARAM_1\"\n\t\t}],\n\t\t\"Weight\": 10\n\t}]\n}" + "raw": "{\n \"method\": \"APIerSv1.SetSupplierProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"SPL_TEST_1_LEAST_COST\",\n \"FilterIDs\": null,\n \"ActivationInterval\": {\n \"ActivationTime\": \"2014-07-14T14:25:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n },\n \"Sorting\": \"*lc\",\n \"SortingParameters\": [\n \"\"\n ],\n \"Suppliers\": [\n {\n \"ID\": \"SUPPLIER_ID_TEST1\",\n \"FilterIDs\": [],\n \"AccountIDs\": [\n \"+30xxxxxxxxxx\",\n \"+30xxxxxxxxx\"\n ],\n \"RatingPlanIDs\": [\n \"RP_1002_LOW\"\n ],\n \"ResourceIDs\": [\n \"RSPROF_+30xxxxxxxxxx\"\n ],\n \"StatIDs\": [\n \"STATS_+30xxxxxxxxxx\"\n ],\n \"Weight\": 10,\n \"Blocker\": false,\n \"SupplierParameters\": \"SUPPLIER_PARAM_1\"\n }\n ],\n \"Weight\": 10\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4837,7 +4803,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"method\": \"APIerSv1.SetSupplierProfile\",\n\t\"params\": [{\n\t\t\"Tenant\": \"cgrates.org\",\n\t\t\"ID\": \"SPL_TEST_1_HIGH_COST\",\n\t\t\"FilterIDs\": null,\n\t\t\"ActivationInterval\": {\n\t\t\t\"ActivationTime\": \"2014-07-14T14:25:00Z\",\n\t\t\t\"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n\t\t},\n\t\t\"Sorting\": \"*hc\",\n\t\t\"SortingParameters\": [\"\"],\n\t\t\"Suppliers\": [{\n\t\t\t\"ID\": \"SUPPLIER_ID_TEST1\",\n\t\t\t\"FilterIDs\": [],\n\t\t\t\"AccountIDs\": [\"+30xxxxxxxxxx\",\"+30xxxxxxxxx\"],\n\t\t\t\"RatingPlanIDs\": [\"RP_1002_LOW\"],\n\t\t\t\"ResourceIDs\": [\"RSPROF_+30xxxxxxxxxx\"],\n\t\t\t\"StatIDs\": [\"STATS_+30xxxxxxxxxx\"],\n\t\t\t\"Weight\": 10,\n\t\t\t\"Blocker\": false,\n\t\t\t\"SupplierParameters\": \"SUPPLIER_PARAM_1\"\n\t\t}],\n\t\t\"Weight\": 10\n\t}]\n}" + "raw": "{\n \"method\": \"APIerSv1.SetSupplierProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"SPL_TEST_1_HIGH_COST\",\n \"FilterIDs\": null,\n \"ActivationInterval\": {\n \"ActivationTime\": \"2014-07-14T14:25:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n },\n \"Sorting\": \"*hc\",\n \"SortingParameters\": [\n \"\"\n ],\n \"Suppliers\": [\n {\n \"ID\": \"SUPPLIER_ID_TEST1\",\n \"FilterIDs\": [],\n \"AccountIDs\": [\n \"+30xxxxxxxxxx\",\n \"+30xxxxxxxxx\"\n ],\n \"RatingPlanIDs\": [\n \"RP_1002_LOW\"\n ],\n \"ResourceIDs\": [\n \"RSPROF_+30xxxxxxxxxx\"\n ],\n \"StatIDs\": [\n \"STATS_+30xxxxxxxxxx\"\n ],\n \"Weight\": 10,\n \"Blocker\": false,\n \"SupplierParameters\": \"SUPPLIER_PARAM_1\"\n }\n ],\n \"Weight\": 10\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4866,7 +4832,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"method\": \"APIerSv1.SetSupplierProfile\",\n\t\"params\": [{\n\t\t\"Tenant\": \"cgrates.org\",\n\t\t\"ID\": \"SPL_GR_WEIGHT_1\",\n\t\t\"FilterIDs\": [\"FLTR_NOT_INTERNAL\"],\n\t\t\"ActivationInterval\": {\n\t\t\t\"ActivationTime\": \"2014-07-14T14:25:00Z\",\n\t\t\t\"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n\t\t},\n\t\t\"Sorting\": \"*weight\",\n\t\t\"SortingParameters\": [\"\"],\n\t\t\"Suppliers\": [{\n\t\t\t\"ID\": \"SPL_ID_01\",\n\t\t\t\"FilterIDs\": [],\n\t\t\t\"AccountIDs\": null,\n\t\t\t\"RatingPlanIDs\": [\"TP_RP_SPL_TESTSUPPLIER1_DST_ID_RT_GR_LANDLINE_2019_01\"],\n\t\t\t\"ResourceIDs\": null,\n\t\t\t\"StatIDs\": null,\n\t\t\t\"Weight\": 10,\n\t\t\t\"Blocker\": false,\n\t\t\t\"SupplierParameters\": \"SPL_PARAM_X\"\n\t\t},\n\t\t{\n\t\t\t\"ID\": \"SPL_ID_02\",\n\t\t\t\"FilterIDs\": [],\n\t\t\t\"AccountIDs\": null,\n\t\t\t\"RatingPlanIDs\": [],\n\t\t\t\"ResourceIDs\": null,\n\t\t\t\"StatIDs\": null,\n\t\t\t\"Weight\": 20,\n\t\t\t\"Blocker\": false,\n\t\t\t\"SupplierParameters\": \"SPL_PARAM_X\"\n\t\t}\n\t\t],\n\t\t\"Weight\": 10\n\t}]\n}\n\n\n" + "raw": "{\n \"method\": \"APIerSv1.SetSupplierProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"SPL_GR_WEIGHT_1\",\n \"FilterIDs\": [\n \"FLTR_NOT_INTERNAL\"\n ],\n \"ActivationInterval\": {\n \"ActivationTime\": \"2014-07-14T14:25:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n },\n \"Sorting\": \"*weight\",\n \"SortingParameters\": [\n \"\"\n ],\n \"Suppliers\": [\n {\n \"ID\": \"SPL_ID_01\",\n \"FilterIDs\": [],\n \"AccountIDs\": null,\n \"RatingPlanIDs\": [\n \"TP_RP_SPL_TESTSUPPLIER1_DST_ID_RT_GR_LANDLINE_2019_01\"\n ],\n \"ResourceIDs\": null,\n \"StatIDs\": null,\n \"Weight\": 10,\n \"Blocker\": false,\n \"SupplierParameters\": \"SPL_PARAM_X\"\n },\n {\n \"ID\": \"SPL_ID_02\",\n \"FilterIDs\": [],\n \"AccountIDs\": null,\n \"RatingPlanIDs\": [],\n \"ResourceIDs\": null,\n \"StatIDs\": null,\n \"Weight\": 20,\n \"Blocker\": false,\n \"SupplierParameters\": \"SPL_PARAM_X\"\n }\n ],\n \"Weight\": 10\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4895,7 +4861,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"method\": \"APIerSv1.SetSupplierProfile\",\n\t\"params\": [{\n\t\t\"Tenant\": \"cgrates.org\",\n\t\t\"ID\": \"SPL_GR_WEIGHT_1\",\n\t\t\"FilterIDs\": [\"FLTR_NOT_INTERNAL\"],\n\t\t\"ActivationInterval\": {\n\t\t\t\"ActivationTime\": \"2014-07-14T14:25:00Z\",\n\t\t\t\"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n\t\t},\n\t\t\"Sorting\": \"*qos\"\n\t\t\"SortingParameters\": [\"*tcd\"],\n\t\t\"Suppliers\": [{\n\t\t\t\"ID\": \"SPL_ID_01\",\n\t\t\t\"FilterIDs\": [],\n\t\t\t\"AccountIDs\": null,\n\t\t\t\"RatingPlanIDs\": [\"TP_RP_SPL_TESTSUPPLIER1_DST_ID_RT_GR_LANDLINE_2019_01\"],\n\t\t\t\"ResourceIDs\": null,\n\t\t\t\"StatIDs\": null,\n\t\t\t\"Weight\": 10,\n\t\t\t\"Blocker\": false,\n\t\t\t\"SupplierParameters\": \"SPL_PARAM_X\"\n\t\t},\n\t\t{\n\t\t\t\"ID\": \"SPL_ID_02\",\n\t\t\t\"FilterIDs\": [],\n\t\t\t\"AccountIDs\": null,\n\t\t\t\"RatingPlanIDs\": [\"TP_RP_SPL_TESTSUPPLIER1_DST_ID_RT_GR_LANDLINE_2019_01\"],\n\t\t\t\"ResourceIDs\": null,\n\t\t\t\"StatIDs\": null,\n\t\t\t\"Weight\": 10\n\t\t\t\"Blocker\": false,\n\t\t\t\"SupplierParameters\": \"SPL_PARAM_X\"\n\t\t}\n\t\t],\n\t\t\"Weight\": 10\n\t}]\n}\n\n\n" + "raw": "{\n \"method\": \"APIerSv1.SetSupplierProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"SPL_GR_WEIGHT_1\",\n \"FilterIDs\": [\n \"FLTR_NOT_INTERNAL\"\n ],\n \"ActivationInterval\": {\n \"ActivationTime\": \"2014-07-14T14:25:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n },\n \"Sorting\": \"*qos\",\n \"SortingParameters\": [\n \"*tcd\"\n ],\n \"Suppliers\": [\n {\n \"ID\": \"SPL_ID_01\",\n \"FilterIDs\": [],\n \"AccountIDs\": null,\n \"RatingPlanIDs\": [\n \"TP_RP_SPL_TESTSUPPLIER1_DST_ID_RT_GR_LANDLINE_2019_01\"\n ],\n \"ResourceIDs\": null,\n \"StatIDs\": null,\n \"Weight\": 10,\n \"Blocker\": false,\n \"SupplierParameters\": \"SPL_PARAM_X\"\n },\n {\n \"ID\": \"SPL_ID_02\",\n \"FilterIDs\": [],\n \"AccountIDs\": null,\n \"RatingPlanIDs\": [\n \"TP_RP_SPL_TESTSUPPLIER1_DST_ID_RT_GR_LANDLINE_2019_01\"\n ],\n \"ResourceIDs\": null,\n \"StatIDs\": null,\n \"Weight\": 10,\n \"Blocker\": false,\n \"SupplierParameters\": \"SPL_PARAM_X\"\n }\n ],\n \"Weight\": 10\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4924,7 +4890,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"method\": \"APIerSv1.SetSupplierProfile\",\n\t\"params\": [{\n\t\t\"Tenant\": \"cgrates.org\",\n\t\t\"ID\": \"SPL_VL_INTERNAL\",\n\t\t\"FilterIDs\": null,\n\t\t\"ActivationInterval\": {\n\t\t\t\"ActivationTime\": \"2014-07-14T14:25:00Z\",\n\t\t\t\"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n\t\t},\n\t\t\"Sorting\": \"*weight\",\n\t\t\"SortingParameters\": [\"\"],\n\t\t\"Suppliers\": [\n\t\t\t{\n\t\t\t\"ID\": \"SPL_VL_INTERNAL_IN\",\n\t\t\t\"FilterIDs\": [\"*string:~*req.Subject:INTERNAL-IN\",\"*string:~*req.Category:call-in\"],\n\t\t\t\"AccountIDs\": [\"\"],\n\t\t\t\"RatingPlanIDs\": [\"TP_RP_SPL_TEST_SUPPLIER_NAME_INTERNAL_DST_ID_RT_GR_LANDLINE_2019_01\"],\n\t\t\t\"ResourceIDs\": null,\n\t\t\t\"StatIDs\": null,\n\t\t\t\"Weight\": 10,\n\t\t\t\"Blocker\": false,\n\t\t\t\"SupplierParameters\": \"999\"\n\t\t\t},\n\t\t\t{\n\t\t\t\"ID\": \"SPL_VL_INTERNAL_OUT\",\n\t\t\t\"FilterIDs\": [\"*string:~*req.Subject:INTERNAL-OUT\",\"*string:~*req.Category:call-out\"],\n\t\t\t\"AccountIDs\": null,\n\t\t\t\"RatingPlanIDs\": [\"TP_RP_SPL_TEST_SUPPLIER_NAME_INTERNAL_DST_ID_RT_GR_LANDLINE_2019_01\"],\n\t\t\t\"ResourceIDs\": null,\n\t\t\t\"StatIDs\": null,\n\t\t\t\"Weight\": 10,\n\t\t\t\"Blocker\": false,\n\t\t\t\"SupplierParameters\": \"999\"\n\t\t\t}\n\t\t\n\t\t],\n\t\t\"Weight\": 10\n\t}]\n}\n\n\n" + "raw": "{\n \"method\": \"APIerSv1.SetSupplierProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"SPL_VL_INTERNAL\",\n \"FilterIDs\": null,\n \"ActivationInterval\": {\n \"ActivationTime\": \"2014-07-14T14:25:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n },\n \"Sorting\": \"*weight\",\n \"SortingParameters\": [\n \"\"\n ],\n \"Suppliers\": [\n {\n \"ID\": \"SPL_VL_INTERNAL_IN\",\n \"FilterIDs\": [\n \"*string:~*req.Subject:INTERNAL-IN\",\n \"*string:~*req.Category:call-in\"\n ],\n \"AccountIDs\": [\n \"\"\n ],\n \"RatingPlanIDs\": [\n \"TP_RP_SPL_TEST_SUPPLIER_NAME_INTERNAL_DST_ID_RT_GR_LANDLINE_2019_01\"\n ],\n \"ResourceIDs\": null,\n \"StatIDs\": null,\n \"Weight\": 10,\n \"Blocker\": false,\n \"SupplierParameters\": \"999\"\n },\n {\n \"ID\": \"SPL_VL_INTERNAL_OUT\",\n \"FilterIDs\": [\n \"*string:~*req.Subject:INTERNAL-OUT\",\n \"*string:~*req.Category:call-out\"\n ],\n \"AccountIDs\": null,\n \"RatingPlanIDs\": [\n \"TP_RP_SPL_TEST_SUPPLIER_NAME_INTERNAL_DST_ID_RT_GR_LANDLINE_2019_01\"\n ],\n \"ResourceIDs\": null,\n \"StatIDs\": null,\n \"Weight\": 10,\n \"Blocker\": false,\n \"SupplierParameters\": \"999\"\n }\n ],\n \"Weight\": 10\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4953,7 +4919,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"method\": \"APIerSv1.SetSupplierProfile\",\n\t\"params\": [{\n\t\t\"Tenant\": \"cgrates.org\",\n\t\t\"ID\": \"SPL_OTE_1_QOS\",\n\t\t\"FilterIDs\": null,\n\t\t\"ActivationInterval\": {\n\t\t\t\"ActivationTime\": \"2014-07-14T14:25:00Z\",\n\t\t\t\"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n\t\t},\n\t\t\"Sorting\": \"*qos\",\n\t\t\"SortingParameters\": [\"*tcc\",\"*tcd\",\"*asr\",\"*acc\"],\n\t\t\"Suppliers\": [{\n\t\t\t\"ID\": \"SUPPLIER_ID_TEST1\",\n\t\t\t\"FilterIDs\": [],\n\t\t\t\"AccountIDs\": [\"+30xxxxxxxxxx\",\"+30xxxxxxxxx\"],\n\t\t\t\"RatingPlanIDs\": [\"RP_TWT\"],\n\t\t\t\"ResourceIDs\": [\"RSPROF_+30xxxxxxxxxx\"],\n\t\t\t\"StatIDs\": [\"STATS_+30xxxxxxxxxx\"],\n\t\t\t\"Weight\": 10,\n\t\t\t\"Blocker\": false,\n\t\t\t\"SupplierParameters\": \"SUPPLIER_PARAM_1\"\n\t\t}],\n\t\t\"Weight\": 10\n\t}]\n}" + "raw": "{\n \"method\": \"APIerSv1.SetSupplierProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"SPL_OTE_1_QOS\",\n \"FilterIDs\": null,\n \"ActivationInterval\": {\n \"ActivationTime\": \"2014-07-14T14:25:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n },\n \"Sorting\": \"*qos\",\n \"SortingParameters\": [\n \"*tcc\",\n \"*tcd\",\n \"*asr\",\n \"*acc\"\n ],\n \"Suppliers\": [\n {\n \"ID\": \"SUPPLIER_ID_TEST1\",\n \"FilterIDs\": [],\n \"AccountIDs\": [\n \"+30xxxxxxxxxx\",\n \"+30xxxxxxxxx\"\n ],\n \"RatingPlanIDs\": [\n \"RP_TWT\"\n ],\n \"ResourceIDs\": [\n \"RSPROF_+30xxxxxxxxxx\"\n ],\n \"StatIDs\": [\n \"STATS_+30xxxxxxxxxx\"\n ],\n \"Weight\": 10,\n \"Blocker\": false,\n \"SupplierParameters\": \"SUPPLIER_PARAM_1\"\n }\n ],\n \"Weight\": 10\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -4982,7 +4948,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"method\": \"APIerSv1.GetSupplierProfile\",\n\t\"params\": [{\n\t\t\"Tenant\": \"cgrates.org\",\n\t\t\"ID\": \"SPL_GR_WEIGHT_1\"\n\t\t\n\t\t}],\n\t\t\"Weight\": 10\n\t}]\n}" + "raw": "{\n \"method\": \"APIerSv1.GetSupplierProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"SPL_GR_WEIGHT_1\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5011,7 +4977,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"method\": \"APIerSv1.GetSupplierProfile\",\n\t\"params\": [{\n\t\t\"Tenant\": \"cgrates.org\",\n\t\t\"ID\": \"SPL_VL_INTERNAL\"\n\t\t\n\t\t}],\n\t\t\"Weight\": 10\n\t}]\n}" + "raw": "{\n \"method\": \"APIerSv1.GetSupplierProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"SPL_VL_INTERNAL\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5040,7 +5006,7 @@ ], "body": { "mode": "raw", - "raw": "{\n\t\"method\": \"APIerSv1.RemoveSupplierProfile\",\n\t\"params\": [{\n\t\t\"Tenant\": \"cgrates.org\",\n\t\t\"ID\": \"SPL_VL_INTERNAL\"\n\t\t\n\t\t}],\n\t\t\"Weight\": 10\n\t}]\n}" + "raw": "{\n \"method\": \"APIerSv1.RemoveSupplierProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"SPL_VL_INTERNAL\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5069,7 +5035,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.GetSupplierProfileIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n }\n ],\n \"id\": 12\n}" + "raw": "{\n \"method\": \"APIerSv1.GetSupplierProfileIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n }\n ],\n \"id\": 12\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5134,7 +5100,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"SupplierSv1.GetSuppliers\",\n \"params\": [\n {\n \"IgnoreErrors\": false,\n \"MaxCost\": \"\",\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"869285e7-20bb-4e8e-9a7b-0494571bc42e\",\n \"Time\": null,\n \"Event\": {\n \"Account\": \"+30xxxxxxxxxx\",\n \"CGRID\": \"ff20124937668825b012ee6857376ccc79d459c6\",\n \"Category\": \"call-in\",\n \"Destination\": \"+30xxxxxxxxx\",\n \"OriginHost\": \"10.156.0.13\",\n \"OriginID\": \"B2B.339.2997821.1561998075_user_888418\",\n \"RequestType\": \"*prepaid\",\n \"SetupTime\": \"1561998075\",\n \"Source\": \"OpenSIPS-01\",\n \"Subject\": \"INTERNAL-IN\",\n \"Usage\": 10800000000000\n },\n \"Limit\": null,\n \"Offset\": null\n }\n ],\n \"id\": 136\n}" + "raw": "{\n \"method\": \"SupplierSv1.GetSuppliers\",\n \"params\": [\n {\n \"IgnoreErrors\": false,\n \"MaxCost\": \"\",\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"869285e7-20bb-4e8e-9a7b-0494571bc42e\",\n \"Time\": null,\n \"Event\": {\n \"Account\": \"+30xxxxxxxxxx\",\n \"CGRID\": \"ff20124937668825b012ee6857376ccc79d459c6\",\n \"Category\": \"call-in\",\n \"Destination\": \"+30xxxxxxxxx\",\n \"OriginHost\": \"10.156.0.13\",\n \"OriginID\": \"B2B.339.2997821.1561998075_user_888418\",\n \"RequestType\": \"*prepaid\",\n \"SetupTime\": \"1561998075\",\n \"Source\": \"OpenSIPS-01\",\n \"Subject\": \"INTERNAL-IN\",\n \"Usage\": 10800000000000\n },\n \"Limit\": null,\n \"Offset\": null\n }\n ],\n \"id\": 136\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5169,7 +5135,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv2.GetActions\",\n \"params\": [\n {\n \"ActionIDs\": [\"ACT_TOPUP_RST_10\"]\n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv2.GetActions\",\n \"params\": [\n {\n \"ActionIDs\": [\n \"ACT_TOPUP_RST_10\"\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5200,7 +5166,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv2.GetActions\",\n \"params\": [\n {\n \"Offset\":0,\n \"Limit\":0\n }\n ]\n}", + "raw": "{\n \"method\": \"APIerSv2.GetActions\",\n \"params\": [\n {\n \"Offset\": 0,\n \"Limit\": 0\n }\n ]\n}", "options": { "raw": { "language": "json" @@ -5234,7 +5200,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.RemoveActions\",\n \"params\": [\n {\n \"ActionIDs\": [\n \"ACT_10050\",\"ACT_100500\"\n ]\n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv1.RemoveActions\",\n \"params\": [\n {\n \"ActionIDs\": [\n \"ACT_10050\",\n \"ACT_100500\"\n ]\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5327,7 +5293,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetActionPlan\",\n \"params\": [\n {\n \"Id\": \"ACP_10050\",\n \"ReloadScheduler\": true,\n \"ActionPlan\": [\n {\n \"MonthDays\": \"*any\",\n \"Years\": \"*any\",\n \"WeekDays\": \"*any\",\n \"Time\": \"*asap\",\n \"ActionsId\": \"ACT_10050\",\n \"Weight\": 10,\n \"Months\": \"*any\"\n }\n ],\n \"Overwrite\": true,\n \"ReloadScheduler\": true\n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv1.SetActionPlan\",\n \"params\": [\n {\n \"Id\": \"ACP_10050\",\n \"ReloadScheduler\": true,\n \"ActionPlan\": [\n {\n \"MonthDays\": \"*any\",\n \"Years\": \"*any\",\n \"WeekDays\": \"*any\",\n \"Time\": \"*asap\",\n \"ActionsId\": \"ACT_10050\",\n \"Weight\": 10,\n \"Months\": \"*any\"\n }\n ],\n \"Overwrite\": true\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5356,7 +5322,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.RemoveActionPlan\",\n \"params\": [\n {\n \"ID\": \"ACP_10050\"\n \n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv1.RemoveActionPlan\",\n \"params\": [\n {\n \"ID\": \"ACP_10050\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5424,7 +5390,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetThresholdProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\":\"THD_ACNT_+30xxxxxxxxx\",\n \"FilterIDs\": [\n \t\"FLTR_ACNT_+30xxxxxxxxx\"\n \t],\n \"ActivationInterval\": {\n \t\"ActivationTime\": \"2014-07-29T15:00:00Z\",\n \t\"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n \t},\n \"MaxHits\": -1,\n \"MinHits\": 1,\n \"MinSleep\": 1000000000,\n \"Blocker\": false,\n \"Weight\": 10,\n \"ActionIDs\": [\n \"ACT_LOG_WARNING\"\n ],\n \"Async\": false\n\n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv1.SetThresholdProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"THD_ACNT_+30xxxxxxxxx\",\n \"FilterIDs\": [\n \"FLTR_ACNT_+30xxxxxxxxx\"\n ],\n \"ActivationInterval\": {\n \"ActivationTime\": \"2014-07-29T15:00:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n },\n \"MaxHits\": -1,\n \"MinHits\": 1,\n \"MinSleep\": 1000000000,\n \"Blocker\": false,\n \"Weight\": 10,\n \"ActionIDs\": [\n \"ACT_LOG_WARNING\"\n ],\n \"Async\": false\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5453,7 +5419,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.SetThresholdProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\":\"THD_+30xxxxxxxxx_BALANCEUPDATE_GREATER_OR_EQUAL\",\n \"FilterIDs\": [\n \t\"FLTR_+30xxxxxxxxx_BALANCEUPDATE_GREATER_OR_EQUAL\"\n \t],\n \"ActivationInterval\": {\n \t\"ActivationTime\": \"2014-07-29T15:00:00Z\",\n \t\"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n \t},\n \"MaxHits\": -1,\n \"MinHits\": 1,\n \"MinSleep\": 1000000000,\n \"Blocker\": false,\n \"Weight\": 10,\n \"ActionIDs\": [\n \"ACT_LOG_WARNING\"\n ],\n \"Async\": false\n\n }\n ]\n}" + "raw": "{\n \"method\": \"APIerSv1.SetThresholdProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"THD_+30xxxxxxxxx_BALANCEUPDATE_GREATER_OR_EQUAL\",\n \"FilterIDs\": [\n \"FLTR_+30xxxxxxxxx_BALANCEUPDATE_GREATER_OR_EQUAL\"\n ],\n \"ActivationInterval\": {\n \"ActivationTime\": \"2014-07-29T15:00:00Z\",\n \"ExpiryTime\": \"0001-01-01T00:00:00Z\"\n },\n \"MaxHits\": -1,\n \"MinHits\": 1,\n \"MinSleep\": 1000000000,\n \"Blocker\": false,\n \"Weight\": 10,\n \"ActionIDs\": [\n \"ACT_LOG_WARNING\"\n ],\n \"Async\": false\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5482,7 +5448,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"APIerSv1.GetThresholdProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\":\"THD_ACNT_+30xxxxxxxxxx\"\n\n }\n ]\n}\n\n" + "raw": "{\n \"method\": \"APIerSv1.GetThresholdProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"THD_ACNT_+30xxxxxxxxxx\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5511,7 +5477,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"ThresholdSv1.GetThresholdIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n \n\n }\n ]\n}\n\n\n" + "raw": "{\n \"method\": \"ThresholdSv1.GetThresholdIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5540,7 +5506,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"ThresholdSv1.GetThreshold\",\n \"params\": [{\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"THD_ACNT_+30xxxxxxxxx\"\n }]\n}\n\n" + "raw": "{\n \"method\": \"ThresholdSv1.GetThreshold\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"THD_ACNT_+30xxxxxxxxx\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5569,7 +5535,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\":\"ThresholdSv1.ProcessEvent\",\n \"params\":[\n {\n \"ThresholdIDs\":[\n \"THD_ACNT_1002\"],\n \"Tenant\":\"cgrates.org\",\n \"ID\":\"c6b75b5a-4654-4582-9940-740cc7874c1c\",\n \"Context\":null,\n \"Time\":null,\n \"Event\":{\n \"Account\": \"1002\",\n \"BalanceID\": \"data\",\n \"EventSource\": \"AccountS\",\n \"EventType\": \"StatUpdate\",\n \"Units\": 100000000.0\n }}\n ],\n \"id\":8\n}\n" + "raw": "{\n \"method\": \"ThresholdSv1.ProcessEvent\",\n \"params\": [\n {\n \"ThresholdIDs\": [\n \"THD_ACNT_1002\"\n ],\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"c6b75b5a-4654-4582-9940-740cc7874c1c\",\n \"Context\": null,\n \"Time\": null,\n \"Event\": {\n \"Account\": \"1002\",\n \"BalanceID\": \"data\",\n \"EventSource\": \"AccountS\",\n \"EventType\": \"StatUpdate\",\n \"Units\": 100000000\n }\n }\n ],\n \"id\": 8\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5598,7 +5564,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"ThresholdSv1.ProcessEvent\",\n \"params\": [\n {\n \"ThresholdIDs\": null,\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"cbe7462e-1f70-48d5-8ad2-77c8b4a88416\",\n \"Time\": null,\n \"Event\": {\n \"Account\": \"+30xxxxxxxxx;\",\n \"AnswerTime\": \"1561132904\",\n \"CGRID\": \"23ed793815bfbdd974517b2f803f78a6135f28b7\",\n \"Category\": \"call\",\n \"Destination\": \"+30xxxxxxxxxx\",\n \"DialogEntry\": 354,\n \"DialogID\": 1936306114,\n \"OriginHost\": \"10.156.0.13\",\n \"OriginID\": \"313536313133323839383234333831-5bka7cg136tm_user_807046\",\n \"RequestType\": \"*prepaid\",\n \"SetupTime\": \"1561132899\",\n \"Source\": \"OpenSIPS-01\",\n \"Tenant\": \"cgrates.org\",\n \"User-Agent\": \"snomD120/10.1.33.33\",\n \"User-Agent-IP\": \"1.1.1.1\"\n }\n }\n ],\n \"id\": 28\n}" + "raw": "{\n \"method\": \"ThresholdSv1.ProcessEvent\",\n \"params\": [\n {\n \"ThresholdIDs\": null,\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"cbe7462e-1f70-48d5-8ad2-77c8b4a88416\",\n \"Time\": null,\n \"Event\": {\n \"Account\": \"+30xxxxxxxxx;\",\n \"AnswerTime\": \"1561132904\",\n \"CGRID\": \"23ed793815bfbdd974517b2f803f78a6135f28b7\",\n \"Category\": \"call\",\n \"Destination\": \"+30xxxxxxxxxx\",\n \"DialogEntry\": 354,\n \"DialogID\": 1936306114,\n \"OriginHost\": \"10.156.0.13\",\n \"OriginID\": \"313536313133323839383234333831-5bka7cg136tm_user_807046\",\n \"RequestType\": \"*prepaid\",\n \"SetupTime\": \"1561132899\",\n \"Source\": \"OpenSIPS-01\",\n \"Tenant\": \"cgrates.org\",\n \"User-Agent\": \"snomD120/10.1.33.33\",\n \"User-Agent-IP\": \"1.1.1.1\"\n }\n }\n ],\n \"id\": 28\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5618,42 +5584,6 @@ { "name": "Chargers", "item": [ - { - "name": "TP Chargers", - "item": [ - { - "name": "APIerSv1.GetTPChargers TODO", - "request": { - "auth": { - "type": "noauth" - }, - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"id\":\"11111\",\r\n \"method\":\"APIerSv1.GetTPChargers\",\r\n \"params\":[\r\n {\r\n\t\"tpid\":[\"*default\"],\r\n\t\"tenant\":[\"cgrates.org\"],\r\n ..........\r\n ......\r\n \r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{base_url}}/jsonrpc", - "host": [ - "{{base_url}}" - ], - "path": [ - "jsonrpc" - ] - } - }, - "response": [] - } - ], - "protocolProfileBehavior": {}, - "_postman_isSubFolder": true - }, { "name": "APIerSv1.GetChargerProfile", "request": { @@ -5669,7 +5599,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"method\": \"APIerSv1.GetChargerProfile\",\r\n \"params\": [\r\n {\r\n \"Tenant\": \"cgrates.org\",\r\n \"ID\": \"SPL_TEST_SUPPLIER_NAME_In\"\r\n \r\n\r\n }\r\n ]\r\n}\r\n" + "raw": "{\n \"method\": \"APIerSv1.GetChargerProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"SPL_TEST_SUPPLIER_NAME_In\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5698,7 +5628,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"method\": \"APIerSv1.SetChargerProfile\",\r\n \"params\": [\r\n {\r\n \"Tenant\": \"cgrates.org\",\r\n \"ID\": \"SupplierCharges\",\r\n \"FilterIDs\": [],\r\n \"ActivationInterval\": null,\r\n \"RunID\": \"SupplierCharges\",\r\n \"AttributeIDs\": [\r\n \"ATTR_SUPPLIER1\"\r\n ],\r\n \"Weight\": 0\r\n \r\n }\r\n ]\r\n}\r\n\r\n\r\n\r\n" + "raw": "{\n \"method\": \"APIerSv1.SetChargerProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"SupplierCharges\",\n \"FilterIDs\": [],\n \"ActivationInterval\": null,\n \"RunID\": \"SupplierCharges\",\n \"AttributeIDs\": [\n \"ATTR_SUPPLIER1\"\n ],\n \"Weight\": 0\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5727,7 +5657,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"method\": \"APIerSv1.SetChargerProfile\",\r\n \"params\": [\r\n {\r\n \"Tenant\": \"cgrates.org\",\r\n \"ID\": \"CustomerCharges\",\r\n \"FilterIDs\": null,\r\n \"ActivationInterval\": null,\r\n \"RunID\": \"CustomerCharges\",\r\n \"AttributeIDs\": [\"*none\"],\r\n \"Weight\": 0\r\n \r\n }\r\n ]\r\n}\r\n" + "raw": "{\n \"method\": \"APIerSv1.SetChargerProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"CustomerCharges\",\n \"FilterIDs\": null,\n \"ActivationInterval\": null,\n \"RunID\": \"CustomerCharges\",\n \"AttributeIDs\": [\n \"*none\"\n ],\n \"Weight\": 0\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5756,7 +5686,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"method\": \"APIerSv1.SetChargerProfile\",\r\n \"params\": [\r\n {\r\n \"Tenant\": \"cgrates.org\",\r\n \"ID\": \"SPL_TESTSUPPLIER1_In\",\r\n \"FilterIDs\": [],\r\n \"ActivationInterval\": null,\r\n \"RunID\": \"SPL_TESTSUPPLIER1_In\",\r\n \"AttributeIDs\": [\"ATTR_SPL_TESTSUPPLIER1_In\"],\r\n \"Weight\": 0\r\n \r\n }\r\n ]\r\n}\r\n" + "raw": "{\n \"method\": \"APIerSv1.SetChargerProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"SPL_TESTSUPPLIER1_In\",\n \"FilterIDs\": [],\n \"ActivationInterval\": null,\n \"RunID\": \"SPL_TESTSUPPLIER1_In\",\n \"AttributeIDs\": [\n \"ATTR_SPL_TESTSUPPLIER1_In\"\n ],\n \"Weight\": 0\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5787,7 +5717,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"method\": \"APIerSv1.SetChargerProfile\",\r\n \"params\": [\r\n {\r\n \"Tenant\": \"cgrates.org\",\r\n \"ID\": \"SPL_TESTSUPPLIER1_Out\",\r\n \"FilterIDs\": [\"FLTR_NOT_INTERNAL\"],\r\n \"ActivationInterval\": null,\r\n \"RunID\": \"SPL_TESTSUPPLIER1_Out\",\r\n \"AttributeIDs\": [\"ATTR_SPL_TESTSUPPLIER1_Out\"],\r\n \"Weight\": 0\r\n \r\n }\r\n ]\r\n}\r\n", + "raw": "{\n \"method\": \"APIerSv1.SetChargerProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"SPL_TESTSUPPLIER1_Out\",\n \"FilterIDs\": [\n \"FLTR_NOT_INTERNAL\"\n ],\n \"ActivationInterval\": null,\n \"RunID\": \"SPL_TESTSUPPLIER1_Out\",\n \"AttributeIDs\": [\n \"ATTR_SPL_TESTSUPPLIER1_Out\"\n ],\n \"Weight\": 0\n }\n ]\n}", "options": { "raw": { "language": "json" @@ -5821,7 +5751,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"method\": \"APIerSv1.RemoveChargerProfile\",\r\n \"params\": [\r\n {\r\n \"Tenant\": \"cgrates.org\",\r\n \"ID\": \"CustomerCharges\"\r\n \r\n\r\n }\r\n ]\r\n}\r\n" + "raw": "{\n \"method\": \"APIerSv1.RemoveChargerProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"CustomerCharges\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5850,7 +5780,7 @@ ], "body": { "mode": "raw", - "raw": "{\r\n \"method\": \"APIerSv1.GetChargerProfileIDs\",\r\n \"params\": [\r\n {\r\n \"Tenant\": \"cgrates.org\"\r\n \r\n\r\n }\r\n ]\r\n}\r\n" + "raw": "{\n \"method\": \"APIerSv1.GetChargerProfileIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n }\n ]\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5879,7 +5809,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"ChargerSv1.ProcessEvent\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"85bf4e1\",\n \"Time\": null,\n \"Event\": {\n \"Account\": \"+30xxxxxxxxx\",\n \"Authorize_no_such_user_limit\": \"20\",\n \"Authorize_wrong_password_limit\": \"20\",\n \"Block_Incoming_Calls\": \"0\",\n \"CGRID\": \"3a6bb7df0f9c31959b447c865dc3d9ea74b559d8\",\n \"Category\": \"call\",\n \"Country\": \"Greece\",\n \"Destination\": \"+30xxxxxxxxxx\",\n \"Forwarding_Service\": \"0\",\n \"Hide_CLI\": \"0\",\n \"MaxCallsPerSecond\": \"1\",\n \"MaxSessionTime\": \"3600\",\n \"MaxSessions\": \"5\",\n \"Max_Incoming_Sessions\": \"5\",\n \"Max_Outgoing_Sessions\": \"5\",\n \"OriginHost\": \"10.156.0.13\",\n \"OriginID\": \"313536313130323331313531373435-11zx3su0dxng_user_860952\",\n \"Region\": \"Europe\",\n \"RequestType\": \"*prepaid\",\n \"SetupTime\": \"1561102312\",\n \"SipPassword\": \"|!xB8H7]}ych&XMY\",\n \"SipUserName\": \"+30xxxxxxxxx\",\n \"Source\": \"OpenSIPS-01\",\n \"Tenant\": \"cgrates.org\",\n \"Usage\": 10800000000000,\n \"User-Agent\": \"snomD120/10.1.33.33\",\n \"User-Agent-IP\": \"1.1.1.1\",\n \"Voicemail_Service\": \"0\"\n }\n }\n ],\n \"id\": 286\n}" + "raw": "{\n \"method\": \"ChargerSv1.ProcessEvent\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"85bf4e1\",\n \"Time\": null,\n \"Event\": {\n \"Account\": \"+30xxxxxxxxx\",\n \"Authorize_no_such_user_limit\": \"20\",\n \"Authorize_wrong_password_limit\": \"20\",\n \"Block_Incoming_Calls\": \"0\",\n \"CGRID\": \"3a6bb7df0f9c31959b447c865dc3d9ea74b559d8\",\n \"Category\": \"call\",\n \"Country\": \"Greece\",\n \"Destination\": \"+30xxxxxxxxxx\",\n \"Forwarding_Service\": \"0\",\n \"Hide_CLI\": \"0\",\n \"MaxCallsPerSecond\": \"1\",\n \"MaxSessionTime\": \"3600\",\n \"MaxSessions\": \"5\",\n \"Max_Incoming_Sessions\": \"5\",\n \"Max_Outgoing_Sessions\": \"5\",\n \"OriginHost\": \"10.156.0.13\",\n \"OriginID\": \"313536313130323331313531373435-11zx3su0dxng_user_860952\",\n \"Region\": \"Europe\",\n \"RequestType\": \"*prepaid\",\n \"SetupTime\": \"1561102312\",\n \"SipPassword\": \"|!xB8H7]}ych&XMY\",\n \"SipUserName\": \"+30xxxxxxxxx\",\n \"Source\": \"OpenSIPS-01\",\n \"Tenant\": \"cgrates.org\",\n \"Usage\": 10800000000000,\n \"User-Agent\": \"snomD120/10.1.33.33\",\n \"User-Agent-IP\": \"1.1.1.1\",\n \"Voicemail_Service\": \"0\"\n }\n }\n ],\n \"id\": 286\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5946,7 +5876,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"RALsV1.GetRatingPlansCost\",\n \"params\": [\n {\n \t\"RatingPlanIDs\": [\"TP_RP_SPL_TEST_SUPPLIER_NAME_INTERNAL_DST_ID_RT_GR_LANDLINE_2019_01\"],\n\t\t\"Destination\":\"+30xxxxxxxxx\",\n\t\t\"SetupTime\": \"2018-11-07T08:42:20Z\",\n\t\t\"Usage\":\"30s\"\n }\n ],\n \"id\": 0\n}\n\t\t" + "raw": "{\n \"method\": \"RALsV1.GetRatingPlansCost\",\n \"params\": [\n {\n \"RatingPlanIDs\": [\n \"TP_RP_SPL_TEST_SUPPLIER_NAME_INTERNAL_DST_ID_RT_GR_LANDLINE_2019_01\"\n ],\n \"Destination\": \"+30xxxxxxxxx\",\n \"SetupTime\": \"2018-11-07T08:42:20Z\",\n \"Usage\": \"30s\"\n }\n ],\n \"id\": 0\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -5981,7 +5911,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"Responder.GetMaxSessionTime\",\n \"params\": [\n {\n \"Category\": \"call\",\n \"Tenant\": \"cgrates.org\",\n \"Subject\": \"+30xxxxxxxxx\",\n \"Account\": \"+30xxxxxxxxx\",\n \"Destination\": \"+30xxxxxxxxxx\",\n \"TimeStart\": \"2019-06-21T07:31:52Z\",\n \"TimeEnd\": \"2019-06-21T10:31:52Z\",\n \"LoopIndex\": 0,\n \"DurationIndex\": 0,\n \"FallbackSubject\": \"\",\n \"RatingInfos\": null,\n \"Increments\": null,\n \"ToR\": \"\",\n \"ExtraFields\": {\n \"Authorize_no_such_user_limit\": \"20\",\n \"Authorize_wrong_password_limit\": \"20\",\n \"Block_Incoming_Calls\": \"0\",\n \"Country\": \"Greece\",\n \"Forwarding_Service\": \"0\",\n \"Hide_CLI\": \"0\",\n \"MaxCallsPerSecond\": \"1\",\n \"MaxSessionTime\": \"3600\",\n \"MaxSessions\": \"5\",\n \"Max_Incoming_Sessions\": \"5\",\n \"Max_Outgoing_Sessions\": \"5\",\n \"Region\": \"Europe\",\n \"SipPassword\": \"|!xB8H7]}ych&XMY\",\n \"SipUserName\": \"+30xxxxxxxxx\",\n \"User-Agent\": \"snomD120/10.1.33.33\",\n \"User-Agent-IP\": \"1.1.1.1\",\n \"Voicemail_Service\": \"0\"\n },\n \"MaxRate\": 0,\n \"MaxRateUnit\": 0,\n \"MaxCostSoFar\": 0,\n \"CgrID\": \"3a6bb7df0f9c31959b447c865dc3d9ea74b559d8\",\n \"RunID\": \"*default\",\n \"ForceDuration\": false,\n \"PerformRounding\": false,\n \"DryRun\": false,\n \"DenyNegativeAccount\": false\n }\n ],\n \"id\": 265\n}" + "raw": "{\n \"method\": \"Responder.GetMaxSessionTime\",\n \"params\": [\n {\n \"Category\": \"call\",\n \"Tenant\": \"cgrates.org\",\n \"Subject\": \"+30xxxxxxxxx\",\n \"Account\": \"+30xxxxxxxxx\",\n \"Destination\": \"+30xxxxxxxxxx\",\n \"TimeStart\": \"2019-06-21T07:31:52Z\",\n \"TimeEnd\": \"2019-06-21T10:31:52Z\",\n \"LoopIndex\": 0,\n \"DurationIndex\": 0,\n \"FallbackSubject\": \"\",\n \"RatingInfos\": null,\n \"Increments\": null,\n \"ToR\": \"\",\n \"ExtraFields\": {\n \"Authorize_no_such_user_limit\": \"20\",\n \"Authorize_wrong_password_limit\": \"20\",\n \"Block_Incoming_Calls\": \"0\",\n \"Country\": \"Greece\",\n \"Forwarding_Service\": \"0\",\n \"Hide_CLI\": \"0\",\n \"MaxCallsPerSecond\": \"1\",\n \"MaxSessionTime\": \"3600\",\n \"MaxSessions\": \"5\",\n \"Max_Incoming_Sessions\": \"5\",\n \"Max_Outgoing_Sessions\": \"5\",\n \"Region\": \"Europe\",\n \"SipPassword\": \"|!xB8H7]}ych&XMY\",\n \"SipUserName\": \"+30xxxxxxxxx\",\n \"User-Agent\": \"snomD120/10.1.33.33\",\n \"User-Agent-IP\": \"1.1.1.1\",\n \"Voicemail_Service\": \"0\"\n },\n \"MaxRate\": 0,\n \"MaxRateUnit\": 0,\n \"MaxCostSoFar\": 0,\n \"CgrID\": \"3a6bb7df0f9c31959b447c865dc3d9ea74b559d8\",\n \"RunID\": \"*default\",\n \"ForceDuration\": false,\n \"PerformRounding\": false,\n \"DryRun\": false,\n \"DenyNegativeAccount\": false\n }\n ],\n \"id\": 265\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -6010,7 +5940,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"Responder.GetMaxSessionTime\",\n \"params\": [\n {\n \"Category\": \"call-in\",\n \"Tenant\": \"cgrates.org\",\n \"Subject\": \"SUPPLIER1\",\n \"Account\": \"+30xxxxxxxxxx\",\n \"Destination\": \"+30xxxxxxxxx\",\n \"TimeStart\": \"2019-06-30T18:27:11+03:00\",\n \"TimeEnd\": \"2019-06-30T21:27:11+03:00\",\n \"LoopIndex\": 0,\n \"DurationIndex\": 0,\n \"FallbackSubject\": \"\",\n \"RatingInfos\": null,\n \"Increments\": null,\n \"ToR\": \"\",\n \"ExtraFields\": {},\n \"MaxRate\": 0,\n \"MaxRateUnit\": 0,\n \"MaxCostSoFar\": 0,\n \"CgrID\": \"d7e66dd7f099ea311ee267ebaf30bb225f258106\",\n \"RunID\": \"SupplierCharges\",\n \"ForceDuration\": false,\n \"PerformRounding\": false,\n \"DryRun\": false,\n \"DenyNegativeAccount\": false\n }\n ],\n \"id\": 663\n}" + "raw": "{\n \"method\": \"Responder.GetMaxSessionTime\",\n \"params\": [\n {\n \"Category\": \"call-in\",\n \"Tenant\": \"cgrates.org\",\n \"Subject\": \"SUPPLIER1\",\n \"Account\": \"+30xxxxxxxxxx\",\n \"Destination\": \"+30xxxxxxxxx\",\n \"TimeStart\": \"2019-06-30T18:27:11+03:00\",\n \"TimeEnd\": \"2019-06-30T21:27:11+03:00\",\n \"LoopIndex\": 0,\n \"DurationIndex\": 0,\n \"FallbackSubject\": \"\",\n \"RatingInfos\": null,\n \"Increments\": null,\n \"ToR\": \"\",\n \"ExtraFields\": {},\n \"MaxRate\": 0,\n \"MaxRateUnit\": 0,\n \"MaxCostSoFar\": 0,\n \"CgrID\": \"d7e66dd7f099ea311ee267ebaf30bb225f258106\",\n \"RunID\": \"SupplierCharges\",\n \"ForceDuration\": false,\n \"PerformRounding\": false,\n \"DryRun\": false,\n \"DenyNegativeAccount\": false\n }\n ],\n \"id\": 663\n}" }, "url": { "raw": "{{base_url}}/jsonrpc", @@ -6039,7 +5969,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"method\": \"Responder.GetMaxSessionTime\",\n \"params\": [\n {\n \"Category\": \"call-out\",\n \"Tenant\": \"cgrates.org\",\n \"Subject\": \"INTERNAL-OUT\",\n \"Account\": \"+30xxxxxxxxx\",\n \"Destination\": \"+30xxxxxxxxxx\",\n \"TimeStart\": \"2019-07-04T16:39:12+03:00\",\n \"TimeEnd\": \"2019-07-04T19:39:12+03:00\",\n \"LoopIndex\": 0,\n \"DurationIndex\": 0,\n \"FallbackSubject\": \"\",\n \"RatingInfos\": null,\n \"Increments\": null,\n \"ToR\": \"\",\n \"ExtraFields\": {\n \"Authorize_no_such_user_limit\": \"20\",\n \"Authorize_wrong_password_limit\": \"20\",\n \"Block_Incoming_Calls\": \"0\",\n \"Country\": \"Greece\",\n \"Forwarding_Service\": \"0\",\n \"Hide_CLI\": \"0\",\n \"MaxCallsPerSecond\": \"1\",\n \"MaxSessionTime\": \"3600\",\n \"MaxSessions\": \"1\",\n \"Max_Incoming_Sessions\": \"1\",\n \"Max_Outgoing_Sessions\": \"1\",\n \"Region\": \"Europe\",\n \"ResourceAllocation\": \"ResGroup1\",\n \"SipPassword\": \"Xu4fUxO