Roger Blanchard
447 posts
Registered:
29 Jun 2018
25 May 2023
Link to this post
We have METHOD defined in our BE as what is below.
@RestMethod (address="/Item/~{UpcNum}/~{PackNum}/GetVendorProductItem", requestMethod="get", parameterClassName="Osprey.Pos.Item.ItemParameter", response="poItemParameter").
METHOD PUBLIC VOID GetVendorProductItem ( INPUT-OUTPUT DATASET-HANDLE phDset, poItemParameter AS Osprey.Pos.Item.ItemParameter ):
If we use the following url the second parameter always comes over as null. If we only send one parameter (either one) the value will come over correctly. Can we send multiple parameters like this in a REST call?
http://192.168.168.68:8940/OspreyHostBackend/web/Entities/Item/:UpcNum/:PackNum/GetVendorProductItem?VendorNum=1000&IsReceiving=true