title: Using SharePoint's lists.asmx and UpdateListItems to delete an item by Guid or UniqueId
body: <p>I am trying to call the lists.asmx UpdateListItems() to delete a list item by unique id or guid.  The following batch xml fails with "Invalid URL Parameter. The URL provided contains an invalid Command or Value. Please check the URL again". </p>
  
  <pre><code>&lt;Batch OnError="Continue" ListVersion="1" ViewName=""&gt;
    &lt;Method ID="1" Cmd="Delete"&gt;
      &lt;Field Name="Guid"&gt;7be4a863ce-08de-4506-9c69-400749860e76&lt;/Field&gt;
    &lt;/Method&gt;
  &lt;/Batch&gt;
  </code></pre>
  
  <p>In addition, I have tried with and without enclosing "{}", UrlEncoding, using UniqueId instead of Guid, prefixing the guid with "[id];#", etc.  but to no avail.  </p>
  
  <p>Using the ID will work, but I would prefer using the Guid if possible:</p>
  
  <pre><code>&lt;Batch OnError="Continue" ListVersion="1" ViewName=""&gt;
    &lt;Method ID="1" Cmd="Delete"&gt;
      &lt;Field Name="ID"&gt;29&lt;/Field&gt;
    &lt;/Method&gt;
  &lt;/Batch&gt;
  </code></pre>
  
  <p>Anyone have any ideas, or is this not possible using the UniqueID or Guid?</p>