Need some help where dynamic values in request parameter

Nihar1991Nihar1991 Posts: 38

Hi Team,

I need some help on below REST service.

end point: https://imservices-qa1-usch01.corporate.ingrammicro.com:9043/ESProductSearchCA_vs2

Body:

{"id":"IMproductSummary","params":{"branch":"40","pageSize":12,"pageStart":0,"resellersid":["40064680","000001"],"customerKey":"40064680","webvisibleflag":true,"listOfProducts":["17340G","499055","DY1590","12886T","94968F","29099T"],"Locale":"en-CA","authindex":"im.authorization.ca_en","sboindex":"im.sbo.ca_en","negativeauthindex":"im.authorization-negative.ca_en","custpromoindex":"im.custpromo.ca_en"}}

query: here in this service the request parameter listOfProducts can be multiple or single or any combination. now as per the given body there are 6 products.
but after creating virtual asset by putting this value in an excel sheet, it will take all 6 products.
but will not work for one product or two products.

is there any way of parameterize so that it would take any combination of given 6 SKUs.

Thannks
Nihar Arisal

Sign In or Register to comment.