GetFieldsFunctions
The GetFields function is used to fetch the user interface column names or labels from the Windchill Risk and Reliability application.
Syntax
The following is the syntax for an HTTP request:
POST /WindchillRiskandReliability12.0/DataEngine.asmx/GetFields HTTP/1.1
Host: HostName
Content-Type: application/x-www-form-urlencoded
Content-Length: length

UserName=string&Password=string&GroupName=string&ProjectName=string
&Module=integer
Parameters
In addition to login parameters, the GetFieldsfunction uses these parameters:
ProjectName—The name of the Windchill Risk and Reliability Project. This value is case-sensitive.
Module—The ID of the product module that is being referenced. For FMEA module, the value is 1.
The following is an example of an HTTP POST request:
POST /WindchillRiskandReliability12.0/DataEngine.asmx/GetFields HTTP/1.1
Host: HostName
Content-Type: application/x-www-form-urlencoded
Content-Length: length
UserName=admin&Password=passwd&GroupName=Administrators&ProjectName=Tablet PC&
&Module=1
Returns
If the user is authenticated and the specified parameter values are found, the list of column names are returned in JSON format.
<?xml version="1.0" encoding="utf-8"?>
<DataEngineResponse xmlns="http://tempuri.org/">
<Success>true</Success>
<AdditionalData>[{"FieldName":"ID","TableType":"System","TableDisplayName"
:"FMEA Tree Item","UserPrompt":"ID","FieldType":"ID","Precision":0,"ChoiceListCode"
:"","ParentChoiceListFieldTable":"","ParentChoiceListFieldName":"","ListChoiceText":
"DisplayText","MemoFieldType":"Memo"}]</AdditionalData>
</DataEngineResponse>
If the call fails, the AdditionalData tag provides the reason for the failure.