Skip to content

Commit

Permalink
ODATA-1214 (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfhandl authored Feb 28, 2024
1 parent dbd9b88 commit 9e642a7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/odata-protocol/odata-protocol.html
Original file line number Diff line number Diff line change
Expand Up @@ -2219,7 +2219,7 @@ <h4 id="11551-invoking-an-action"><a name="InvokinganAction" href="#InvokinganAc
<p>4.01 services MUST support invoking actions with no non-binding parameters and parameterless action imports both without a request body and with a request body representing no parameters, according to the particular format. Interoperable clients SHOULD always include a request body, even when invoking actions with no non-binding parameters and parameterless action imports.</p>
<p>If the action returns results, the client SHOULD use content type negotiation to request the results in the desired format, otherwise the default content type will be used.</p>
<p>The client can request whether any results from the action be returned using the <a href="#Preferencereturnrepresentationandreturnminimal"><code>return</code></a> preference.</p>
<p>Actions that create and return a single entity follow the rules for <a href="#CreateanEntity">entity creation</a> and return a <a href="#HeaderLocation"><code>Location</code></a> header that contains the edit URL or read URL of the created entity.</p>
<p>Actions that create and return a single entity follow the rules for <a href="#CreateanEntity">entity creation</a> and return a <a href="#HeaderLocation"><code>Location</code></a> header that contains the edit URL or read URL of the created entity. They MAY be annotated with the term <a href="https://github.com/oasis-tcs/odata-vocabularies/blob/master/vocabularies/Org.OData.Core.V1.md#Constructor"><code>Core.Constructor</code></a> defined in <a href="#ODataVocCore">OData-VocCore</a>.</p>
<p>If the action returns a value of type <code>Edm.Stream</code>, the response to the <code>POST</code> request follows the rules for <a href="#RequestingStreamProperties">requesting stream properties</a>.</p>
<p>Actions without a return type respond with <a href="#ResponseCode204NoContent"><code>204 No Content</code></a> on success.</p>
<p>To request processing of the action only if the binding parameter value, an entity or collection of entities, is unmodified, the client includes the <a href="#HeaderIfMatch"><code>If-Match</code></a> header with the latest known ETag value for the entity or collection of entities. The ETag value for a collection as a whole is transported in the <a href="#HeaderETag"><code>ETag</code></a> header of a collection response.</p>
Expand Down
4 changes: 3 additions & 1 deletion docs/odata-protocol/odata-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -5559,7 +5559,9 @@ using the [`return`](#Preferencereturnrepresentationandreturnminimal) preference
Actions that create and return a single entity follow the rules for
[entity creation](#CreateanEntity) and return a
[`Location`](#HeaderLocation) header that contains the edit URL or read URL of the
created entity.
created entity. They MAY be annotated with the term
[`Core.Constructor`](https://github.com/oasis-tcs/odata-vocabularies/blob/master/vocabularies/Org.OData.Core.V1.md#Constructor)
defined in [OData-VocCore](#ODataVocCore).

If the action returns a value of type `Edm.Stream`, the response to the `POST` request
follows the rules for [requesting stream properties](#RequestingStreamProperties).
Expand Down
4 changes: 3 additions & 1 deletion odata-protocol/11.5 Operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,9 @@ using the [`return`](#Preferencereturnrepresentationandreturnminimal) preference
Actions that create and return a single entity follow the rules for
[entity creation](#CreateanEntity) and return a
[`Location`](#HeaderLocation) header that contains the edit URL or read URL of the
created entity.
created entity. They MAY be annotated with the term
[`Core.Constructor`](https://github.com/oasis-tcs/odata-vocabularies/blob/master/vocabularies/Org.OData.Core.V1.md#Constructor)
defined in [OData-VocCore](#ODataVocCore).

If the action returns a value of type `Edm.Stream`, the response to the `POST` request
follows the rules for [requesting stream properties](#RequestingStreamProperties).
Expand Down

0 comments on commit 9e642a7

Please sign in to comment.