olingo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r904760 - in /websites/staging/olingo/trunk/content: ./ doc/tutorials/batchClientApi.html
Date Thu, 03 Apr 2014 08:59:31 GMT
Author: buildbot
Date: Thu Apr  3 08:59:31 2014
New Revision: 904760

Log:
Staging update by buildbot for olingo

Modified:
    websites/staging/olingo/trunk/content/   (props changed)
    websites/staging/olingo/trunk/content/doc/tutorials/batchClientApi.html

Propchange: websites/staging/olingo/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Apr  3 08:59:31 2014
@@ -1 +1 @@
-1584298
+1584299

Modified: websites/staging/olingo/trunk/content/doc/tutorials/batchClientApi.html
==============================================================================
--- websites/staging/olingo/trunk/content/doc/tutorials/batchClientApi.html (original)
+++ websites/staging/olingo/trunk/content/doc/tutorials/batchClientApi.html Thu Apr  3 08:59:31
2014
@@ -82,7 +82,9 @@
 <li>contentId(String) </li>
 <li>headers(List<String>)</li>
 </ul>
-<pre><code>BatchQueryPart request = BatchQueryPart.method("GET").uri("$metadata").build();</pre>
+<pre><code>
+BatchQueryPart request = BatchQueryPart.method("GET").uri("$metadata").build();
+</pre>
 
 <p></code></p>
 <p><strong>Note:</strong> The valid method value is GET.</p>
@@ -93,18 +95,19 @@ A BatchChangeSetPart is a representation
 <li>uri(String)</li>
 <li>headers(List<String>)</li>
 <li>contentId(String)</li>
-<li>
-<p>body(String)</p>
-<p><pre><code>Map<String, String> changeSetHeaders = new HashMap<String,
String>();
+<li>body(String)</li>
+</ul>
+<pre><code>Map<String, String> changeSetHeaders = new HashMap<String,
String>();
 changeSetHeaders.put("content-type", "application/json;odata=verbose");
 BatchChangeSetPart changeRequest = BatchChangeSetPart.method("PUT")
 .uri("Employees('2')/EmployeeName")
 .headers(changeSetHeaders)
 .body("{\"EmployeeName\":\"Frederic Fall MODIFIED\"}")
 .build();
-...</pre></code></p>
-</li>
-</ul>
+...
+</pre>
+
+<p></code></p>
 <p><strong>Note:</strong> The valid method values are POST, PUT, DELETE
or MERGE.</p>
 <p>The change request has to become a part of a changeSet. For that you need to create
a changeSet object and to attach the change request to this object.</p>
 <div class="codehilite"><pre><span class="p">...</span>



Mime
View raw message