From 013e371ccb255b1328bd8df7c3d9e071fc738d38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Heiko=20Thei=C3=9Fen?= Date: Fri, 7 Jun 2024 10:49:48 +0200 Subject: [PATCH] Rephrased --- docs/odata-json-format/odata-json-format.html | 2 +- docs/odata-json-format/odata-json-format.md | 5 +++-- odata-json-format/16 Bound Function.md | 5 +++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/odata-json-format/odata-json-format.html b/docs/odata-json-format/odata-json-format.html index 307019ac..ff3924f4 100644 --- a/docs/odata-json-format/odata-json-format.html +++ b/docs/odata-json-format/odata-json-format.html @@ -1662,7 +1662,7 @@

17 Bound Acti

18 Action Invocation

Action parameter values are encoded in a single JSON object in the request body.

Each non-binding parameter value is encoded as a separate name/value pair in this JSON object. The name is the name of the parameter. The value is the parameter value in the JSON representation appropriate for its type. Entity typed parameter values MAY include a subset of the properties, or just the entity reference, as appropriate to the action. Stream typed parameter values are represented following the same rules as inlined stream properties.

-

Alternatively, values of non-binding parameters MAY be specified as common expressions OData-URL, section 5.1.1. In the case of a bound action these MAY contain path expressions OData-URL, section 5.1.1.15, which the service evaluates on the binding parameter value. Such parameters are encoded as name/value pairs where the name is the name of the parameter followed by @expressionUrl and the value is the common expression. As the following example demonstrates, even non-transient entities can be passed as non-binding action parameters in this way.

+

Alternatively, values of non-binding parameters MAY be specified as common expressions OData-URL, section 5.1.1. In the case of a bound action these MAY contain path expressions OData-URL, section 5.1.1.15, which the service evaluates on the binding parameter value. Such parameters are encoded as name/value pairs where the name is the name of the parameter followed by @expressionUrl and the value is the common expression. As the following example demonstrates, non-transient entities can be passed as non-binding action parameters through a resource path in this way.

Example 49: An employee requests leave from their manager for the next two weeks:

POST /service/Employees(23)/self.RequestLeave
diff --git a/docs/odata-json-format/odata-json-format.md b/docs/odata-json-format/odata-json-format.md
index f9eadbaa..511179c4 100644
--- a/docs/odata-json-format/odata-json-format.md
+++ b/docs/odata-json-format/odata-json-format.md
@@ -2978,8 +2978,9 @@ Alternatively, values of non-binding parameters MAY be specified as common expre
 these MAY contain path expressions [OData-URL, section 5.1.1.15](#ODataURL), which
 the service evaluates on the binding parameter value. Such parameters are encoded as name/value
 pairs where the name is the name of the parameter followed by `@expressionUrl` and
-the value is the common expression. As the following example demonstrates, even
-non-transient entities can be passed as non-binding action parameters in this way.
+the value is the common expression. As the following example demonstrates,
+non-transient entities can be passed as non-binding action parameters through a
+resource path in this way.
 
 ::: example
 Example 49: An employee requests leave from their manager for the next two weeks:
diff --git a/odata-json-format/16 Bound Function.md b/odata-json-format/16 Bound Function.md
index 209e338a..a136f9eb 100644
--- a/odata-json-format/16 Bound Function.md	
+++ b/odata-json-format/16 Bound Function.md	
@@ -239,8 +239,9 @@ Alternatively, values of non-binding parameters MAY be specified as common expre
 these MAY contain path expressions [OData-URL, section 5.1.1.15](#ODataURL), which
 the service evaluates on the binding parameter value. Such parameters are encoded as name/value
 pairs where the name is the name of the parameter followed by `@expressionUrl` and
-the value is the common expression. As the following example demonstrates, even
-non-transient entities can be passed as non-binding action parameters in this way.
+the value is the common expression. As the following example demonstrates,
+non-transient entities can be passed as non-binding action parameters through a
+resource path in this way.
 
 ::: example
 Example ##ex: An employee requests leave from their manager for the next two weeks: