CalculationStatus Functions
The CalculationStatus and CalculationStatusSession functions return the calculation status for a specified System file in a specified 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/CalculationStatus HTTP/1.1
Host: vm-test
Content-Type: application/x-www-form-urlencoded
Content-Length: length

UserName=string&Password=string&GroupName=string&Identifier=string
Parameters
In addition to login parameters, both the CalculationStatus and CalculationStatusSession functions use this parameter:
Identifier—The request ID in Task Manager for a Windchill Risk and Reliability calculation. You open Task Manager and note the request ID to enter for this parameter.
The following is an example of an HTTP POST request:
POST /WindchillRiskandReliability12.0/DataEngine.asmx/CalculationStatus HTTP/1.1
Host: vm-test
Content-Type: application/x-www-form-urlencoded
Content-Length: length
UserName=Bill&Password=passwd&GroupName=Manager&Identifier={"RequestID":1010}
Returns
If the user is authenticated and the request ID is found, the calculation status is returned.
<?xml version="1.0" encoding="utf-8"?>
<DataEngineGroupListResponse 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>>{"Progress":100,"ErrorDetailsText":null,
"CompletionStatus":"Calculation Succeeded"}</AdditionalData></DataEngineResponse>
If the call fails, the AdditionalData tag provides the reason for the failure.