Retrieves an item from the ExtraView database based upon the itemId you provide in the function call.
Class |
Name |
Type |
Required |
Details |
GetItemRequest |
userId |
String |
Yes |
The callers user name |
GetItemRequest |
password |
String |
Yes |
The callers password |
GetItemRequest |
itemId |
Integer |
No |
The Id of the item being fetched |
GetItemRequest |
itemId |
int |
? |
The int item id (this is optional if itemIdStr is given, else it is required) |
GetItemRequest |
returnRawXML |
Boolean |
No |
If you want the raw XML returned with the parse fields. This should be set to false for performance. |
Class |
Name |
Type |
Required |
Details |
GetItemResponse |
success |
boolean |
Yes |
True is succeeded False if failed |
GetItemResponse |
returnCode |
String |
No |
See Appendix for details |
GetItemResponse |
returnMessage |
String |
No |
Human readable message |
GetItemResponse |
xml |
String |
No |
The item in XML format |
ExecuteItemSearchResponse |
itemRecords |
Array[] |
Yes |
An array of ItemRecord objects |
ItemRecord |
numberOfItemRecordFields |
int |
Yes |
The number of field records in the child array |
ItemRecord |
itemRecordFields |
Array[] |
Yes |
An array of ItemRecordField objects |
ItemRecordField |
fieldId |
String |
Yes |
The id of the field |
ItemRecordField |
fieldTitle |
String |
Yes |
The title of the field |
ItemRecordField |
fieldValue |
String |
Yes |
The value of the field |
ItemRecordField |
row |
int |
Yes |
The repeating row value |
public static void testGetItem(EVItemServiceStub stub) {
try { GetItemRequest request = request.setUserId(ServiceClientHelper.ADMIN_USER_ID); GetItemResponseDocument resEnvelope = GetItemResponse response = if (response.getSuccess()) { } catch (Exception e) { |