The QPR Metrics API commands allow you to build and update models. However, there are certain restrictions related to modeling with scripts.
Possible Operations:
•Create scorecards
•Delete scorecards
•Create elements
•Delete elements
•Create references
•Delete references
Other operations such as creating linked element types, periods, or value settings are not allowed. If you are building a new model from scratch, you need to use a template that contains the desired periods and value settings.