Can BookId be used in the searchspec of a Web Services v2.0 query?
Hi,
I have been told by On Demand Support that BookId can be used as a query parameter within the searchspec of a web services v2.0 query.
I have tried this for myself and I do not get any returned results (despite there being many inscope records).
Has anybody been able to specify the BookId in the searchspec of a query?
Here is the SOAP request
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ContactQueryPage_Input xmlns="urn:crmondemand/ws/ecbs/contact/"><ListOfContact xmlns="urn:/crmondemand/xml/Contact/Query"><Contact searchspec="([BookId] = 'AHIA-N3S58')"><Id /><AccountId /><ContactEmail /><ContactLastName> <> ''</ContactLastName><ContactFullName /><AccountName /><ListOfServiceRequest><ServiceRequest /></ListOfServiceRequest><ListOfOpportunity><Opportunity /></ListOfOpportunity></Contact></ListOfContact></IncludeSubBooks></ContactQueryPage_Input></soap:Body></soap:Envelope>
I have been told by On Demand Support that BookId can be used as a query parameter within the searchspec of a web services v2.0 query.
I have tried this for myself and I do not get any returned results (despite there being many inscope records).
Has anybody been able to specify the BookId in the searchspec of a query?
Here is the SOAP request
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ContactQueryPage_Input xmlns="urn:crmondemand/ws/ecbs/contact/"><ListOfContact xmlns="urn:/crmondemand/xml/Contact/Query"><Contact searchspec="([BookId] = 'AHIA-N3S58')"><Id /><AccountId /><ContactEmail /><ContactLastName> <> ''</ContactLastName><ContactFullName /><AccountName /><ListOfServiceRequest><ServiceRequest /></ListOfServiceRequest><ListOfOpportunity><Opportunity /></ListOfOpportunity></Contact></ListOfContact></IncludeSubBooks></ContactQueryPage_Input></soap:Body></soap:Envelope>
0