GetCalculationOption Functions
The GetCalculationOption and GetCalculationOptionSession functions return the calculation options for a specified system file in a specific project. These two functions differ only in respect to parameters for login. For more information, see Login Parameters.
Syntax
The following is the syntax for an HTTP request:
POST /WindchillRiskandReliability12.0/DataEngine.asmx/GeCalculationOption HTTP/1.1
Host: HostName
Content-Type: application/x-www-form-urlencoded
Content-Length: length

UserName=string&Password=string&GroupName=string&ProjectName=string&SystemName=string
Parameters
In addition to login parameters, both the GetCalculationOption and GetCalculationOptionSession functions use these parameters:
ProjectName—The name of the Windchill Risk and Reliability Project. This value is case-sensitive.
SystemName—The name of the System file. This value is case-sensitive.
The following is an example of an HTTP POST request:
POST /WindchillRiskandReliability12.0/DataEngine.asmx/GeCalculationOption HTTP/1.1
Host: vm-test
Content-Type: application/x-www-form-urlencoded
Content-Length: length
UserName=Bill&Password=passwd&GroupName=Manager&ProjectName=Tablet
PC&SystemName=Tablet PC
Returns
If the user is authenticated and the Project and System file are found, the calculation status for each web-based module is returned. If user calculations are defined, the statuses for these calculations appear in the brackets following "userCalculationData:".
<?xml version="1.0" encoding="utf-8"?>
<DataEngineFileListResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.ptc.com/WindchillRiskandReliability/12.0/">
<Success>true</Success>
<AdditionalData>{"FMEA":true,"FRACAS":true,"FTA":true,"UserCalcs":true,
"userCalculationData":[]}</AdditionalData>
</DataEngineResponse>
If the call fails, the AdditionalData tag provides the reason for the failure.