Skip to main content
Solved

Blanket Sales Order: how to create child orders via API?

  • 4 September 2024
  • 4 replies
  • 56 views

Forum|alt.badge.img

How is it possible to invoke the “Create Child Orders” action using the REST API?

Best answer by praveenpo

Hi @dominicfedco,

Yes, it is possible. Actions can be invoked through REST API.

Please go through the link below you can find the example.

https://stackoverflow.com/questions/56432870/acumatica-rest-api-endpoint-action-call-fails

View original
Did this topic help you find an answer to your question?

4 replies

praveenpo
Semi-Pro II
Forum|alt.badge.img+3
  • Semi-Pro II
  • 92 replies
  • Answer
  • September 5, 2024

Hi @dominicfedco,

Yes, it is possible. Actions can be invoked through REST API.

Please go through the link below you can find the example.

https://stackoverflow.com/questions/56432870/acumatica-rest-api-endpoint-action-call-fails


Forum|alt.badge.img
  • Author
  • Freshman II
  • 10 replies
  • September 5, 2024

Thanks for the reply @praveenpo!

 

The “Web Service Endpoints” screen lists several actions for the /SalesOrder endpoint, but “Create Child Orders” is not among them.

Perhaps the endpoint needs to be extended in order to map this action?


praveenpo
Semi-Pro II
Forum|alt.badge.img+3
  • Semi-Pro II
  • 92 replies
  • September 5, 2024

Yes @dominicfedco , you can extend the endpoint and add the action.
 


Forum|alt.badge.img
  • Author
  • Freshman II
  • 10 replies
  • September 5, 2024

I was able to successfully invoke the action using the REST API after extending the SalesOrder entity to map the CreateChildOrders action. Thank you, @praveenpo!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings