Skip to main content
Version: 2.2.2

changePositionStatus

This method allows changing the status of a position from disabled to enabled and vice versa. For this operation, it is necessary to follow the standard documented below.

Java class
Requestweb\wwwroot\ws\java\admin\ChangePositionStatusRequestType.java
Returnweb\wwwroot\ws\java\admin\ChangePositionStatusResponseType.java

Request:

ID #RequiredDescription
IDXPosition ID #

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:admin">
<soapenv:Header/>
<soapenv:Body>
<urn:changePositionStatus>
<urn:ID>?</urn:ID>
</urn:changePositionStatus>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
ReturnSUCCESS: Primary key (CDPOSITION)
FAILURE: -1
StatusSUCCESS: SUCCESS
FAILURE: FAILURE
DetailSUCCESS: Action successfully executed
FAILURE: message regarding the error that occurred.
CodeSUCCESS: 1.
FAILURE: Code regarding the error that occurred:
â–ª 16 - Inexistent position.
â–ª 43 - The ID # has no value.