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

editOrganizationalUnit

Previous  Top  Next

This method allows editing an organizational unit. To edit these data, it is necessary to follow the standard documented below.

 

Java class

Request

web/wwwroot/ws/java/admin/ChangeUserStatusRequestType.java

Return

web/wwwroot/ws/java/administration/ChangeUserStatusResponseType.java

 

Request

ID #

Required

Description

Id

X

Organizational unit ID #

Name

X

Organizational unit name

IdUpper

 

Upper organizational unit ID #

Note: When it is sent without value, it deletes the Upper organizational unit (if

any) and moves it to the root

 

Return

ID #

Description

Status

SUCCESS: SUCCESS

FAILURE: FAILURE

Detail

SUCCESS: Record edited successfully

FAILURE: Message regarding the error that occurred

Code

SUCCESS: 1

FAILURE: Code regarding the error that occurred

 

Code

Description

43

ID # has no value

44

Name has no value

52

Organizational unit has no value

53

Inexistent upper level organizational unit

54

[IdUpper] unit is a sublevel of [Id].

57

The organizational unit cannot be the lower level of a department