Question

I want to publish my API to other multiple sites


I want to publish that API to other multiple sites using some code, I will be having access token of every customer but not UI access. So can you please share the way of publishing this kind of extension to any customer


11 replies

Userlevel 3
Badge +1

Hi there,

Just a couple of questions:

Is the code you created in a customization package?

Is the API an extension of the Default Web Service?

I followed these steps, 

https://asiablog.acumatica.com/2016/08/extending-acumatica-default-endpoint.html

as I have made many changes in Accumatica endpoint extension and I have more than 50 acumatica customers using my integration app, I can not add manually these extended changes. So I want some kind of code or API by using which I can publish my changes to all other logged in users to my system.

Userlevel 3
Badge +1

You can add a custom Web Service Endpoint to a Project.  Use this customization package and publish to all your other instances.

https://help-2022r1.acumatica.com/(W(6))/Help?ScreenId=ShowWiki&pageid=9a21959b-1cb6-4409-9382-625184af60e5

can you help me to find how to create customization package and publish it?

Userlevel 3
Badge +1

I’ve sent you a DM

I have replied on your DM, I just want to know now, how can I create package and publish them?

Userlevel 3
Badge

 @DharmandarKumar 
You can create a customization package on “Customization Projects”. Please find and example of creating the package and adding your custom endpoint on page 35 of I310 Training guide, link below
https://openuni.acumatica.com/wp-content/uploads/2017/08/I310_WebServicesDataRetrievalBasic_2022R1.pdf

To publish the project, you can click on “Publish” button after selecting the project.
 

For detailed information on publishing package, please see below:
https://help-2022r1.acumatica.com/(W(1))/Help?ScreenId=ShowWiki&pageid=e6a2428f-23e1-4765-8746-bcf5848eb467

@ruchikasharma23 

@Kulvir Kaila 

I Have follow all the steps.

but import only project 

new endpoints not showing.

Userlevel 3
Badge

Hi @DharmandarKumar 
When you created this package, were you able to successfully add the your custom endpoint as shown below? Once you add it, you would notice “Web Service Endpoints” updated with a number as highlighted below-

 

@ruchikasharma23

yes i am able to add custom endpoint

but when i import the package 

endpoint not show 

Userlevel 3
Badge

Hi @DharmandarKumar 
I suggest trying the following steps-
1. Create your custom/extended endpoint on “Web Service Endpoints” screen.
2. Add this endpoint in a customization project. You can create a customization project as mentioned above.
3. Export this package. It will download in a zip folder.
4. Login to the instance where you want to publish this package. Go to Customization Projects screen → import the package and publish it.

Hope this helps!

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 — 2022  Acumatica, Inc. All rights reserved