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 | |
---|---|
Request | web\wwwroot\ws\java\inspection\RelateCharacteristicToInspConfigurationRequestType.java |
Return | web\wwwroot\ws\java\inspection\RelateCharacteristicToInspConfigurationResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
FGOPTION | X | Code of the operation to be performed: 20 - Associate; 21 - Edit; 22 - Disassociate. |
IDCONFIGURATION | X | Inspection form ID # |
IDCHARACTERISTIC | X | Characteristic ID # |
FGREQUIRED | Required: 1 - Required (default option); 2 - Not required. | |
NRVALIDITY | X¹ | Validity |
FGVALIDITY | X¹ | Frequency unit: 1 - Days; 2 - Weeks; 3 - Months; 4 - Inspections |
FGENABLEDPRINT | Add characteristic to inspection report 1 - Yes; 2 - No (default option). | |
FGAVGREADING | X² | Register averages/readings: 1 - Register averages; 2 - Register readings. |
FGTYPESAMPLEPLAN | X³ | Rule: 1 - Sampling plan; 2 - Sampling table; 3 - Defined size; 4 - Percentage. |
FGSAMPLEPLAN | X³ | Sampling plan: 1 - Simple; 2 - Double; 3 - Multiple |
IDLEVEL | X³ | Inspection level: [01, 02, 03, S1, S2, S3, S4] |
FGSWITCHRULE | X³ | Work regime: 1 - Reduced; 2 - Normal; 3 - Tightened. |
VLAQL | X³ | 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] |
IDTABLE | X³ | Sampling table ID # |
VLSAMPLESIZE | X³ | Sample size |
VLACCEPTABLE | X³ | Maximum number/percentage of rejects |
VLPERCENTAGE | X³ | 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 |
---|---|
return | Returns 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. |