This article will showcase how to programmatically start an environment, push data in-memory, and stop the environment.
Note that this the sample code and data file used for the MicroStrategy APIs - Cloud and Dataset .
This code uses PHP and PHP-CURL library.
Before using these script, you'll need to edit 2 files:
<?php /* ** Insert your Cloud API Key here. Can be generated from the Cloud Provisioning console */ $api_key = 'api_key_goes_here'; ?>
<?php $environmentId = 00000; $apilogin = 'login'; $apipassword = 'password'; $x_iservername = 'env-'.$environmentId.'laiouse1'; $x_port = 34952; /* ** Adjust project name if necessary */ $x_projectname = 'Strategy Tutorial'; ?>
Interested in learning more about Strategy APIs? Visit the Learning Center on Community!
Or go to our Documentation pages for more product information.