diff --git a/SoftLayer/CLI/call_api.py b/SoftLayer/CLI/call_api.py
index 4d89cf74..e24e185d 100644
--- a/SoftLayer/CLI/call_api.py
+++ b/SoftLayer/CLI/call_api.py
@@ -9,21 +9,24 @@
 @click.command('call', short_help="Call arbitrary API endpoints.")
 @click.argument('service')
 @click.argument('method')
+@click.argument('parameters', nargs=-1)
 @click.option('--id', '_id', help="Init parameter")
 @click.option('--mask', help="String-based object mask")
 @click.option('--limit', type=click.INT, help="Result limit")
 @click.option('--offset', type=click.INT, help="Result offset")
 @environment.pass_env
-def cli(env, service, method, _id, mask, limit, offset):
+def cli(env, service, method, parameters, _id, mask, limit, offset):
     """Call arbitrary API endpoints with the given SERVICE and METHOD.
 
     \b
     Examples:
     slcli call-api Account getObject
     slcli call-api Account getVirtualGuests --limit=10 --mask=id,hostname
-    slcli call-api Virtual_Guest getObject --id=2710344
+    slcli call-api Virtual_Guest getObject --id=12345
+    slcli call-api Metric_Tracking_Object getBandwidthData --id=1234 \\
+        "2015-01-01 00:00:00" "2015-01-1 12:00:00" public
     """
-    result = env.client.call(service, method,
+    result = env.client.call(service, method, *parameters,
                              id=_id,
                              mask=mask,
                              limit=limit,

enableSnapshots method not working
Hi,

I'm trying to enable HOURLY/DAILY/WEEKLY snapshots using slcli as follows:

slcli call-api Network_Storage enableSnapshots --id=XXXXXX --retentionCount=3 --scheduleType=HOURLY --minute=59
Error: no such option: --retentionCount

According to the WSDL all these parameters are required.

Thanks,

Sadek

diff --git a/SoftLayer/tests/CLI/modules/call_api_tests.py b/SoftLayer/tests/CLI/modules/call_api_tests.py
index b14cd9f1..2555b8e8 100644
--- a/SoftLayer/tests/CLI/modules/call_api_tests.py
+++ b/SoftLayer/tests/CLI/modules/call_api_tests.py
@@ -119,6 +119,17 @@ def test_list_table(self):
 :......:......:.......:.....:........:
 """)
 
+    def test_parameters(self):
+        mock = self.set_mock('SoftLayer_Service', 'method')
+        mock.return_value = {}
+
+        result = self.run_command(['call-api', 'Service', 'method',
+                                   'arg1', '1234'])
+
+        self.assertEqual(result.exit_code, 0)
+        self.assert_called_with('SoftLayer_Service', 'method',
+                                args=('arg1', '1234'))
+
 
 class CallCliHelperTests(testing.TestCase):
 

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest
apt-get update apt-get install -y gcc
3.6
tools/test-requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
alabaster==0.7.13
attrs==22.2.0
Babel==2.11.0
certifi==2021.5.30
charset-normalizer==2.0.12
click==8.0.4
coverage==6.2
distlib==0.3.9
docutils==0.18.1
filelock==3.4.1
fixtures==4.0.1
idna==3.10
imagesize==1.4.1
importlib-metadata==4.8.3
importlib-resources==5.4.0
iniconfig==1.1.1
Jinja2==3.0.3
MarkupSafe==2.0.1
mock==5.2.0
nose==1.3.7
packaging==21.3
pbr==6.1.1
platformdirs==2.4.0
pluggy==1.0.0
prettytable==2.5.0
py==1.11.0
Pygments==2.14.0
pyparsing==3.1.4
pytest==7.0.1
pytz==2025.2
requests==2.27.1
six==1.17.0
snowballstemmer==2.2.0
-e git+https://github.com/softlayer/softlayer-python.git@200787d4c3bf37bc4e701caf6a52e24dd07d18a3#egg=SoftLayer
Sphinx==5.3.0
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
testtools==2.6.0
toml==0.10.2
tomli==1.2.3
tox==3.28.0
typing_extensions==4.1.1
urllib3==1.26.20
virtualenv==20.17.1
wcwidth==0.2.13
zipp==3.6.0

name: softlayer-python
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - alabaster==0.7.13
      - attrs==22.2.0
      - babel==2.11.0
      - charset-normalizer==2.0.12
      - click==8.0.4
      - coverage==6.2
      - distlib==0.3.9
      - docutils==0.18.1
      - filelock==3.4.1
      - fixtures==4.0.1
      - idna==3.10
      - imagesize==1.4.1
      - importlib-metadata==4.8.3
      - importlib-resources==5.4.0
      - iniconfig==1.1.1
      - jinja2==3.0.3
      - markupsafe==2.0.1
      - mock==5.2.0
      - nose==1.3.7
      - packaging==21.3
      - pbr==6.1.1
      - platformdirs==2.4.0
      - pluggy==1.0.0
      - prettytable==2.5.0
      - py==1.11.0
      - pygments==2.14.0
      - pyparsing==3.1.4
      - pytest==7.0.1
      - pytz==2025.2
      - requests==2.27.1
      - six==1.17.0
      - snowballstemmer==2.2.0
      - sphinx==5.3.0
      - sphinxcontrib-applehelp==1.0.2
      - sphinxcontrib-devhelp==1.0.2
      - sphinxcontrib-htmlhelp==2.0.0
      - sphinxcontrib-jsmath==1.0.1
      - sphinxcontrib-qthelp==1.0.3
      - sphinxcontrib-serializinghtml==1.1.5
      - testtools==2.6.0
      - toml==0.10.2
      - tomli==1.2.3
      - tox==3.28.0
      - typing-extensions==4.1.1
      - urllib3==1.26.20
      - virtualenv==20.17.1
      - wcwidth==0.2.13
      - zipp==3.6.0
prefix: /opt/conda/envs/softlayer-python

SoftLayer/tests/CLI/modules/call_api_tests.py::CallCliTests::test_parameters
SoftLayer/tests/CLI/modules/call_api_tests.py::CallCliTests::test_list SoftLayer/tests/CLI/modules/call_api_tests.py::CallCliTests::test_list_table SoftLayer/tests/CLI/modules/call_api_tests.py::CallCliTests::test_object SoftLayer/tests/CLI/modules/call_api_tests.py::CallCliTests::test_object_nested SoftLayer/tests/CLI/modules/call_api_tests.py::CallCliTests::test_object_table SoftLayer/tests/CLI/modules/call_api_tests.py::CallCliTests::test_options SoftLayer/tests/CLI/modules/call_api_tests.py::CallCliHelperTests::test_format_api_dict SoftLayer/tests/CLI/modules/call_api_tests.py::CallCliHelperTests::test_format_api_list SoftLayer/tests/CLI/modules/call_api_tests.py::CallCliHelperTests::test_format_api_list_non_objects
SoftLayer/CLI/call_api.py
SoftLayer/CLI/call_api.py