We have the following:
@RestMethod (address="/Item/~{UpcNum}~{PackNum}/GetItem", requestMethod="get",
parameterClassName="Osprey.Pos.Item.ItemParameter", response="poItemParameter").
METHOD PUBLIC VOID GetItem ( INPUT-OUTPUT DATASET-HANDLE phDset, poItemParameter AS Osprey.Pos.Item.ItemParameter ):
We have several properties in the ItemParameter class, but in this case we are only using two values from it, UPCNum and PackNum.
When I load up Swagger and look at this GetItem, I see all of the properties from ItemParameters listed as (query) and marked as "* required".
Swagger Screenshot
Last modified on 08 Apr 2021 20:04 by Chuck Bensinger