-
Hi @MarkMpn, Can you tell how you are retrieving list of Web API available Functions / Actions (Sql4CDS nomenclature: Stored Procedures)? BR |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The code to retrieve the list of actions is at It will retrieve all the available actions, but not all are made available to invoke as stored procedures or table valued functions. In order to be executable as a table valued function, a message must have:
To be executable as a stored procedure the same conditions apply, except that messages with no response fields are also acceptable. In the case of the |
Beta Was this translation helpful? Give feedback.
The code to retrieve the list of actions is at
Sql4Cds/MarkMpn.Sql4Cds.Engine/MessageCache.cs
Line 54 in 1ddcc99
It will retrieve all the available actions, but not all are made available to invoke as stored procedures or table valued functions.
In order to be executable as a table valued function, a message must have:
a. A single field of an entity-derived type, OR
b. A single field of an entity collection, OR
c. one or more fields of a scala…