editPosition
This method allows editing the data of a position. To edit it, it is necessary to follow the standard documented below.
Java class | |
---|---|
Request | web\wwwroot\ws\java\admin\EditPositionRequestType.java |
Return | web\wwwroot\ws\java\admin\EditPositionResponseType.java |
Request:
ID # | Required | Description |
---|---|---|
ID | X | Position ID #. |
DESC | X | Position 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 |
---|---|
return | SUCCESS: Primary key of the position (CDPOSITION). FAILURE: -1 |
Status | SUCCESS: SUCCESS FAILURE: FAILURE |
Code | SUCCESS: 1. FAILURE: Code regarding the error that occurred. |
RecordId | SUCCESS: Position ID #. FAILURE: N/A |
RecordKey | SUCCESS: Position primary key. FAILURE: N/A |
Detail | SUCCESS: Record(s) added successfully. FAILURE: message regarding the error that occurred. |
Code | Description |
---|---|
3 | ID: The maximum size for this field is 50. DESC: The maximum size for this field is 255. |
13 | Null position ID #. |
16 | Inexistent position. |
22 | Null position name field. |
23 | Existing position. |