Roger Blanchard
447 posts
Registered:
29 Jun 2018
12 Jun 2024
Link to this post
We have a method in our BE that is called via REST. The following will work just fine and returns the dataset.
@RestMethod (address="/ESLItem/~{UpcNum}/~{PackNum}/GetUpc", requestMethod="get", parameterClassName="Osprey.Pos.Item.ItemParameterWeb", response="dsItem:eItem").
METHOD PUBLIC VOID GetUpc ( INPUT-OUTPUT DATASET dsItem,
poItemParameter AS Osprey.Pos.Item.ItemParameterWeb
):
However,
If we use the response="dsItem:eItem" we get an empty response.
@RestMethod (address="/ESLItem/~{UpcNum}/~{PackNum}/GetUpc", requestMethod="get", parameterClassName="Osprey.Pos.Item.ItemParameterWeb", response="dsItem:eItem").
METHOD PUBLIC VOID GetUpc ( INPUT-OUTPUT DATASET dsItem,
poItemParameter AS Osprey.Pos.Item.ItemParameterWeb
):
I even tried the "dsItem:no-envelope" and it also returns an empty response.