Skip to main content
Version: 2.2.1

editPosition

This method allows editing the data of a position. To edit it, it is necessary to follow the standard documented below.

Java class
Requestweb\wwwroot\ws\java\admin\EditPositionRequestType.java
Returnweb\wwwroot\ws\java\admin\EditPositionResponseType.java

Request:

ID #RequiredDescription
IDXPosition ID #.
DESCXPosition description.

Request structure:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:admin">
<soapenv:Header/>
<soapenv:Body>
<urn:editPosition>
<!--You may enter the following 2 items in any order-->
<urn:ID>?</urn:ID>
<urn:DESC>?</urn:DESC>
</urn:editPosition>
</soapenv:Body>
</soapenv:Envelope>

Return:

ID #Description
returnSUCCESS: Primary key of the position (CDPOSITION).
FAILURE: -1
StatusSUCCESS: SUCCESS
FAILURE: FAILURE
CodeSUCCESS: 1.
FAILURE: Code regarding the error that occurred.
RecordIdSUCCESS: Position ID #.
FAILURE: N/A
RecordKeySUCCESS: Position primary key.
FAILURE: N/A
DetailSUCCESS: Record(s) added successfully.
FAILURE: message regarding the error that occurred.
CodeDescription
3ID: The maximum size for this field is 50.
DESC: The maximum size for this field is 255.
13Null position ID #.
16Inexistent position.
22Null position name field.
23Existing position.