Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Try to use following SOAP format:</p> <pre><code> &lt;s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"&gt; &lt;s:Body&gt; &lt;Execute xmlns="http://schemas.microsoft.com/xrm/2011/Contracts/Services" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"&gt; &lt;request i:type="a:RetrieveMultipleRequest" xmlns:a="http://schemas.microsoft.com/xrm/2011/Contracts"&gt; &lt;a:Parameters xmlns:b="http://schemas.datacontract.org/2004/07/System.Collections.Generic"&gt; &lt;a:KeyValuePairOfstringanyType&gt; &lt;b:key&gt;Query&lt;/b:key&gt; &lt;b:value i:type="a:QueryExpression"&gt; &lt;a:ColumnSet&gt; &lt;a:AllColumns&gt;false&lt;/a:AllColumns&gt; &lt;a:Columns xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"&gt; &lt;c:string&gt;firstname&lt;/c:string&gt; &lt;/a:Columns&gt; &lt;/a:ColumnSet&gt; &lt;a:Criteria&gt; &lt;a:Conditions&gt; &lt;a:ConditionExpression&gt; &lt;a:AttributeName&gt;emailaddress1&lt;/a:AttributeName&gt; &lt;a:Operator&gt;Equal&lt;/a:Operator&gt; &lt;a:Values xmlns:c="http://schemas.microsoft.com/2003/10/Serialization/Arrays"&gt; &lt;c:anyType i:type="d:string" xmlns:d="http://www.w3.org/2001/XMLSchema"&gt;abc@a.com&lt;/c:anyType&gt; &lt;/a:Values&gt; &lt;/a:ConditionExpression&gt; &lt;/a:Conditions&gt; &lt;a:FilterOperator&gt;And&lt;/a:FilterOperator&gt; &lt;a:Filters /&gt; &lt;a:IsQuickFindFilter&gt;false&lt;/a:IsQuickFindFilter&gt; &lt;/a:Criteria&gt; &lt;a:Distinct&gt;false&lt;/a:Distinct&gt; &lt;a:EntityName&gt;contact&lt;/a:EntityName&gt; &lt;a:LinkEntities /&gt; &lt;a:Orders /&gt; &lt;a:PageInfo&gt; &lt;a:Count&gt;0&lt;/a:Count&gt; &lt;a:PageNumber&gt;0&lt;/a:PageNumber&gt; &lt;a:PagingCookie i:nil="true" /&gt; &lt;a:ReturnTotalRecordCount&gt;false&lt;/a:ReturnTotalRecordCount&gt; &lt;/a:PageInfo&gt; &lt;a:NoLock&gt;false&lt;/a:NoLock&gt; &lt;/b:value&gt; &lt;/a:KeyValuePairOfstringanyType&gt; &lt;/a:Parameters&gt; &lt;a:RequestId i:nil="true" /&gt; &lt;a:RequestName&gt;RetrieveMultiple&lt;/a:RequestName&gt; &lt;/request&gt; &lt;/Execute&gt; &lt;/s:Body&gt; &lt;/s:Envelope&gt; </code></pre> <p>BTW. you can use SOAPLogger where was located in SDK\samplecode\cs\client\soaplogger to get the correct SOAP expression.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload