Web API Wizard- receiving multiple requests in one structure
Posted: Fri Jul 22, 2022 10:45 pm
Hello everybody,
I need to create an Web API that should receive the following structure:
How many such elements the request contains can vary from time to time.
How many such elements the request contains can vary from time to time.
I have in my Web API server module, which I created automatically using the LANSA wizard, a path /customer_price, which in turn has an operation Getcustomer_prices (verb=get).
Do I have to define anything in this operation to receive this structure? By default the parameter SearchString is created automatically.
And how do I process such a structure in the associated server routine Getcustomer_prices?
Unfortunately I can't find any hint in the documentation or LearnLANSA tutorials on how to implement this - and I have no idea how to handle this...
Many thanks in advance for your support,
Jörg
I need to create an Web API that should receive the following structure:
How many such elements the request contains can vary from time to time.
How many such elements the request contains can vary from time to time.
I have in my Web API server module, which I created automatically using the LANSA wizard, a path /customer_price, which in turn has an operation Getcustomer_prices (verb=get).
Do I have to define anything in this operation to receive this structure? By default the parameter SearchString is created automatically.
And how do I process such a structure in the associated server routine Getcustomer_prices?
Unfortunately I can't find any hint in the documentation or LearnLANSA tutorials on how to implement this - and I have no idea how to handle this...
Many thanks in advance for your support,
Jörg