Skip to main content

Trying to get a discontinued item.

but when I use GET  "https://????/assystREST/v2/items?shortCode=abcitem” it fails if the item “abcitem” is discontinued but succeed if it is not.

If you ever need to know the available parameters for a resource then using the RAML will tell you:

https://{server}/assystREST/v2/items/raml

In your case you need the includeDiscontinued query parameter:

https://{server}/assystREST/v2/items?shortCode=abcitem&includeDiscontinued=true


Reply