Question

Assyst REST - how to include discontinued items?


Badge +2

https://<server>:<port>/assystREST/v2/items?shortCode[like]=some_application

 

Consider 5 items with name some_application_x, 2 are discontinued.

How do I include the discontinued items in the REST call above?

 

I’ve tried &discontinued=true and &includeDiscontinued=true, can’t really find any similar examples on the Wiki.

 

Cheers.


2 replies

Badge +4

Hi there,

This should be possible.

If you are wanting the item to return all 5 items, including the discontinued items, then please remove the discontinued=true/false altogether and this should bring back all items including the discontinued items.

Thanks!

 

Badge +2

Hi there,

This should be possible.

If you are wanting the item to return all 5 items, including the discontinued items, then please remove the discontinued=true/false altogether and this should bring back all items including the discontinued items.

Thanks!

 

I would think so too, but here we see 3 items, all of which are not discontinued. If we do a regular search in Assyst, and enable search for discontinued items, we receive 5 items.

 

 

Reply