Skip to main content
Version: 2.2.0

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
Requestweb\wwwroot\ws\java\admin\AddDepartmentPositionRequestType.java
Returnweb\wwwroot\ws\java\admin\AddDepartmentPositionResponseType.java

Request:

ID #RequiredDescription
IDAREAXDepartment ID #.
IDFUNCXPosition 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
SUCCESSStatus: SUCCESS
Code: 1
Detail: Record added successfully
RecordID: Record ID # of record added by the method.
FAILUREStatus: FAILURE
Code: Error code
Detail: Message with the error.