mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-24 00:28:44 +05:00
Updated APIs Opts
This commit is contained in:
committed by
Dan Christian Bogos
parent
1d1f0cf2df
commit
13b7ca5d28
@@ -10,7 +10,7 @@
|
||||
"flags": ["*initiate", "*accounts"],
|
||||
"request_fields":[
|
||||
{"tag": "ToR", "path": "*cgreq.ToR", "type": "*constant", "value": "*data"},
|
||||
{"tag": "*api_key", "path": "*cgreq.*api_key", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "APIkey", "path": "*opts.APIKey", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "OriginID", "path": "*cgreq.OriginID", "type": "*variable",
|
||||
"value": "~*req.Session-Id", "mandatory": true},
|
||||
{"tag": "RequestType", "path": "*cgreq.RequestType", "type": "*constant", "value": "*prepaid"},
|
||||
@@ -38,7 +38,7 @@
|
||||
"flags": ["*update", "*accounts","*continue"],
|
||||
"request_fields":[
|
||||
{"tag": "ToR", "path": "*cgreq.ToR", "type": "*constant", "value": "*data"},
|
||||
{"tag": "*api_key", "path": "*cgreq.*api_key", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "APIkey", "path": "*opts.APIKey", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "InitialOriginID", "path": "*cgreq.InitialOriginID", "type": "*variable",
|
||||
"value": "~*req.Session-Id", "mandatory": true},
|
||||
{"tag": "OriginID", "path": "*cgreq.OriginID", "type": "*composed",
|
||||
@@ -71,7 +71,7 @@
|
||||
"flags": ["*update", "*accounts"],
|
||||
"request_fields":[
|
||||
{"tag": "ToR", "path": "*cgreq.ToR", "type": "*constant", "value": "*data"},
|
||||
{"tag": "*api_key", "path": "*cgreq.*api_key", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "APIkey", "path": "*opts.APIKey", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "InitialOriginID", "path": "*cgreq.InitialOriginID", "type": "*variable",
|
||||
"value": "~*req.Session-Id", "mandatory": true},
|
||||
{"tag": "OriginID", "path": "*cgreq.OriginID", "type": "*composed",
|
||||
@@ -104,7 +104,7 @@
|
||||
"flags": ["*terminate", "*accounts"],
|
||||
"request_fields":[
|
||||
{"tag": "ToR", "path": "*cgreq.ToR", "type": "*constant", "value": "*data"},
|
||||
{"tag": "*api_key", "path": "*cgreq.*api_key", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "APIkey", "path": "*opts.APIKey", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "OriginID", "path": "*cgreq.OriginID", "type": "*variable",
|
||||
"value": "~*req.Session-Id", "mandatory": true},
|
||||
{"tag": "OriginIDPrefix", "path": "*cgreq.OriginIDPrefix", "type": "*variable",
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"flags": ["*dryrun","*continue"],
|
||||
"request_fields":[
|
||||
{"tag": "ToR", "path": "*cgreq.ToR", "type": "*constant", "value": "*sms"},
|
||||
{"tag": "*api_key", "path": "*cgreq.*api_key", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "APIKey", "path": "*opts.APIKey", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "Val1", "path": "*cgreq.Val1", "type": "*constant", "value": "1"},
|
||||
{"tag": "Val2", "path": "*cgreq.Val2", "type": "*constant", "value": "2"},
|
||||
{"tag": "Val3", "path": "*cgreq.Val3", "type": "*constant", "value": "3"},
|
||||
@@ -43,7 +43,7 @@
|
||||
"flags": ["*dryrun"],
|
||||
"request_fields":[
|
||||
{"tag": "ToR", "path": "*cgreq.ToR", "type": "*constant", "value": "*sms"},
|
||||
{"tag": "*api_key", "path": "*cgreq.*api_key", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "APIKey", "path": "*opts.APIKey", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "Val1", "path": "*cgreq.Val1", "type": "*constant", "value": "1"},
|
||||
{"tag": "Val2", "path": "*cgreq.Val2", "type": "*constant", "value": "2"},
|
||||
{"tag": "Val3", "path": "*cgreq.Val3", "type": "*constant", "value": "3"},
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"flags": ["*message", "*accounts", "*cdrs","*attributes"],
|
||||
"request_fields":[
|
||||
{"tag": "ToR", "path": "*cgreq.ToR", "type": "*constant", "value": "*sms"},
|
||||
{"tag": "*api_key", "path": "*cgreq.*api_key", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "APIKey", "path": "*opts.APIKey", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "OriginID", "path": "*cgreq.OriginID", "type": "*variable",
|
||||
"value": "~*req.Session-Id", "mandatory": true},
|
||||
{"tag": "Category", "path": "*cgreq.Category", "type": "*constant", "value": "sms"},
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
"type": "*constant",
|
||||
"value": "*mms"
|
||||
},
|
||||
{ "tag": "*api_key",
|
||||
"path": "*cgreq.*api_key",
|
||||
{ "tag": "APIKey",
|
||||
"path": "*opts.APIKey",
|
||||
"type": "*constant",
|
||||
"value": "ses12345"
|
||||
},
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"flags": ["*message", "*accounts", "*log"],
|
||||
"request_fields":[
|
||||
{"tag": "ToR", "path": "*cgreq.ToR", "type": "*constant", "value": "*generic"},
|
||||
{"tag": "*api_key", "path": "*cgreq.*api_key", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "APIKey", "path": "*opts.APIKey", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "OriginID", "path": "*cgreq.OriginID", "type": "*variable",
|
||||
"value": "~*req.Session-Id", "mandatory": true},
|
||||
{"tag": "RequestType", "path": "*cgreq.RequestType", "type": "*constant", "value": "*prepaid"},
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"flags": ["*initiate", "*accounts","*attributes"],
|
||||
"request_fields":[
|
||||
{"tag": "ToR", "path": "*cgreq.ToR", "type": "*constant", "value": "*voice"},
|
||||
{"tag": "*api_key", "path": "*cgreq.*api_key", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "APIKey", "path": "*opts.APIKey", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "OriginID", "path": "*cgreq.OriginID", "type": "*variable",
|
||||
"value": "~*req.Session-Id", "mandatory": true},
|
||||
{"tag": "OriginHost", "path": "*cgreq.OriginHost", "type": "*variable",
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
"flags": ["*initiate", "*accounts", "*attributes"],
|
||||
"request_fields":[
|
||||
{"tag": "ToR", "path": "*cgreq.ToR", "type": "*constant", "value": "*voice"},
|
||||
{"tag": "*api_key", "path": "*cgreq.*api_key", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "APIKey", "path": "*opts.APIKey", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "OriginID", "path": "*cgreq.OriginID", "type": "*variable",
|
||||
"value": "~*req.Session-Id", "mandatory": true},
|
||||
{"tag": "OriginHost", "path": "*cgreq.OriginHost", "type": "*remote_host",
|
||||
@@ -141,7 +141,7 @@
|
||||
"flags": ["*update", "*accounts", "*attributes"],
|
||||
"request_fields":[
|
||||
{"tag": "ToR", "path": "*cgreq.ToR", "type": "*constant", "value": "*voice"},
|
||||
{"tag": "*api_key", "path": "*cgreq.*api_key", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "APIKey", "path": "*opts.APIKey", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "OriginID", "path": "*cgreq.OriginID", "type": "*variable",
|
||||
"value": "~*req.Session-Id", "mandatory": true},
|
||||
{"tag": "OriginHost", "path": "*cgreq.OriginHost", "type": "*remote_host",
|
||||
@@ -175,7 +175,7 @@
|
||||
"flags": ["*terminate", "*accounts", "*attributes", "*cdrs"],
|
||||
"request_fields":[
|
||||
{"tag": "ToR", "path": "*cgreq.ToR", "type": "*constant", "value": "*voice"},
|
||||
{"tag": "*api_key", "path": "*cgreq.*api_key", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "APIKey", "path": "*opts.APIKey", "type": "*constant", "value": "ses12345"},
|
||||
{"tag": "OriginID", "path": "*cgreq.OriginID", "type": "*variable",
|
||||
"value": "~*req.Session-Id", "mandatory": true},
|
||||
{"tag": "OriginHost", "path": "*cgreq.OriginHost", "type": "*remote_host",
|
||||
|
||||
Reference in New Issue
Block a user