Skip to main content
Solved

How to Retrieve Stock Items > Related Items from Api

  • January 18, 2023
  • 4 replies
  • 638 views

aaldrich
Freshman II

Hello,

I’m looking for a way to retrieve the Related Items from the Acumatica APIs. Is there any way to do this?

 

I expected that I would be able to find it on the /entity/Default/20.200.001/StockItem API but it does not appear to exist as a detail object.

Best answer by Kulvir Kaila

You can try to extend the endpoint and follow the steps are listed in my blog to get a rough idea:
https://www.acumatica.com/blog/extending-acumatica-web-service-endpoints/

4 replies

Kulvir Kaila
Jr Varsity I
Forum|alt.badge.img+1
  • Jr Varsity I
  • Answer
  • January 18, 2023

You can try to extend the endpoint and follow the steps are listed in my blog to get a rough idea:
https://www.acumatica.com/blog/extending-acumatica-web-service-endpoints/


aaldrich
Freshman II
  • Author
  • Freshman II
  • January 18, 2023

That worked! I was able to add RelatedItems by extending the endpoint


robgriffin00
Jr Varsity II
Forum|alt.badge.img
  • Jr Varsity II
  • December 8, 2023

Hello, I ran into the exact same issue and found this post.  

 

I created a new endpoint named RelatedItems.  I have created other endpoints this way and they have worked, but the dev team is reporting this one is not working.  What is different about this one?

 

 


robgriffin00
Jr Varsity II
Forum|alt.badge.img
  • Jr Varsity II
  • December 8, 2023

As an add on to my question above I also asked the dev team if they could use the web service on the Acumatica Related Items screen.  That does not appear to work for them either.