Skip to main content
Version: 2.2.0

ChangeStatusSample

This method allows editing the status of a sample of a collection.

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

Java class
Requestweb/wwwroot/ws/java/spc/ChangeStatusSampleRequestType.java
Returnweb/wwwroot/ws/java/spc/ChangeStatusSampleResponseType.java

Request:

ID #RequiredDescription
IDCOLLECTXCollection ID #
IDCHARACTERISTICXCharacteristic ID #
IDSEQUENCESAMPLEXSample ID #

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:spc">
<soapenv:Header/>
<soapenv:Body>
<urn:ChangeStatusSample>
<!--You may enter the following 3 items in any order-->
<urn:idcollect>?</urn:idcollect>
<urn:idcharacteristic>?</urn:idcharacteristic>
<urn:idsequencesample>?</urn:idsequencesample>
</urn:ChangeStatusSample>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnSUCCESS: 1.
FAILURE: Returns a message regarding the error that occurred