addFunction
This method allows adding/editing:
- Function data.
To insert each of these items, it is necessary to follow the standard documented below.
| Java class | |
|---|---|
| Request | web\wwwroot\ws\java\fmea\AddFunctionRequestType.java |
| Return | web\wwwroot\ws\java\fmea\AddFunctionResponseType.java |
Request:
| ID # | Required | Description |
|---|---|---|
| IDFUNCTION | X | Function ID #. |
| NMFUNCTION | X | Function name. |
| FGTYPEFMEA | X | FMEA type: 1 - Project; 2 - Process; 3 - Asset; 4 - Project schedule; 5 - Object. |
| DSFUNCTION | Function description. |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:fmea">
<soapenv:Header/>
<soapenv:Body>
<urn:addFunction>
<!--You may enter the following 4 items in any order-->
<urn:IDFUNCTION>?</urn:IDFUNCTION>
<urn:NMFUNCTION>?</urn:NMFUNCTION>
<urn:FGTYPEFMEA>?</urn:FGTYPEFMEA>
<urn:DSFUNCTION>?</urn:DSFUNCTION>
</urn:addFunction>
</soapenv:Body>
</soapenv:Envelope>
Return:
| ID # | Description |
|---|---|
| Status | SUCCESS or FAILURE. |
| Code | Success (1) or Failure (-1). |
| Detail | Message about insertion/editing or error found. |