addDepartmentPosition
This method enables to add a relationship between department and position. For this addition, it is necessary to follow the standard documented below.
| Java class | |
|---|---|
| Request | web\wwwroot\ws\java\admin\AddDepartmentPositionRequestType.java |
| Return | web\wwwroot\ws\java\admin\AddDepartmentPositionResponseType.java |
Request:
| ID # | Required | Description |
|---|---|---|
| IDAREA | X | Department ID #. |
| IDFUNC | X | Position ID #. |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:admin">
<soapenv:Header/>
<soapenv:Body>
<urn:addDepartmentPosition>
<!--You may enter the following 2 items in any order-->
<urn:IDAREA>?</urn:IDAREA>
<urn:IDFUNC>?</urn:IDFUNC>
</urn:addDepartmentPosition>
</soapenv:Body>
</soapenv:Envelope>
Return:
| ID # | Description |
|---|---|
| SUCCESS | Status: SUCCESS Code: 1 Detail: Record added successfully RecordID: Record ID # of record added by the method. |
| FAILURE | Status: FAILURE Code: Error code Detail: Message with the error. |