Hi,
I tried a lot of various options with no visible signs of success
a) As indicated, I did create a new Query "RSQuery" in the sample CRM BSV as follows :
"SELECT OutgoingEmail.ReplyRequiredBy,OutgoingEmail.State,OutgoingEmail.SentToAddress,OutgoingEmail.Subject,OutgoingEmail.Message,OutgoingEmail.CommunicationType,OutgoingEmail.ContactTime,OutgoingEmail.CreatedOn,OutgoingEmail.CorrespondentLastName,OutgoingEmail.CorrespondentFirstName,OutgoingEmail.ID FROM CRM_OUTGOINGEMAIL AS OutgoingEmail"
I then tried to pass the POST body <root><query_layout_action query_name='RSQuery'/></root> to the URL /AwareIM/xml.awr.
This just returns <query_string>FIND ALL OutgoingEmail</query_string> !!! This is same as run_query_action call to urlRequest.aw.
b) I then try making a POST Call to /AwareIM/urlRequest.aw :
method.addParameter("actionType", "query_layout_action");
method.addParameter("query_name", "RSQuery");
method.addParameter("object_name", "OutgoingEmail");
This returns the error : <root> <query_layout_action_return> <failure>Either object name or query name must be specified as parameters to query_layout_action</failure> </query_layout_action_return> </root>
Can someone please throw some light on how to make a call to get all the attributes ( > 10) of a Business Object either through Query String or through Named Queries?
The strange part is AwareIM expects any integrator or developer to understand all these with absolutely no documentation!
-Raj