getDepartment
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 |
Request structure:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:admin">
<soapenv:Header/>
<soapenv:Body>
<urn:getDepartment>
<urn:iddepartment>?</urn:iddepartment>
</urn:getDepartment>
</soapenv:Body>
</soapenv:Envelope>
Return:
ID # | Description |
---|---|
Data | 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 - Department does not exist |