This action sets the Business Area and Project for the current user within the database.
Class |
Name |
Type |
Required |
Details |
SetWorkingProjectAreaRequest |
userId |
String |
Yes |
The callers user name |
SetWorkingProjectAreaRequest |
password |
String |
Yes |
The callers password |
SetWorkingProjectAreaRequest |
areaId |
Integer |
Yes |
The area id to be set as the current area for the user |
SetWorkingProjectAreaRequest |
projectId |
Integer |
Yes |
The project id to be set as the current project for the user |
Class |
Name |
Type |
Required |
Details |
SetWorkingProjectAreaResponse |
success |
boolean |
Yes |
True is succeeded False if failed |
SetWorkingProjectAreaResponse |
returnCode |
String |
No |
See Appendix for details |
SetWorkingProjectAreaResponse |
returnMessage |
String |
No |
Human readable message |
public static void testSetWorkingProjectArea(EVSystemServiceStub stub){
try{ SetWorkingProjectAreaDocument reqEnvelope = SetWorkingProjectAreaDocument .Factory .newInstance(); SetWorkingProjectAreaRequest request = request.setUserId(ServiceClientHelper.ADMIN_USER_ID); SetWorkingProjectAreaResponseDocument resEnvelope = SetWorkingProjectAreaResponse response = if (response.getSuccess()) { } catch (Exception e) { |