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

getDepartment

Previous  Top  Next

This method returns the data of a department.

 

To search for the data of a department, it is necessary to follow the standard documented below:

Java class

Request

web\wwwroot\ws\java\admin\GetDepartmentRequestType.java

Return

web\wwwroot\ws\java\admin\GetDepartmentResponseType.java

 

Request

ID #

Required

Description

iddepartment

 

ID # of the department to be located

 

Return

ID #

Description

Date

ID #: Department ID #

Department: Department name

Return

SUCCESS: 1

FAILURE: -1

Status

SUCCESS: SUCCESS

FAILURE: FAILURE

Detail

SUCCESS: Executed successfully

FAILURE: Message regarding the error that occurred.

Code

SUCCESS: 1

FAILURE: Code regarding the error that occurred:

16 - The department does not exist