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 | |
|---|---|
| Request | web\wwwroot\ws\java\admin\ChangePositionStatusRequestType.java |
| Return | web\wwwroot\ws\java\admin\ChangePositionStatusResponseType.java |
Request:
| ID # | Required | Description |
|---|---|---|
| ID | X | Position 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 |
|---|---|
| Return | SUCCESS:Â Primary key (CDPOSITION) FAILURE: -1 |
| Status | SUCCESS: SUCCESS FAILURE: FAILURE |
| Detail | SUCCESS: Action successfully executed FAILURE: message regarding the error that occurred. |
| Code | SUCCESS: 1. FAILURE: Code regarding the error that occurred: â–ª 16 - Inexistent position. â–ª 43 - The ID # has no value. |