newSupplierInspConfiguration
This method allows adding:
- A supplier from the inspection form.
To insert each of these items, it is necessary to follow the standard documented below.
| Java class | |
|---|---|
| Request | web/wwwroot/ws/java/inspection/NewSupplierInspConfigurationRequestType.java |
| Return | web/wwwroot/ws/java/inspection/NewSupplierInspConfigurationResponseType.java |
Request:
| ID # | Required | Description |
|---|---|---|
| IDCONFIGURATION | X | Inspection form ID #. |
| IDSUPPLIER | X | Supplier ID #. |
| FGBLOCK | X | Sample status: 1 - Blocked; 2 - Not blocked. |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:inspection">
<soapenv:Header/>
<soapenv:Body>
<urn:newSupplierInspConfiguration>
<!--You may enter the following 3 items in any order-->
<urn:IDCONFIGURATION>?</urn:IDCONFIGURATION>
<urn:IDSUPPLIER>?</urn:IDSUPPLIER>
<urn:FGBLOCK>?</urn:FGBLOCK>
</urn:newSupplierInspConfiguration>
</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 error description in case of failure. |