Skip to main content
Version: 2.2.0

relateCharacteristicToInspConfiguration

This import template allows associating, editing, and disassociating:

  • Inspection form characteristic data.

To insert each of these items, it is necessary to follow the standard documented below.

Java class
Requestweb\wwwroot\ws\java\inspection\RelateCharacteristicToInspConfigurationRequestType.java
Returnweb\wwwroot\ws\java\inspection\RelateCharacteristicToInspConfigurationResponseType.java

Request:

ID #RequiredDescription
FGOPTIONXCode of the operation to be performed:
20 - Associate;
21 - Edit;
22 - Disassociate.
IDCONFIGURATIONXInspection form ID #
IDCHARACTERISTICXCharacteristic ID #
FGREQUIREDRequired:
1 - Required (default option);
2 - Not required.
NRVALIDITYX¹Validity
FGVALIDITYX¹Frequency unit:
1 - Days;
2 - Weeks;
3 - Months;
4 - Inspections
FGENABLEDPRINTAdd characteristic to inspection report
1 - Yes;
2 - No (default option).
FGAVGREADINGX²Register averages/readings:
1 - Register averages;
2 - Register readings.
FGTYPESAMPLEPLANX³Rule:
1 - Sampling plan;
2 - Sampling table;
3 - Defined size;
4 - Percentage.
FGSAMPLEPLANX³Sampling plan:
1 - Simple;
2 - Double;
3 - Multiple
IDLEVELX³Inspection level:
[01, 02, 03, S1, S2, S3, S4]
FGSWITCHRULEX³Work regime:
1 - Reduced;
2 - Normal;
3 - Tightened.
VLAQLX³AQL:
[0.010, 0.015, 0.025, 0.04, 0.65, 0.1, 0.15, 0.25, 0.4, 0.65, 1, 1.5, 2.5, 4, 6.5, 10, 15, 25, 40, 65, 100, 150, 250, 400, 650, 1000]
IDTABLEX³Sampling table ID #
VLSAMPLESIZEX³Sample size
VLACCEPTABLEX³Maximum number/percentage of rejects
VLPERCENTAGEX³Percentage
info
  • X¹ - Required for insertion if the "Required" option is disabled
  • X² - Required for insertion; optional for editing/deletion
  • X³ - Required if the selected sampling type option requires completing the field.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:inspection">
<soapenv:Header/>
<soapenv:Body>
<urn:relateCharacteristicToInspConfiguration>
<!--You may enter the following 17 items in any order-->
<urn:FGOPTION>?</urn:FGOPTION>
<urn:IDCONFIGURATION>?</urn:IDCONFIGURATION>
<urn:IDCHARACTERISTIC>?</urn:IDCHARACTERISTIC>
<urn:FGREQUIRED>?</urn:FGREQUIRED>
<urn:NRVALIDITY>?</urn:NRVALIDITY>
<urn:FGVALIDITY>?</urn:FGVALIDITY>
<urn:FGENABLEDPRINT>?</urn:FGENABLEDPRINT>
<urn:FGAVGREADING>?</urn:FGAVGREADING>
<urn:FGTYPESAMPLEPLAN>?</urn:FGTYPESAMPLEPLAN>
<urn:FGSAMPLEPLAN>?</urn:FGSAMPLEPLAN>
<urn:IDLEVEL>?</urn:IDLEVEL>
<urn:FGSWITCHRULE>?</urn:FGSWITCHRULE>
<urn:VLAQL>?</urn:VLAQL>
<urn:IDTABLE>?</urn:IDTABLE>
<urn:VLSAMPLESIZE>?</urn:VLSAMPLESIZE>
<urn:VLACCEPTABLE>?</urn:VLACCEPTABLE>
<urn:VLPERCENTAGE>?</urn:VLPERCENTAGE>
</urn:relateCharacteristicToInspConfiguration>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnReturns Status, Code, and Detail
â–ªStatus can be SUCCESS or FAILURE.
â–ªCode returns 1 for success, or 0 for failure.
â–ªDetail returns the error description in case of failure.