Question

Customer Endpoint - POST via REST API

  • 4 April 2024
  • 1 reply
  • 33 views

Hii I'm getting an issue while trying to create a customer in Acumatica from Salesforce using an API POST request. To address a mapping problem in the default endpoint, I've created a Custom Endpoint with an action named "Save" specifically for this purpose. However, upon sending the request, I receive an error message: "The request is invalid," along with details stating that "The Entity field is required."

Could you please assist me in resolving this issue?

 


1 reply

Userlevel 7
Badge +5

@sambhavjain You are not supposed to Map save action to an endpoint. To write (and save) data to Acumatica please use ‘PUT’ request type and remove the Save action mapping. 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved