Skip to main content
Solved

Update Custom Entity


Hi team, 

I hope everyone is doing well, 

I would like to know if there is a way to customize a custom entity created in an Acumatica Instance through REST API.

Please see an example below of the Entity I created, As you can see, this is a Custom Entity with a custom name and is basically a summary from different tables. I use this table to create a Generic Inquiry for other reports but, the Fields Forecast should come from a third party software that I have. 

 

 

I tried to create a Custom Endpoint but I didn’t know how to link this table to an screen or how to map the fields from the entry. 

If you can help me with some links or something I can refer to know how to solve question. 

 

Thank you so much in advance!

Best answer by jinin

Hi @hortega ,

Create a Generic Inquiry with the necessary fields in the result grid.

 - Go to the Web Service Endpoint screen.

 - Enter the endpoint's name and version.

 - Click the insert button to open a popup. Enter the entity name and select the GI name.

- Ensure that the "Make Visible on UI" checkbox is selected for the GI. This step is essential for enabling the selection of the GI on the Endpoint screen.


- After saving the endpoint entity, the fields from the result grid will automatically load onto the entity.

- Now, you can proceed to test by making a GET call and retrieving the data.
 

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

4 replies

Forum|alt.badge.img+9
  • Semi-Pro III
  • 229 replies
  • August 29, 2023

Hi @hortega ,

I got similar forum to answer your question.

Accessing Data in Generic Inquiries using Contract Based API’s | Acumatica Cloud ERP.

Have you seen this?

 

Regards,

Sweta


jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • 699 replies
  • Answer
  • August 29, 2023

Hi @hortega ,

Create a Generic Inquiry with the necessary fields in the result grid.

 - Go to the Web Service Endpoint screen.

 - Enter the endpoint's name and version.

 - Click the insert button to open a popup. Enter the entity name and select the GI name.

- Ensure that the "Make Visible on UI" checkbox is selected for the GI. This step is essential for enabling the selection of the GI on the Endpoint screen.


- After saving the endpoint entity, the fields from the result grid will automatically load onto the entity.

- Now, you can proceed to test by making a GET call and retrieving the data.
 


Vignesh Ponnusamy
Acumatica Moderator
Forum|alt.badge.img+5

@hortega,

As it is a GI, you might have to use PUT request(instead of GET as in the last point by @jinin) to retrieve the data. 


jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • 699 replies
  • August 30, 2023

Thanks @Vignesh Ponnusamy . It should be PUT request. By mistake added as GET ☹️


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