Skip to main content
Solved

Create new DAC and put data Using Rest API

  • 19 April 2024
  • 4 replies
  • 84 views

Hi All, I need to create new DAC and dump data into new DAC using Rest API. I know how to code and put data but I am stuck in few questions like If I started new creating new DAC do i need to define new fields in that and save data accordingly and  Also how can i access that DAC using API? is there any blog that can give similar idea. 

4 replies

Userlevel 5
Badge +2

@tahayabali 
If those are custom fields then you can use $custom parameter to retrieve them. 
https://help.acumatica.com/(W(29))/Help?ScreenId=ShowWiki&pageid=a0444120-2e5d-41cd-8c65-0385210b0f8a
Or you can extend the endpoint and add your new fields in the extended endpoint. More information on extending endpoint is here:
https://help.acumatica.com/(W(30))/Help?ScreenId=ShowWiki&pageid=c450492e-06fe-4563-95c3-efa76975415b

 

Userlevel 3
Badge

Thanks Gotcha. But in my scenario I do not want to touch the main customer table instead I want to add that data into separate table of Acumatica with my custom name and fields. I am stuck in this point.

Userlevel 7
Badge

Hi @tahayabali were you able to find a solution? Thank you!

Userlevel 3
Badge

Yes, I have created a  new Dac in new screen and then put data in that Table using PUT APIs. But the PUT API did not work fine in my case. It was just updating the new record on row 1 not inserting 

Reply