QPR Installation Instructions

SetSCMeasureValuesForModel

SetSCMeasureValuesForModel

Previous topic Next topic  

SetSCMeasureValuesForModel

Previous topic Next topic JavaScript is required for the print function  

Revision history:

Introduced in QPR 8.0

Last changed in QPR 8.1 SP1

 

Sets measure values for measures in a QPR Metrics model.

 

Synopsis:

 

void SetSCMeasureValuesForModel(string sessionId, string model, string[][] values, string options)

 

Return Value:

 

None.

 

Parameters:

 

sessionId: String. ID of an authenticated session.
model: String. Name or FullID of the QPR Metrics model to modify.
values: Array. Two-dimensional array of measure value identifiers and values. Arrays are formatted as follows:
[[Measure symbol #1, Scorecard symbol #1, Series symbol #1, Date #1 (in XML date format), Value #1],
[Measure symbol #2, Scorecard symbol #2, Series symbol #2, Date #2 (in XML date format), Value #2],
...
]

Note: You can define the date in three ways: By period index, by period name, or by date. To define a period index, prefix the value with a #, i.e. "#5" would make the value to be set for the fifth period. To define the target period by the period name, prefix the value with a $, e.g. "$Q3/2009". To define the period by a date, input the date in XML date format without any special control characters.
options: String. Comma-separated list of options used for setting values. Currently there are no supported options.