Navigation:  Integration via SOAP web services > Published web services > Administration >

addUserAbsence

Previous  Top  Next

This method allows adding:

Absence period of a user;

Task leader while the user is absent.

 

To insert each of these items, it is necessary to follow the standard documented below:

Java class

Request

web/wwwroot/ws/java/administration/AddUserAbsenceRequestType.java

Return

web/wwwroot/ws/java/administration/AddUserAbsenceResponseType.java

 

Request

ID #

Required

Description

AbsentUser

X

User ID of the employee that will be absent

ResponsibleUser

X

User ID of the assigned user for the tasks during the absence of the responsible user

InitialDate

X

Absence start date

EndDate

 

End date of the absence

Reason

 

Reason for absence

 

Return

ID #

Description

Status

SUCCESS: SUCCESS

FAILURE: FAILURE

Detail

SUCCESS: Record added.

FAILURE: Message regarding the error that occurred.

Code

SUCCESS: 1

FAILURE: code regarding the error that occurred.

 

Code

Description

32

Absent User not entered

33

Absent User not found

34

Task Leader not entered

35

Task Leader not found

36

Start date not entered

37

Start date entered incorrectly

38

End date entered incorrectly

39

End date cannot be prior to start date

40

Start date cannot be earlier than current date

41

Absent user cannot be the same as task leader

42

There is at least one programmed absence in the period entered for this user

 

The values accepted for the import of dates must follow the following standard:

YYYY-MM-DD