Skip to main content
Solved

How to Retrieve Stock Items > Related Items from Api

  • Jan 18, 2023 9:43 PM UTC
  • 4 replies
  • 692 views
  • Translate All

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/

View original

4 replies

Kulvir Kaila
Jr Varsity I
Forum|alt.badge.img+2
  • Jr Varsity I
  • Answer
  • Jan 18, 2023 9:51 PM UTC

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/

Translate

aaldrich
Freshman II
  • Author
  • Freshman II
  • Jan 18, 2023 10:05 PM UTC

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

Translate

robgriffin00
Jr Varsity II
Forum|alt.badge.img
  • Jr Varsity II
  • Dec 8, 2023 12:09 PM UTC

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?

 

 

Translate

robgriffin00
Jr Varsity II
Forum|alt.badge.img
  • Jr Varsity II
  • Dec 8, 2023 3:59 PM UTC

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.

 

 

Translate