editOrganizationalUnit
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 |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:admin">
<soapenv:Header/>
<soapenv:Body>
<urn:editOrganizationalUnit>
<!--You may enter the following 3 items in any order-->
<urn:Id>?</urn:Id>
<urn:Name>?</urn:Name>
<urn:IdUpper>?</urn:IdUpper>
</urn:editOrganizationalUnit>
</soapenv:Body>
</soapenv:Envelope>
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 | The 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 |