You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by bu...@apache.org on 2015/10/06 13:18:13 UTC
svn commit: r967929 - in /websites/staging/olingo/trunk/content: ./
doc/odata4/tutorials/action/tutorial_action.html
Author: buildbot
Date: Tue Oct 6 11:18:13 2015
New Revision: 967929
Log:
Staging update by buildbot for olingo
Modified:
websites/staging/olingo/trunk/content/ (props changed)
websites/staging/olingo/trunk/content/doc/odata4/tutorials/action/tutorial_action.html
Propchange: websites/staging/olingo/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Oct 6 11:18:13 2015
@@ -1 +1 @@
-1706991
+1706993
Modified: websites/staging/olingo/trunk/content/doc/odata4/tutorials/action/tutorial_action.html
==============================================================================
--- websites/staging/olingo/trunk/content/doc/odata4/tutorials/action/tutorial_action.html (original)
+++ websites/staging/olingo/trunk/content/doc/odata4/tutorials/action/tutorial_action.html Tue Oct 6 11:18:13 2015
@@ -157,12 +157,12 @@ root.</p>
</pre></div>
-<p>To call such a Function Import the client issues a GET requests to a URL identifying the function import. The parameters are passed using the so called inline parameter syntax. In this simple cases such a call could look like this:</p>
+<p>To call such a Function Import the client issues a GET requests to a URL identifying the function import. The parameters are passed using the so called inline parameter syntax. In this simple case such a call could look like this:</p>
<div class="codehilite"><pre><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">host</span><span class="o">/</span><span class="n">myService</span><span class="o">/</span><span class="n">StaticCalculateVAT</span><span class="p">(</span><span class="n">NetPrice</span><span class="p">=</span>123<span class="p">.</span>00<span class="p">,</span><span class="n">Country</span><span class="p">=</span>â<span class="n">US</span>â<span class="p">)</span>
</pre></div>
-<p>The definition talks about composing of functions. By default every function is Composable=false, that means there must be no further resource parts after the function call and there must also be no system query options. If a function is composable you`re be able to use all system query options, which are allowed on the return type of the function. Further you can navigate to properties and use Navigation Properties to navigate to related entities.</p>
+<p>The definition talks about composing of functions. By default every function is Composable=false, that means there must be no further resource parts after the function call and there must also be no system query options. If a function is composable you`re be able to use system query options. Which options are allowed in particular is based on the return type of the function. Further you can navigate to properties and use Navigation Properties to navigate to related entities as well.</p>
<p>The definition of Actions / Action Imports in metadata document is similar to functions.</p>
<div class="codehilite"><pre><span class="nt"><Action</span> <span class="na">Name=</span><span class="s">"Reset"</span><span class="nt">></span>
<span class="nt"><Parameter</span> <span class="na">Name=</span><span class="s">"Amount"</span> <span class="na">Type=</span><span class="s">"Edm.Int32"</span><span class="nt">/></span>