Skip to main content
Solved

I want to publish my API to other multiple sites


Forum|alt.badge.img

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

Best answer by ruchikasharma23

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!

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

11 replies

Kulvir Kaila
Jr Varsity I
Forum|alt.badge.img+1
  • Jr Varsity I
  • 61 replies
  • July 27, 2022

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?


Forum|alt.badge.img

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.


Kulvir Kaila
Jr Varsity I
Forum|alt.badge.img+1
  • Jr Varsity I
  • 61 replies
  • July 27, 2022

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


Forum|alt.badge.img

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


Kulvir Kaila
Jr Varsity I
Forum|alt.badge.img+1
  • Jr Varsity I
  • 61 replies
  • July 27, 2022

I’ve sent you a DM


Forum|alt.badge.img

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


Forum|alt.badge.img+2

 @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


Forum|alt.badge.img

@ruchikasharma23 

@Kulvir Kaila 

I Have follow all the steps.

but import only project 

new endpoints not showing.


Forum|alt.badge.img+2

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-

 


Forum|alt.badge.img

@ruchikasharma23

yes i am able to add custom endpoint

but when i import the package 

endpoint not show 


Forum|alt.badge.img+2
  • Acumatica Moderator
  • 58 replies
  • Answer
  • August 3, 2022

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


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