Files
cgrates/data/postman/Voiceland/CGRates.postman_collection_v2.1.json
2021-05-18 15:01:27 +02:00

7300 lines
270 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"info": {
"_postman_id": "6c14f6e6-1cee-4721-8117-787d4b75d298",
"name": "CGRates",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Offline TP (Tariff Plan)",
"item": [
{
"name": "APIerSv1.GetTPIds",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.GetTPIds\",\n \"params\": []\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "LoadTariffPlanFromStorDb --> OnlineDB",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.LoadTariffPlanFromStorDb\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"id": "ca5a193b-eb51-4062-9136-f817a36bcfed",
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "0555884a-5b75-42cd-ab61-fda1154101ae",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"protocolProfileBehavior": {}
},
{
"name": "Cache",
"item": [
{
"name": "CacheSv1.GetCacheStats",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"CacheSv1.GetCacheStats\",\n \"params\": [],\n \"id\": 1\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "CacheSv1.GetItemIDs",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "CacheSv1.HasItem",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "CacheSv1.GetItemExpiryTime",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "CacheSv1.RemoveItem",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "CacheSv1.PrecacheStatus",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"CacheSv1.PrecacheStatus\",\n \"params\": [\n {}\n ],\n \"id\": 11\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "CacheSv1.HasGroup",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "CacheSv1.FlushCache",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "CacheSv1.FlushCache USER Attribute",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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\": [\n \"+30xxxxxxxxxx\"\n ],\n \"ChargerProfileIDs\": null,\n \"FlushAll\": false\n }\n ],\n \"id\": 3\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "CacheSv1.ReloadCache",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Attributes",
"item": [
{
"name": "AttributeSv1.ProcessEvent",
"item": [
{
"name": "AttributeSv1.ProcessEvent",
"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 \"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "AttributeSv1.ProcessEvent 1",
"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 \"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "AttributeSv1.ProcessEvent 2",
"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 \"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "AttributeSv1.ProcessEvent 4",
"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 \"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",
"protocol": "http",
"host": [
"sip1",
"de",
"cgrates",
"org"
],
"port": "2080",
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "APIerSv1.SetAttributeProfile +30xxxxxxxxx",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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:~*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",
"protocol": "http",
"host": [
"cgrates1",
"cgrates",
"org"
],
"port": "2080",
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetAttributeProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveAttributeProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetAttributeProfileIDs",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetAttributeProfile ATTR_SPL_TESTSUPPLIER1_In",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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 \"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetAttributeProfile ATTR_SPL_TESTSUPPLIER1_Out",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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 \"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetAttributeProfile ATTR_CATEGORY_CALL_IN",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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 \"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetAttributeProfile ATTR_CATEGORY_CALL_OUT",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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 \"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "ActionPlan",
"item": [
{
"name": "TpActionsPlans",
"item": [
{
"name": "APIerSv1. GetTPActionPlanIds",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.GetTPActionPlanIds\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetTPActionPlan",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetTPActionPlan\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"always\",\n \"ActionPlan\": [\n {\n \"ActionsId\": \"fafsafa\",\n \"Weight\": 10\n }\n ]\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1. GetTPActionPlan",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.GetTPActionPlan\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"always\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1. RemoveTPActionPlan",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.RemoveTPActionPlan\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\",\n \"ID\": \"always\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "APIerSv1.GetAccountActionPlan",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.GetAccountActionPlan\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxxx\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetActionPlan",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.GetActionPlan\",\n \"params\": [\n {\n \"Id\": \"AP_PACKAGE_10\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetActionPlanIDs",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.GetActionPlanIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Limit\": null,\n \"Offset\": null\n }\n ],\n \"id\": 10\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Accounts",
"item": [
{
"name": "APIerSv2.GetAccounts",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv2.GetAccounts\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv2.SetAccount",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv2.GetAccount",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv2.GetAccount\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxx\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveAccount",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetAccount",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetAccount",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.GetAccount\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxx\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetAccountActionPlan",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.GetAccountActionPlan\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxxx\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Balances",
"item": [
{
"name": "Sessions",
"item": [
{
"name": "Responder.Debit",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"Responder.Debit\",\n \"params\": [{\n \"Direction\": \"*out\",\n \"Category\": \"\",\n \"Tenant\": \"cgrates.org\",\n \"Subject\": \"\",\n \"Account\": \"+30xxxxxxxxxx\",\n \"Destination\": \"\",\n \"TimeStart\": \"0001-01-01T00:00:00Z\",\n \"TimeEnd\": \"0001-01-01T00:00:00Z\",\n \"LoopIndex\": 0,\n \"DurationIndex\": 0,\n \"FallbackSubject\": \"\",\n \"RatingInfos\": null,\n \"Increments\": null,\n \"ToR\": \"\",\n \"ExtraFields\": null,\n \"MaxRate\": 0,\n \"MaxRateUnit\": 0,\n \"MaxCostSoFar\": 0,\n \"CgrID\": \"\",\n \"RunID\": \"\",\n \"ForceDuration\": false,\n \"PerformRounding\": false,\n \"DryRun\": false,\n \"DenyNegativeAccount\": false\n }],\n \"id\": 16\n}\n"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "Responder.MaxDebit",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"Responder.MaxDebit\",\n \"params\": [\n {\n \"Category\": \"call\",\n \"Tenant\": \"cgrates.org\",\n \"Subject\": \"+30xxxxxxxxx\",\n \"Account\": \"+30xxxxxxxxx\",\n \"Destination\": \"+30xxxxxxxxxx\",\n \"TimeStart\": \"2019-06-20T14:08:42Z\",\n \"TimeEnd\": \"2019-06-20T14:08:52Z\",\n \"LoopIndex\": 0,\n \"DurationIndex\": 10000000000,\n \"FallbackSubject\": \"\",\n \"RatingInfos\": null,\n \"Increments\": null,\n \"ToR\": \"\",\n \"ExtraFields\": null,\n \"MaxRate\": 0,\n \"MaxRateUnit\": 0,\n \"MaxCostSoFar\": 0,\n \"CgrID\": \"f10b93ecdb35da33e539cc5274ff4c228d25617c\",\n \"RunID\": \"*default\",\n \"ForceDuration\": false,\n \"PerformRounding\": false,\n \"DryRun\": false,\n \"DenyNegativeAccount\": false\n }\n ],\n \"id\": 220\n}\n"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "Responder.GetMaxSessionTime",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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-20T14:36:32Z\",\n \"TimeEnd\": \"2019-06-20T17:36:32Z\",\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\": \"b6a38f4df90c810cfd86445a490994e1357c7d9c\",\n \"RunID\": \"*default\",\n \"ForceDuration\": false,\n \"PerformRounding\": false,\n \"DryRun\": false,\n \"DenyNegativeAccount\": false\n }\n ],\n \"id\": 235\n}\n"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "ResourceSv1.AuthorizeResources",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"ResourceSv1.AuthorizeResources\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"114a0d61-fbe8-41dc-a6f2-8f0c081c0c58\",\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\": \"b6a38f4df90c810cfd86445a490994e1357c7d9c\",\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 \"OriginID\": \"313536313034313339303536343939-j1rxhvkxpv7i_user_183964\",\n \"Region\": \"Europe\",\n \"RequestType\": \"*prepaid\",\n \"SetupTime\": \"1561041392\",\n \"SipPassword\": \"|!xB8H7]}ych&XMY\",\n \"SipUserName\": \"+30xxxxxxxxx\",\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\": \"313536313034313339303536343939-j1rxhvkxpv7i_user_183964\",\n \"UsageTTL\": null,\n \"Units\": 1\n }\n ],\n \"id\": 3\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "APIerSv2.GetAccount (Get Account Balances)",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv2.GetAccount\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxx\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.AddBalance *monetary",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"method\": \"APIerSv1.AddBalance\",\r\n \"params\": [{\r\n \"Tenant\": \"cgrates.org\",\r\n \"Account\": \"test\",\r\n \"BalanceType\": \"*monetary\",\r\n \"BalanceUUID\": \"883a8cb2-659b-4353-a939-7d90565e3332\",\r\n \"BalanceID\": \"WALLET100\",\r\n \"Directions\": null,\r\n \"Value\": 100,\r\n \"ExpiryTime\": \"*unlimited\",\r\n \"RatingSubject\": null,\r\n \"Categories\": null,\r\n \"Weight\": 10,\r\n \"SharedGroups\": null,\r\n \"Overwrite\": true,\r\n \"Blocker\": false,\r\n \"Disabled\": false,\r\n \"Cdrlog\" : true\r\n }\r\n \r\n ],\r\n \"id\": 6\r\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.AddBalance *voice ONLY",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"method\": \"APIerSv1.AddBalance\",\r\n \"params\": [{\r\n \"Tenant\": \"cgrates.org\",\r\n \"Account\": \"+30xxxxxxxxx\",\r\n \"BalanceType\": \"*voice1\",\r\n \"BalanceUUID\": \"883a8cb2-659b-4353-a939-7d90565e3331\",\r\n \"BalanceID\": \"BalanceID1\",\r\n \"Directions\": null,\r\n \"Value\": 100,\r\n \"ExpiryTime\": \"*unlimited\",\r\n \"RatingSubject\": null,\r\n \"Categories\": null,\r\n \"Weight\": 10,\r\n \"SharedGroups\": null,\r\n \"Overwrite\": true,\r\n \"Blocker\": false,\r\n \"Disabled\": false,\r\n \"Cdrlog\" : true\r\n }\r\n \r\n ],\r\n \"id\": 6\r\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.AddBalance both test Copy",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"method\": \"APIerSv1.AddBalance\",\r\n \"params\": [\r\n \t {\r\n \"Tenant\": \"cgrates.org\",\r\n \"Account\": \"+30xxxxxxxxx\",\r\n \"BalanceType\": \"*voice\",\r\n \"BalanceUUID\": \"e11ae605-9ca1-402d-930c-581893e54f33\",\r\n \"BalanceID\": null,\r\n \"Directions\": \"*out\",\r\n \"Value\": 30000000000000,\r\n \"ExpiryTime\": \"*unlimited\",\r\n \"RatingSubject\": null,\r\n \"Categories\": null,\r\n \"Weight\": 20,\r\n \"SharedGroups\": null,\r\n \"Overwrite\": true,\r\n \"Blocker\": false,\r\n \"Disabled\": false,\r\n \"Cdrlog\" : true\r\n }\r\n ],\r\n \"id\": 6\r\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetBalance *Monetary",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"method\": \"APIerSv1.SetBalance\",\r\n \"params\": [{\r\n \"Tenant\": \"cgrates.org\",\r\n \"Account\": \"+30xxxxxxxxx\",\r\n \"BalanceType\": \"*monetary\",\r\n \"BalanceUUID\": null,\r\n \"BalanceID\": \"balance1\",\r\n \"Directions\": null,\r\n \"Value\": 100,\r\n \"ExpiryTime\": null,\r\n \"RatingSubject\": null,\r\n \"Categories\": null,\r\n \"Weight\": null,\r\n \"SharedGroups\": null,\r\n \"Blocker\": null,\r\n \"Disabled\": null\r\n }],\r\n \"id\": 6\r\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetBalance *Voice",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"method\": \"APIerSv1.SetBalance\",\r\n \"params\": [{\r\n \"Tenant\": \"cgrates.org\",\r\n \"Account\": \"+30xxxxxxxxx\",\r\n \"BalanceType\": \"*voice\",\r\n \"BalanceUUID\": \"5a2fb811-1694-46bf-8066-6065a849ecf8\",\r\n \"BalanceID\": \"\",\r\n \"Directions\": \"*out\",\r\n \"Value\": 1000000,\r\n \"ExpiryTime\": null,\r\n \"RatingSubject\": null,\r\n \"Categories\": null,\r\n \"Weight\": 10,\r\n \"SharedGroups\": null,\r\n \"Blocker\": null,\r\n \"Disabled\": null\r\n }],\r\n \"id\": 6\r\n}\r\n\r\n\r\n\r\n\r\n\r\n\r\n "
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.DebitBalance",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.DebitBalance\",\n \"params\": [{\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxx\",\n \"BalanceUuid\": \"e9c0a7f4-8904-481d-8b2d-a08d9a2b311c\",\n \"BalanceId\": \"23456\",\n \"BalanceType\": \"*monetary\",\n \"Directions\": null,\n \"Value\": 8,\n \"ExpiryTime\": null,\n \"RatingSubject\": null,\n \"Categories\": null,\n \"Weight\": null,\n \"SharedGroups\": null,\n \"Overwrite\": false,\n \"Blocker\": null,\n \"Disabled\": null,\n \"Cdrlog\": null,\n \t\"ExtraData\": null\n \t\t\n }],\n \"id\": 5\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetBalance *Voice Incoming Calls",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetBalance\",\n \"params\": [{\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxxx\",\n \"BalanceType\": \"*voice\",\n \"BalanceUUID\": null,\n \"BalanceID\": \"9d867c57-31b4-407d-afc7-fb4dc359ae4\",\n \"Directions\": \"*out\",\n \"Value\": 600,\n \"ExpiryTime\": null,\n \"RatingSubject\": null,\n \"Categories\": null,\n \"Weight\": null,\n \"SharedGroups\": null,\n \"Blocker\": null,\n \"Disabled\": null\n }],\n \"id\": 28\n}\n"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveBalances *monetary",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"method\": \"APIerSv1.RemoveBalances\",\r\n \"params\": [{\r\n \"Tenant\": \"cgrates.org\",\r\n \"Account\": \"test\",\r\n \"BalanceType\": \"*monetary\",\r\n \"BalanceUUID\": \"914e1dc3-2e44-458d-9fb6-6365bdd9da3d\",\r\n \"BalanceID\": \"WALLET100\",\r\n \"Directions\": null,\r\n \"Value\": 100,\r\n \"ExpiryTime\": \"*unlimited\",\r\n \"RatingSubject\": null,\r\n \"Categories\": null,\r\n \"Weight\": 10,\r\n \"SharedGroups\": null,\r\n \"Blocker\": false,\r\n \"Disabled\": false\r\n }],\r\n \"id\": 6\r\n}\r\n\r\n"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveBalances *voice",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"method\": \"APIerSv1.RemoveBalances\",\r\n \"params\": [{\r\n \"Tenant\": \"cgrates.org\",\r\n \"Account\": \"+30xxxxxxxxx\",\r\n \"BalanceType\": \"*voice\",\r\n \"BalanceUUID\": null,\r\n \"BalanceID\": null,\r\n \"Directions\": null,\r\n \"Value\": null,\r\n \"ExpiryTime\": null,\r\n \"RatingSubject\": null,\r\n \"Categories\": null,\r\n \"Weight\": null,\r\n \"SharedGroups\": null,\r\n \"Blocker\": null,\r\n \"Disabled\": null\r\n }],\r\n \"id\": 6\r\n}\r\n\r\n"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "CDRs",
"item": [
{
"name": "APIerSv2.GetCdrs",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv2.GetCdrs ALL From Tenant",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv2.GetCdrs - SPL_TEST_SUPPLIER_NAME getALL",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv2.GetCdrs - CustomerCharges getALL",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv2.GetCdrs - CustomerCharges",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv2.GetCdrs - CustomerCharges INBOUND - INTERNAL-IN",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv2.GetCdrs - SupplierCharges getALL",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv2.GetCdrs - SupplierCharges INBOUND - INTERNAL-IN",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetCdrs",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetCdrs Copy",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveCDRs",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveCDRs ALL From Tenant",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv2.CountCDRs",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Destinations",
"item": [
{
"name": "TP Destination",
"item": [
{
"name": "APIerSv2.SetTPDestination",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"protocol": "http",
"host": [
"cgrates1",
"cgrates",
"org"
],
"port": "2080",
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetTPDestination",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.SetTPDestination\",\n \"params\": [\n {\n \t\"TPid\": \"CGR_API_TESTS1\",\n \t\"ID\":\"90\",\n \"DestinationId\": \"FS_USERS1\",\n \"Prefixes\": [\n \"10\",\"200\"\n ],\n \n }\n ]\n}"
},
"url": {
"raw": "http://sip1.de.cgrates.org:2080/jsonrpc",
"protocol": "http",
"host": [
"sip1",
"de",
"cgrates",
"org"
],
"port": "2080",
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetTPDestination",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveTPDestination",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetTPDestinationIDs",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.GetTPDestinationIDs\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv2.RemoveTPDestination",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"protocol": "http",
"host": [
"cgrates1",
"cgrates",
"org"
],
"port": "2080",
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "TP DestinationRates (NEW)",
"item": [
{
"name": "APIerSv1.SetTPDestinationRate with RateSlots",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetTPDestinationRate with RateSlots Copy",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetTPDestinationRate",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveTPDestinationRate",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetTPDestinationRate",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetTPDestinationRateIds",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"id": "ca5a193b-eb51-4062-9136-f817a36bcfed",
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "0555884a-5b75-42cd-ab61-fda1154101ae",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "TP Rate (NEW)",
"item": [
{
"name": "APIerSv1.SetTPRate",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetTPRate",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"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}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetTPRateIds",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 1,\n \"method\": \"APIerSv1.GetTPRateIds\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveTPRate",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "APIerSv1.SetDestination",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetDestination",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.GetDestination\",\n \"params\": [\n \"FS_USERS3\"\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv2.GetDestination V2",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 6,\n \"method\": \"APIerSv2.GetDestination\",\n \"params\": {\n \"DestinationIDs\": \"GR_LANDLINE\"\n }\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv2.GetDestinations (getALL)",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 6,\n \"method\": \"APIerSv2.GetDestinations\",\n \"params\": [\n {\n \"DestinationIDs\": []\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv2.GetDestinations (certain destinations)",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveDestination",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.RemoveDestination\",\n \"params\": [\n {\n \"DestinationIDs\": [\n \"test\"\n ]\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetReverseDestination",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.GetReverseDestination\",\n \"params\": [\n \"10\"\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv2.SetAccount",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "RatingPlan",
"item": [
{
"name": "TP RatingPlan",
"item": [
{
"name": "APIerSv1.SetTPRatingPlan",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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 \"Weight\": 10\n }\n ]\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetTPRatingPlan",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetTPRatingPlanIds",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 3,\n \"method\": \"APIerSv1.GetTPRatingPlanIds\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveTPRatingPlan",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "APIerSv1.LoadRatingPlan",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetRatingPlan",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "RatingProfile",
"item": [
{
"name": "TP Rating Profile",
"item": [
{
"name": "APIerSv1.SetTPRatingProfile",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"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 {\n \"ActivationTime\": \"test\",\n \"RatingPlanId\": \"test\",\n \"FallbackSubjects\": \"test\"\n }\n ]\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetTPRatingProfile",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetTPRatingProfileIds",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 1,\n \"method\": \"APIerSv1.GetTPRatingProfileIds\",\n \"params\": [\n {\n \"TPid\": \"CGR_API_TESTS\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetTPRatingProfileLoadIds",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"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}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetTPRatingProfilesByLoadId",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveTPRatingProfile",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.RemoveTPRatingProfile\",\n \"params\": [\n {\n \"RatingProfileId\": \"test\",\n \"TPid\": \"test\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "APIerSv1.GetRatingProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetRatingProfileIDs",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.GetRatingProfileIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveRatingProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetRatingProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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 {\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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetRatingProfile - +30xxxxxxxxx",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetRatingProfile - +30xxxxxxxxx",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"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 {\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"
}
}
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.LoadRatingProfile from TP",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Filters",
"item": [
{
"name": "APIerSv1.SetFilter",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetFilter 1",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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 \"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetFilter *destinations",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetFilter Example 1 - Filter Destinations",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetFilter Example 2 - Filter Account",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetFilter Example 3 - BalanceUpdate > 10",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetFilter Example 4 - FLTR_INTERNAL",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetFilter CHARGER_FLTR_INTERNAL_CALLS_ONLY",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetFilter FLTR_SPL_VL_INTERNAL_IN",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetFilter FLTR_SPL_VL_INTERNAL_OUT",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetFilter with ActivationInterval (Account)",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetFilter without ActivationInterval",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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\"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetFilter",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveFilter",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetFilterIDs",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.GetFilterIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n }\n ],\n \"id\": 12\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "ResourceProfile",
"item": [
{
"name": "APIerSv1.SetResourceProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetResourceProfile without ActivationInterval",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetResourceProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.GetResourceProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ResGroup1\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveResourceProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.GetResourceProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ResGroup1\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetResourceProfileIDs",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.GetResourceProfileIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Resource",
"item": [
{
"name": "ResourceSv1",
"item": [
{
"name": "ResourceSv1.GetResource",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"ResourceSv1.GetResource\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ResGroup1\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "ResourceSv1.AuthorizeResources",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "ResourceSv1.AllocateResources",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "APIerSv1.SetResourceProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetResourceProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ResGroup1\",\n \"FilterIDs\": [\n \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 \t\"*none\"\n \t]\n }\n ]\n}\n"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetResourceProfile 1",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetResourceProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ResGroup1\",\n \"FilterIDs\": [\n \"FLTR_ACNT_+30xxxxxxxxx\",\n \"FLTR_ACNT_+30xxxxxxxxxx\"\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 \t\"*none\"\n \t]\n }\n ]\n}\n"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetResourceProfileIDs",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.GetResourceProfileIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n\n }\n ]\n}\n\n\n"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetResourceProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveResourceProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.RemoveResourceProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"ResGroup2\"\n\n }\n ]\n}\n\n\n"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Stats",
"item": [
{
"name": "APIerSv1.SetStatQueueProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetStatQueueProfile Stats3",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetStatQueueProfile Stats3 1",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetStatQueueProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.GetStatQueueProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"id\": \"Stats3\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "StatSv1.GetQueueStringMetrics 1",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"StatSv1.GetQueueStringMetrics\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"id\": \"Stats2\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "StatSv1.GetQueueStringMetrics 2",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"StatSv1.GetQueueStringMetrics\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"id\": \"STATS_+30xxxxxxxxxx\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveStatQueueProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.RemoveStatQueueProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"id\": \"Stats3\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetStatQueueProfileIDs",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.GetStatQueueProfileIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "StatSv1.ProcessEvent",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Suppliers",
"item": [
{
"name": "TP Suppliers",
"item": [
{
"name": "APIerSv1.SetTPSupplierProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetTPSupplierProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetTPSupplierProfileIDs",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveTPSupplierProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "APIerSv1.SetSupplierProfile *weight",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetSupplierProfile least cost",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetSupplierProfile high cost",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetSupplierProfile *weight SPL_GR_WEIGHT_1",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetSupplierProfile SPL_TESTSUPPLIER1_GR",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetSupplierProfile *weight SPL_VL_INTERNAL",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetSupplierProfile *qos",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetSupplierProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetSupplierProfile SPL_VL_INTERNAL",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveSupplierProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetSupplierProfileIDs",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.GetSupplierProfileIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n }\n ],\n \"id\": 12\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "SupplierSv1.GetSuppliers",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"SupplierSv1.GetSuppliers\",\n \"params\": [\n {\n \"IgnoreErrors\": false,\n \"MaxCost\": \"\",\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"187e5f2c-6cd4-4796-a435-9ac37399b9b5\",\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\": \"5401e8710ac20f53b04d176766a6aaf05a6832ac\",\n \"Category\": \"call-out\",\n \"Country\": \"Greece\",\n \"Destination\": \"+30xxxxxxxxxx\",\n \"Forwarding_Service\": \"0\",\n \"Hide_CLI\": \"0\",\n \"ID\": \"CHECK_USER_BALANCE_OUT\",\n \"MaxCallsPerSecond\": \"1\",\n \"MaxSessionTime\": \"3600\",\n \"MaxSessions\": \"1\",\n \"Max_Incoming_Sessions\": \"1\",\n \"Max_Outgoing_Sessions\": \"1\",\n \"OriginHost\": \"10.156.0.13\",\n \"OriginID\": \"Customer_3135363430353432393438313132-2imxdoamy79xcgrates.org210096\",\n \"Region\": \"Europe\",\n \"RequestType\": \"*prepaid\",\n \"ResourceAllocation\": \"ResGroup1\",\n \"SetupTime\": \"1564054295\",\n \"SipPassword\": \"Xu4fUxO<O570SU&O\",\n \"SipUserName\": \"+30xxxxxxxxx\",\n \"Source\": \"OpenSIPS-01\",\n \"Subject\": \"INTERNAL-OUT\",\n \"Usage\": 10800000000000,\n \"User-Agent\": \"snomD120/10.1.33.33\",\n \"User-Agent-IP\": \"84.254.47.110\",\n \"Voicemail_Service\": \"0\"\n },\n \"Limit\": null,\n \"Offset\": null\n }\n ],\n \"id\": 80\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "SupplierSv1.GetSuppliers - INTERNAL-IN",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Actions",
"item": [
{
"name": "APIerSv2.GetActions",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv2.GetActions\",\n \"params\": [\n {\n \"ActionIDs\": [\n \"ACT_TOPUP_RST_10\"\n ]\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv2.GetActions All",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv2.GetActions\",\n \"params\": [\n {\n \"Offset\": 0,\n \"Limit\": 0\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveActions",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetActions",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetActions\",\n \"params\": [\n {\n \"Actions\": [\n {\n \"Filter\": \"\",\n \"ExtraParameters\": \"\",\n \"BalanceWeight\": 10,\n \"BalanceType\": \"*monetary\",\n \"SharedGroups\": \"\",\n \"Categories\": \"\",\n \"Directions\": \"*out\",\n \"BalanceBlocker\": \"false\",\n \"BalanceId\": \"balance1\",\n \"ExpiryTime\": \"*unlimited\",\n \"RatingSubject\": \"\",\n \"Identifier\": \"*topup_reset\",\n \"DestinationIds\": \"*any\",\n \"Weight\": 10,\n \"BalanceDisabled\": \"false\",\n \"Units\": 100,\n \"BalanceUuid\": \"e0669a66-86c2-42ea-bcb9-ae072e447d97\"\n }\n ],\n \"Overwrite\": true,\n \"ActionsId\": \"ACT_TOPUP_RST_10\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetActions",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetActions\",\n \"params\": [\n {\n \"Actions\": [\n {\n \"Filter\": null,\n \"ExtraParameters\": null,\n \"BalanceWeight\": null,\n \"BalanceType\": null,\n \"SharedGroups\": null,\n \"Categories\": null,\n \"Directions\": null,\n \"BalanceBlocker\": \"false\",\n \"BalanceId\": null,\n \"ExpiryTime\": null,\n \"RatingSubject\": null,\n \"Identifier\": \"*log\",\n \"DestinationIds\": null,\n \"Weight\": 10,\n \"BalanceDisabled\": \"false\",\n \"Units\": null,\n \"BalanceUuid\": \"\"\n }\n ],\n \"Overwrite\": true,\n \"ActionsId\": \"test1\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "ActionPlans",
"item": [
{
"name": "APIerSv1.SetActionPlan",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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 }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveActionPlan",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.RemoveActionPlan\",\n \"params\": [\n {\n \"ID\": \"ACP_10050\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetActionPlanIDs",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.GetActionPlanIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Limit\": null,\n \"Offset\": null\n }\n ],\n \"id\": 10\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Thresholds",
"item": [
{
"name": "APIerSv1.SetThresholdProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetThresholdProfile Example 1 - BalanceUpdate",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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 \"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetThresholdProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "ThresholdSv1.GetThresholdIDs",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"ThresholdSv1.GetThresholdIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "ThresholdSv1.GetThreshold",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "ThresholdSv1.ProcessEvent",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "ThresholdSv1.ProcessEvent 1",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Chargers",
"item": [
{
"name": "APIerSv1.GetChargerProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetChargerProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetChargerProfile Set CustomerCharges",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetChargerProfile Set SPL_TESTSUPPLIER1_In",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.SetChargerProfile Set SPL_TESTSUPPLIER1_Out",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"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"
}
}
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.RemoveChargerProfile",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.RemoveChargerProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"CustomerCharges\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetChargerProfileIDs",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.GetChargerProfileIDs\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "ChargerSv1.ProcessEvent",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "RaLs",
"item": [
{
"name": "RALsV1.Ping",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"RALsV1.Ping\",\n \"params\": [\n {}\n ],\n \"id\": 0\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "RalSv1.GetRatingPlansCost",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Responder",
"item": [
{
"name": "Responder.GetMaxSessionTime",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "Responder.GetMaxSessionTime SUPPLIER",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "Responder.GetMaxSessionTime SUPPLIER Copy",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"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<O570SU&O\",\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\": \"9dfec24005590063061d718c5aa62e6ff3e5cf99\",\n \"RunID\": \"CustomerCharges\",\n \"ForceDuration\": false,\n \"PerformRounding\": false,\n \"DryRun\": false,\n \"DenyNegativeAccount\": false\n }\n ],\n \"id\": 1762\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "SessionSv1",
"item": [
{
"name": "SessionSv1.InitiateSession",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"SessionSv1.InitiateSession\",\n \"id\": 1347911668,\n \"params\": [\n {\n \"Destination\": \"+30xxxxxxxxx\",\n \"OriginID\": \"3135363036393733313235303032-5abh7nqr8g76_user_901996\",\n \"Account\": \"+30xxxxxxxxxx\",\n \"GetMaxUsage\": true,\n \"ProcessStatQueues\": true,\n \"ProcessThresholds\": true,\n \"GetAttributes\": true,\n \"Tenant\": \"cgrates.org\",\n \"Event\": {\n \"User-Agent-IP\": \"1.1.1.1\",\n \"User-Agent\": \"snomD120/10.1.33.33\",\n \"Category\": \"call\",\n \"Account\": \"+30xxxxxxxxxx\",\n \"OriginID\": \"3135363036393733313235303032-5abh7nqr8g76\",\n \"DialogID\": 1276887847,\n \"DialogEntry\": 504,\n \"SetupTime\": \"1560697313\",\n \"AnswerTime\": \"1560697319\",\n \"Destination\": \"302107001397\"\n },\n \"InitSession\": true\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "SessionSv1.InitiateSession 1",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"SessionSv1.InitiateSession\",\n \"id\": 1653670130,\n \"params\": [\n {\n \"ProcessStatQueues\": true,\n \"ProcessThresholds\": true,\n \"ReleaseResources\": true,\n \"AllocateResources\": true,\n \"AuthorizeResources\": true,\n \"GetSuppliers\": true,\n \"GetMaxUsage\": true,\n \"GetAttributes\": true,\n \"Tenant\": \"cgrates.org\",\n \"Event\": {\n \"User-Agent-IP\": \"1.1.1.1\",\n \"User-Agent\": \"snomD120/10.1.33.33\",\n \"Source\": \"OpenSIPS-01\",\n \"OriginHost\": \"10.156.0.13\",\n \"Category\": \"call\",\n \"RequestType\": \"*prepaid\",\n \"Destination\": \"+30xxxxxxxxxx\",\n \"OriginID\": \"3135363132393336363235363937-0flj43x6877f_user_860430\",\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxx;\",\n \"DialogID\": 348904045,\n \"DialogEntry\": 1578,\n \"SetupTime\": \"1561293662\",\n \"AnswerTime\": \"1561293667\"\n },\n \"InitSession\": true\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "SessionSv1.AuthorizeEventWithDigest",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"SessionSv1.AuthorizeEventWithDigest\",\n \"id\": 48201758,\n \"params\": [\n {\n \"ProcessStatQueues\": true,\n \"ProcessThresholds\": true,\n \"ReleaseResources\": true,\n \"AllocateResources\": true,\n \"AuthorizeResources\": true,\n \"GetSuppliers\": true,\n \"GetMaxUsage\": true,\n \"GetAttributes\": true,\n \"Tenant\": \"cgrates.org\",\n \"Event\": {\n \"User-Agent-IP\": \"1.1.1.1\",\n \"User-Agent\": \"snomD120/10.1.33.33\",\n \"Source\": \"OpenSIPS-01\",\n \"OriginHost\": \"10.156.0.13\",\n \"Subject\": \"+30xxxxxxxxx\",\n \"Category\": \"call-out\",\n \"RequestType\": \"*prepaid\",\n \"Destination\": \"+30xxxxxxxxxx\",\n \"OriginID\": \"313536313930363536383530303737-d4qf0a17qaj9_user_811998\",\n \"Account\": \"+30xxxxxxxxx\",\n \"SetupTime\": \"1561906569\"\n }\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "GetCost",
"item": [
{
"name": "APIerSv1.GetCost - SUPPLIER1",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.GetCost\",\n \"params\": [\n {\n \"Direction\": \"*out\",\n \"Category\": \"call-in\",\n \"Tenant\": \"cgrates.org\",\n \"Subject\": \"INTERNAL-IN\",\n \"Destination\": \"+30xxxxxxxxxx\",\n \"AnswerTime\": \"2017-09-12T15:12:23.190554134+02:00\",\n \"Usage\": \"60s\"\n }\n ],\n \"id\": 0\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "APIerSv1.GetCost",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.GetCost\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Category\": \"call-out\",\n \"Subject\": \"INTERNAL-OUT\",\n \"Destination\": \"+30xxxxxxxxxx\",\n \"AnswerTime\": \"2018-09-12T15:12:23.190554134+02:00\",\n \"Usage\": \"60s\"\n }\n ],\n \"id\": 0\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {}
},
{
"name": "Procedures",
"item": [
{
"name": "1 - Packages",
"item": [
{
"name": "Generic Examples",
"item": [
{
"name": "Add 500 Minutes GR_LANDLINE to Account - No Expiration",
"item": [
{
"name": "1. APIerSv1.SetDestination GR_LANDLINE",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.SetDestination\",\n \"params\": [\n {\n \"Id\": \"GR_LANDLINE\",\n \"Prefixes\": [\n \"+302\"\n ],\n \"Overwrite\": true\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "2. APIerSv1.SetAction *voice ONLY",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetActions\",\n \"params\": [\n {\n \"Actions\": [\n {\n \"Identifier\": \"*topup_reset\",\n \"BalanceId\": \"500MINUTES\",\n \"BalanceUuid\": \"71e73e45-a471-4059-b738-7f66adc72\",\n \"BalanceType\": \"*voice\",\n \"Directions\": null,\n \"Units\": 30000000000000,\n \"ExpiryTime\": \"*unlimited\",\n \"Filter\": null,\n \"RatingSubject\": null,\n \"Categories\": null,\n \"SharedGroups\": null,\n \"BalanceWeight\": 30,\n \"ExtraParameters\": null,\n \"BalanceBlocker\": \"false\",\n \"BalanceDisabled\": \"false\",\n \"Weight\": 10\n }\n ],\n \"Overwrite\": true,\n \"ActionsId\": \"TOPUP_PKG_500_GR\"\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "2. APIerSv1.SetActionPlan",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetActionPlan\",\n \"params\": [\n {\n \"Id\": \"ACP_+30xxxxxxxxx_TOPUP_PKG_500_GR\",\n \"ReloadScheduler\": true,\n \"Overwrite\": true,\n \"ActionPlan\": [\n {\n \"ActionsId\": \"TOPUP_PKG_500_GR\",\n \"MonthDays\": \"*any\",\n \"Years\": \"*any\",\n \"WeekDays\": \"*any\",\n \"Months\": \"*any\",\n \"Time\": \"*asap\",\n \"Weight\": 10\n }\n ]\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "3. APIerSv2.SetAccount",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv2.SetAccount\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxx\",\n \"ActionPlanIDs\": [\n \"ACP_+30xxxxxxxxx_TOPUP_PKG_500_GR\"\n ],\n \"ActionPlansOverwrite\": true,\n \"AllowNegative\": false,\n \"Disabled\": false,\n \"ReloadScheduler\": true\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "Add 500 FREE Minutes GR_LANDLINE - No Expiry - Per Minute",
"item": [
{
"name": "1. APIerSv1.SetAction *voice ONLY",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetActions\",\n \"params\": [\n {\n \"Actions\": [\n {\n \"Identifier\": \"*topup_reset\",\n \"BalanceId\": \"500MINUTES\",\n \"BalanceUuid\": \"71e73e45-a471-4059-b738-7f66adc72\",\n \"BalanceType\": \"*voice\",\n \"Directions\": null,\n \"Units\": 30000000000000,\n \"ExpiryTime\": \"*unlimited\",\n \"Filter\": null,\n \"RatingSubject\": \"*zero1m\",\n \"Categories\": null,\n \"SharedGroups\": null,\n \"BalanceWeight\": 30,\n \"ExtraParameters\": null,\n \"BalanceBlocker\": \"false\",\n \"BalanceDisabled\": \"false\",\n \"Weight\": 10\n }\n ],\n \"Overwrite\": true,\n \"ActionsId\": \"TOPUP_PKG_500M_GR_LANDLINE_FREE_UNLIMITED\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "2. APIerSv1.SetActionPlan",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetActionPlan\",\n \"params\": [\n {\n \"Id\": \"ACP_TOPUP_PKG_500M_GR_LANDLINE_FREE_UNLIMITED\",\n \"ReloadScheduler\": true,\n \"Overwrite\": true,\n \"ActionPlan\": [\n {\n \"ActionsId\": \"TOPUP_PKG_500M_GR_LANDLINE_FREE_UNLIMITED\",\n \"MonthDays\": \"*any\",\n \"Years\": \"*any\",\n \"WeekDays\": \"*any\",\n \"Months\": \"*any\",\n \"Time\": \"*asap\",\n \"Weight\": 10\n }\n ]\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "3. APIerSv2.SetAccount",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv2.SetAccount\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxx\",\n \"ActionPlanIDs\": [\n \"ACP_TOPUP_PKG_500M_GR_LANDLINE_FREE_UNLIMITED\"\n ],\n \"ActionPlansOverwrite\": true,\n \"AllowNegative\": false,\n \"Disabled\": false,\n \"ReloadScheduler\": true\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "Add 500 FREE Minutes GR_LANDLINE - for X Days",
"item": [
{
"name": "1. APIerSv1.SetAction *voice ONLY",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetActions\",\n \"params\": [\n {\n \"Actions\": [\n {\n \"Identifier\": \"*topup_reset\",\n \"BalanceId\": \"PKG_500M_GR_LANDLINE_FREE_30D\",\n \"BalanceUuid\": \"71e73e45-a471-4059-b738-7f66adc72\",\n \"BalanceType\": \"*voice\",\n \"Directions\": null,\n \"Units\": 30000000000000,\n \"ExpiryTime\": \"2019-07-23T13:03:38Z\",\n \"Filter\": null,\n \"RatingSubject\": null,\n \"Categories\": null,\n \"SharedGroups\": null,\n \"BalanceWeight\": 30,\n \"ExtraParameters\": null,\n \"BalanceBlocker\": \"false\",\n \"BalanceDisabled\": \"false\",\n \"Weight\": 10\n }\n ],\n \"Overwrite\": true,\n \"ActionsId\": \"TOPUP_PKG_500M_GR_LANDLINE_FREE_30D\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "2. APIerSv1.SetActionPlan",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetActionPlan\",\n \"params\": [\n {\n \"Id\": \"ACP_TOPUP_PKG_500M_GR_LANDLINE_FREE_30D\",\n \"ReloadScheduler\": true,\n \"Overwrite\": true,\n \"ActionPlan\": [\n {\n \"ActionsId\": \"TOPUP_PKG_500M_GR_LANDLINE_FREE_30D\",\n \"MonthDays\": \"*any\",\n \"Years\": \"*any\",\n \"WeekDays\": \"*any\",\n \"Months\": \"*any\",\n \"Time\": \"*asap\",\n \"Weight\": 10\n }\n ]\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "3. APIerSv2.SetAccount",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv2.SetAccount\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxx\",\n \"ActionPlanIDs\": [\n \"ACP_TOPUP_PKG_500M_GR_LANDLINE_FREE_30D\"\n ],\n \"ActionPlansOverwrite\": true,\n \"AllowNegative\": false,\n \"Disabled\": false,\n \"ReloadScheduler\": true\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "Add 500 Minutes GR ALL to Account - No Expiration",
"item": [
{
"name": "1. APIerSv1.SetDestination GR_LANDLINE + GR_MOBILE",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.SetDestination\",\n \"params\": [\n {\n \"Id\": \"GR_LANDLINE\",\n \"Prefixes\": [\n \"+302\"\n ],\n \"Overwrite\": true\n },\n {\n \"Id\": \"GR_MOBILE\",\n \"Prefixes\": [\n \"+3069\"\n ],\n \"Overwrite\": true\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "2. APIerSv1.SetAction *voice ONLY",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetActions\",\n \"params\": [\n {\n \"Actions\": [\n {\n \"Identifier\": \"*topup_reset\",\n \"BalanceId\": \"PKG_500M_GR_UNLIMITED\",\n \"BalanceUuid\": \"71e73e45-a471-4059-b738-7f66adc72\",\n \"BalanceType\": \"*voice\",\n \"Directions\": null,\n \"Units\": 30000000000000,\n \"ExpiryTime\": \"*unlimited\",\n \"Filter\": null,\n \"RatingSubject\": null,\n \"Categories\": null,\n \"SharedGroups\": null,\n \"BalanceWeight\": 30,\n \"ExtraParameters\": null,\n \"BalanceBlocker\": \"false\",\n \"BalanceDisabled\": \"false\",\n \"Weight\": 10\n }\n ],\n \"Overwrite\": true,\n \"ActionsId\": \"TOPUP_PKG_500M_GR_UNLIMITED\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "3. APIerSv1.SetActionPlan",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetActionPlan\",\n \"params\": [\n {\n \"Id\": \"ACP_TOPUP_PKG_500M_GR_UNLIMITED\",\n \"ReloadScheduler\": true,\n \"Overwrite\": true,\n \"ActionPlan\": [\n {\n \"ActionsId\": \"TOPUP_PKG_500M_GR_UNLIMITED\",\n \"MonthDays\": \"*any\",\n \"Years\": \"*any\",\n \"WeekDays\": \"*any\",\n \"Months\": \"*any\",\n \"Time\": \"*asap\",\n \"Weight\": 10\n }\n ]\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "3. APIerSv2.SetAccount",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv2.SetAccount\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"Account\": \"+30xxxxxxxxx\",\n \"ActionPlanIDs\": [\n \"ACP_TOPUP_PKG_500M_GR_UNLIMITED\"\n ],\n \"ActionPlansOverwrite\": true,\n \"AllowNegative\": false,\n \"Disabled\": false,\n \"ReloadScheduler\": true\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "Add X Voice minutes - template",
"item": [
{
"name": "1. APIerSv1.SetAction *voice ONLY",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetActions\",\n \"params\": [\n {\n \"Actions\": [\n {\n \"Identifier\": \"*topup_reset\",\n \"BalanceId\": \"500MINUTES\",\n \"BalanceUuid\": \"71e73e45-a471-4059-b738-7f66adc72\",\n \"BalanceType\": \"*voice\",\n \"Directions\": null,\n \"Units\": 30000000000000,\n \"ExpiryTime\": \"*unlimited\",\n \"Filter\": null,\n \"RatingSubject\": \"*zero1m\",\n \"Categories\": null,\n \"SharedGroups\": null,\n \"BalanceWeight\": 30,\n \"ExtraParameters\": null,\n \"BalanceBlocker\": \"false\",\n \"BalanceDisabled\": \"false\",\n \"Weight\": 10\n }\n ],\n \"Overwrite\": true,\n \"ActionsId\": \"TOPUP_PKG_1000_GR\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "1. APIerSv1.SetAction both *monetary + *voice test",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetActions\",\n \"params\": [\n {\n \"Actions\": [\n {\n \"Identifier\": \"*topup_reset\",\n \"BalanceId\": \"100EURO\",\n \"BalanceUuid\": \"71e73e45-a471-4059-b738-7f66adc71\",\n \"BalanceType\": \"*monetary\",\n \"Directions\": null,\n \"Units\": 100,\n \"ExpiryTime\": \"*unlimited\",\n \"Filter\": null,\n \"RatingSubject\": null,\n \"Categories\": null,\n \"SharedGroups\": null,\n \"BalanceWeight\": 20,\n \"ExtraParameters\": null,\n \"BalanceBlocker\": \"false\",\n \"BalanceDisabled\": \"false\",\n \"Weight\": 10\n },\n {\n \"Identifier\": \"*topup_reset\",\n \"BalanceId\": \"500MINUTES\",\n \"BalanceUuid\": \"71e73e45-a471-4059-b738-7f66adc72\",\n \"BalanceType\": \"*voice\",\n \"Directions\": null,\n \"Units\": 30000000000000,\n \"ExpiryTime\": \"*unlimited\",\n \"Filter\": null,\n \"RatingSubject\": null,\n \"Categories\": null,\n \"SharedGroups\": null,\n \"BalanceWeight\": 30,\n \"ExtraParameters\": null,\n \"BalanceBlocker\": \"false\",\n \"BalanceDisabled\": \"false\",\n \"Weight\": 10\n }\n ],\n \"Overwrite\": true,\n \"ActionsId\": \"TOPUP_PKG_1000_GR\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "2. APIerSv1.SetActionPlan",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetActionPlan\",\n \"params\": [\n {\n \"Id\": \"ACP_+30xxxxxxxxx_TOPUP_PKG_1000_GR\",\n \"ReloadScheduler\": true,\n \"Overwrite\": true,\n \"ActionPlan\": [\n {\n \"ActionsId\": \"TOPUP_PKG_1000_GR\",\n \"MonthDays\": \"*any\",\n \"Years\": \"*any\",\n \"WeekDays\": \"*any\",\n \"Months\": \"*any\",\n \"Time\": \"*asap\",\n \"Weight\": 10\n }\n ]\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "3. APIerSv2.SetAccount",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "2 - Rating Plans",
"item": [
{
"name": "SPL_TESTSUPPLIER1_GR",
"item": [
{
"name": "1. APIerSv2.SetTPDestination",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 6,\n \"method\": \"APIerSv2.SetTPDestination\",\n \"params\": [\n {\n \"TPid\": \"CGR_SPL_TESTSUPPLIER1_2019_01\",\n \"ID\": \"TP_SPL_DST_TESTSUPPLIER1_2019_01\",\n \"DestinationId\": \"SPL_DST_TESTSUPPLIER1_2019_01\",\n \"Prefixes\": [\n \"+30xxxxxxxxx\",\n \"+30xxxxxxxxxx\"\n ]\n }\n ]\n}"
},
"url": {
"raw": "http://cgrates1.cgrates.org:2080/jsonrpc",
"protocol": "http",
"host": [
"cgrates1",
"cgrates",
"org"
],
"port": "2080",
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "2. APIerSv1.SetTPRate",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 3,\n \"method\": \"APIerSv1.SetTPRate\",\n \"params\": [\n {\n \"TPid\": \"CGR_SPL_TESTSUPPLIER1_2019_01\",\n \"ID\": \"SPL_TESTSUPPLIER1_DST_RATEID_GR_LANDLINE_2019_01\",\n \"RateSlots\": [\n {\n \"ConnectFee\": 0,\n \"Rate\": 0.0042,\n \"RateUnit\": \"1s\",\n \"RateIncrement\": \"1s\",\n \"GroupIntervalStart\": \"0\"\n },\n {\n \"ConnectFee\": 0,\n \"Rate\": 0.0042,\n \"RateUnit\": \"1s\",\n \"RateIncrement\": \"1s\",\n \"GroupIntervalStart\": \"60\"\n }\n ]\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "3. APIerSv1.SetTPDestinationRate NEW",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetTPDestinationRate\",\n \"params\": [\n {\n \"TPid\": \"CGR_SPL_TESTSUPPLIER1_2019_01\",\n \"ID\": \"SPL_TESTSUPPLIER1_DST_RT_GR_LANDLINE_2019_01\",\n \"DestinationRates\": [\n {\n \"DestinationId\": \"TP_SPL_DST_TESTSUPPLIER1_2019_01\",\n \"RateId\": \"SPL_TESTSUPPLIER1_DST_RATEID_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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "4. APIerSv1.SetTPRatingPlan",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 3,\n \"method\": \"APIerSv1.SetTPRatingPlan\",\n \"params\": [\n {\n \"TPid\": \"CGR_SPL_TESTSUPPLIER1_2019_01\",\n \"ID\": \"TP_RP_SPL_TESTSUPPLIER1_DST_ID_RT_GR_LANDLINE_2019_01\",\n \"RatingPlanBindings\": [\n {\n \"DestinationRatesId\": \"SPL_TESTSUPPLIER1_DST_RT_GR_LANDLINE_2019_01\",\n \"Weight\": 10\n }\n ]\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "5. APIerSv1.LoadRatingPlan",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.LoadRatingPlan\",\n \"params\": [\n {\n \"TPid\": \"CGR_SPL_TESTSUPPLIER1_2019_01\",\n \"RatingPlanId\": \"TP_RP_SPL_TESTSUPPLIER1_DST_ID_RT_GR_LANDLINE_2019_01\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "6. LoadTariffPlanFromStorDb --> OnlineDB Copy SOS Copy",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.LoadTariffPlanFromStorDb\",\n \"params\": [\n {\n \"TPid\": \"CGR_SPL_TESTSUPPLIER1_2019_01\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "Inbound Call Billing example",
"item": [
{
"name": "1. APIerSv2.SetTPDestination - #1 mobile prefix +3069",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 6,\n \"method\": \"APIerSv2.SetTPDestination\",\n \"params\": [\n {\n \"TPid\": \"TPID_VL_INTERNAL_INBOUND_CALLS\",\n \"ID\": \"DST_CLI_VL_INTERNAL_INBOUND_CALLS_GR_MOBILE\",\n \"DestinationId\": \"DST_CLI_VL_INTERNAL_INBOUND_CALLS_GR_MOBILE\",\n \"Prefixes\": [\n \"+3069\"\n ]\n }\n ]\n}"
},
"url": {
"raw": "http://cgrates1.cgrates.org:2080/jsonrpc",
"protocol": "http",
"host": [
"cgrates1",
"cgrates",
"org"
],
"port": "2080",
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "2. APIerSv1.SetTPRate - FREE for *any",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 3,\n \"method\": \"APIerSv1.SetTPRate\",\n \"params\": [\n {\n \"TPid\": \"TPID_VL_INTERNAL_INBOUND_CALLS\",\n \"ID\": \"RT_VL_INTERNAL_INBOUND_CALLS_ΑΝΥ\",\n \"RateSlots\": [\n {\n \"ConnectFee\": 0,\n \"Rate\": 0,\n \"RateUnit\": \"1s\",\n \"RateIncrement\": \"1s\",\n \"GroupIntervalStart\": \"0\"\n }\n ]\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "2.1 APIerSv1.SetTPRate #1 - COST for Mobile",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 3,\n \"method\": \"APIerSv1.SetTPRate\",\n \"params\": [\n {\n \"TPid\": \"TPID_VL_INTERNAL_INBOUND_CALLS\",\n \"ID\": \"RT_CLI_VL_INTERNAL_INBOUND_CALLS_GR_MOBILE\",\n \"RateSlots\": [\n {\n \"ConnectFee\": 5,\n \"Rate\": 1.5,\n \"RateUnit\": \"1s\",\n \"RateIncrement\": \"1s\",\n \"GroupIntervalStart\": \"0\"\n }\n ]\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "3. APIerSv1.SetTPDestinationRate *any",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetTPDestinationRate\",\n \"params\": [\n {\n \"TPid\": \"TPID_VL_INTERNAL_INBOUND_CALLS\",\n \"ID\": \"DSTRATE_VL_INTERNAL_INBOUND_CALLS_ΑΝΥ\",\n \"DestinationRates\": [\n {\n \"DestinationId\": \"*any\",\n \"RateId\": \"RT_VL_INTERNAL_INBOUND_CALLS_ΑΝΥ\",\n \"RoundingMethod\": \"*up\",\n \"RoundingDecimals\": 4,\n \"MaxCost\": 0,\n \"MaxCostStrategy\": \"\"\n }\n ]\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "3.1 APIerSv1.SetTPDestinationRate #1 (mobile prefixes)",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetTPDestinationRate\",\n \"params\": [\n {\n \"TPid\": \"TPID_VL_INTERNAL_INBOUND_CALLS\",\n \"ID\": \"TP_DSTRATE_CLI_VL_INTERNAL_INBOUND_CALLS_GR_MOBILE\",\n \"DestinationRates\": [\n {\n \"DestinationId\": \"DST_CLI_VL_INTERNAL_INBOUND_CALLS_GR_MOBILE\",\n \"RateId\": \"RT_CLI_VL_INTERNAL_INBOUND_CALLS_GR_MOBILE\",\n \"RoundingMethod\": \"*up\",\n \"RoundingDecimals\": 4,\n \"MaxCost\": 0,\n \"MaxCostStrategy\": \"\"\n }\n ]\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "4.1 APIerSv1.SetTPRatingPlan #1 both (*any & Mobile)",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 3,\n \"method\": \"APIerSv1.SetTPRatingPlan\",\n \"params\": [\n {\n \"TPid\": \"TPID_VL_INTERNAL_INBOUND_CALLS\",\n \"ID\": \"RatingPlan_CLI_VL_INTERNAL_INBOUND_CALLS_GR_MOBILE\",\n \"RatingPlanBindings\": [\n {\n \"DestinationRatesId\": \"TP_DSTRATE_CLI_VL_INTERNAL_INBOUND_CALLS_GR_MOBILE\",\n \"Weight\": 10\n },\n {\n \"DestinationRatesId\": \"DSTRATE_VL_INTERNAL_INBOUND_CALLS_ΑΝΥ\",\n \"Weight\": 10\n }\n ]\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "5. APIerSv1.LoadRatingPlan",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.LoadRatingPlan\",\n \"params\": [\n {\n \"TPid\": \"TPID_VL_INTERNAL_INBOUND_CALLS\",\n \"RatingPlanId\": \"RatingPlan_CLI_VL_INTERNAL_INBOUND_CALLS_GR_MOBILE\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "6. LoadTariffPlanFromStorDb --> OnlineDB Copy SOS",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 6,\n \"method\": \"APIerSv1.LoadTariffPlanFromStorDb\",\n \"params\": [\n {\n \"TPid\": \"TPID_VL_INTERNAL_INBOUND_CALLS\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "3 - Chargers",
"item": [
{
"name": "1 - Create Generic Charger for All Customers",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "2 - Create Filter for Charger Supplier SPL_TEST_SUPPLIER_NAME",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "2.1 - Create Charger for Supplier SPL_TEST_SUPPLIER_NAME",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetChargerProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"SPL_TEST_SUPPLIER_NAME\",\n \"FilterIDs\": [\n \"CHARGER_FLTR_INTERNAL_CALLS_ONLY\"\n ],\n \"ActivationInterval\": null,\n \"RunID\": \"SPL_TEST_SUPPLIER_NAME\",\n \"AttributeIDs\": [\n \"*none\"\n ],\n \"Weight\": 0\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "4 - Suppliers",
"item": [
{
"name": "Create Supplier TEST_SUPPLIER_NAME for Internal Calls IN/OUT",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"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\": \"TP_RP_SPL_TEST_SUPPLIER_NAME_INTERNAL_DST_ID_RT_GR_LANDLINE_2019_01\"\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\": \"TP_RP_SPL_TEST_SUPPLIER_NAME_INTERNAL_DST_ID_RT_GR_LANDLINE_2019_01\"\n }\n ],\n \"Weight\": 10\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
},
{
"name": "Create Supplier TESTSUPPLIER1_GR IN/OUT",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetSupplierProfile\",\n \"params\": [\n {\n \"Tenant\": \"cgrates.org\",\n \"ID\": \"SPL_TESTSUPPLIER1_GR\",\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_TESTSUPPLIER1_GR_IN\",\n \"FilterIDs\": [\n \"*notstring:~*req.Subject:INTERNAL-IN\",\n \"*string:~*req.Category:call-in\"\n ],\n \"AccountIDs\": [\n \"\"\n ],\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\": \"TP_RP_SPL_TESTSUPPLIER1_DST_ID_RT_GR_LANDLINE_2019_01\"\n },\n {\n \"ID\": \"SPL_TESTSUPPLIER1_GR_OUT\",\n \"FilterIDs\": [\n \"*notstring:~*req.Subject:INTERNAL-OUT\",\n \"*string:~*req.Category:call-out\"\n ],\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\": \"TP_RP_SPL_TESTSUPPLIER1_DST_ID_RT_GR_LANDLINE_2019_01\"\n }\n ],\n \"Weight\": 10\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"id": "dd795b4c-6a50-4183-9c98-2f8da677c59a",
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "7a0c94dc-64e5-4c64-b963-80122da67f59",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
},
{
"name": "5 - Actions",
"item": [
{
"name": "ACT_LOG_WARNING",
"request": {
"auth": {
"type": "noauth"
},
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"method\": \"APIerSv1.SetActions\",\n \"params\": [\n {\n \"Actions\": [\n {\n \"Identifier\": \"*log\",\n \"BalanceId\": null,\n \"BalanceUuid\": null,\n \"BalanceType\": null,\n \"Directions\": null,\n \"Units\": null,\n \"ExpiryTime\": null,\n \"Filter\": null,\n \"RatingSubject\": null,\n \"Categories\": null,\n \"SharedGroups\": null,\n \"BalanceWeight\": null,\n \"ExtraParameters\": null,\n \"BalanceBlocker\": \"false\",\n \"BalanceDisabled\": \"false\",\n \"Weight\": 10\n }\n ],\n \"Overwrite\": true,\n \"ActionsId\": \"ACT_LOG_WARNING\"\n }\n ]\n}"
},
"url": {
"raw": "{{base_url}}/jsonrpc",
"host": [
"{{base_url}}"
],
"path": [
"jsonrpc"
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"id": "07012ce6-d017-4dd4-b25e-94549407fb59",
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "0ae5d526-4f88-4aab-b029-fbf623c3a46a",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"protocolProfileBehavior": {},
"_postman_isSubFolder": true
}
],
"protocolProfileBehavior": {}
}
],
"event": [
{
"listen": "prerequest",
"script": {
"id": "51f0c130-824c-41bd-9f64-830654472d7a",
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "be9ec10e-c444-4700-ac8d-02c8a85fa61a",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"variable": [
{
"id": "df3ddb82-8634-4405-844d-9b7d2b89fb7e",
"key": "base_url",
"value": "https://cgrates1.cgrates.org:2280",
"type": "string",
"disabled": true
}
],
"protocolProfileBehavior": {}
}