getUserFields
This action retrieves a set of user fields from within ExtraView.
Input
Class |
Name |
Type |
Required |
Details |
GetUserFieldsRequest |
userId |
String |
Yes |
The callers user name |
GetUserFieldsRequest |
password |
String |
Yes |
The callers password |
Output
Class |
Name |
Type |
Required |
Details |
GetUserFieldsResponse |
success |
boolean |
Yes |
True is succeeded False if failed |
GetUserFieldsResponse |
returnCode |
String |
No |
See Appendix for details |
GetUserFieldsResponse |
returnMessage |
String |
No |
Human readable message |
GetUserFieldsResponse |
userFields |
Array[] |
No |
A list of Field objects |
Field |
id |
String |
Yes |
|
Field |
name |
String |
No |
|
Field |
value |
String |
No |
|
Field |
childOfFieldId |
String |
No |
|
Field |
repeatingRowField |
boolean |
No |
|
Field |
textAreaField |
boolean |
No |
|
Field |
typeOfUserField |
boolean |
No |
|
Example
public static void testGetUserFields(EVUserServiceStub stub) {
try {
GetUserFieldsDocument reqEnvelope = GetUserFieldsDocument.Factory.newInstance();
GetUserFieldsRequest request = reqEnvelope.addNewGetUserFields().addNewParam0();
request.setUserId(ServiceClientHelper.ADMIN_USER_ID);
request.setPassword(ServiceClientHelper.ADMIN_PASSWORD);
GetUserFieldsResponseDocument resEnvelope = stub.getUserFields(reqEnvelope);
GetUserFieldsResponse response = resEnvelope.getGetUserFieldsResponse().getReturn();
if (response.getSuccess()) {
System.out.println("success: [" + response.getReturnCode() + "] : " +
response.getReturnMessage());
} else {
System.out.println("failure: [" + response.getReturnCode() + "] : " +
response.getReturnMessage());
}
} catch (Exception e) {
e.printStackTrace();
System.err.println("nnn");
}
}