Custom webservices on NetSuite - netsuite

Is there a way to upload custom web services to the netsuite platform to add custom business processing logic?
Looked into SuiteApp/SuiteBundles and all they provide is a way to extend existing records/forms/lists, add custom scripts so on and so forth. Havent been able to find information on integrating external webservices.

You can use Restlets to create Custom Functionality in a particular Netsuite account and than the restlet can be accessed externally.

If you want the logic of web-service written in Java / .Net then you can use SuiteTalk to communicate with NetSuite. Where all the processing is done in your service and you use API to get/set data to/from NetSuite.
But on the flip side you have to host this service on your end.. NetSuite can only host web-services written in the form of RestLet / SuiteLet.

Related

How to use Connect Services for event notifications in REST API with PHP SDK?

Helpers, I want to use Connect services with my DocuSign rest APIs integrated website. Could anyone help me out, Where can I get these in the GitHub? Basically the need is:
Once the document is fully executed, it will be routed via DocuSign connect to a folder which aligns with the name of the employee. This will require work on both the elected system as well as the DocuSign API to configure.
No problemo! These days, I suggest using an intermediate PaaS to queue and deliver the webhook notifications to your application which can live safely behind your firewall.
Here's a blog post on the technique. Note that we have PHP example software for this technique.
Once your PHP app is notified that an envelope is complete (fully signed), just download the documents from DocuSign and store them in your file system. Easy Peasy!

Can following be achieved using Docusign APIs?

I'm trying to achieve some requirements via Docusign APIs. Would like to know if it's possible before I start the project.
I've used Docusign app for Salesforce earlier, but now I'm trying to achieve some functionalities through API calls
Ability for a Signed Document sent to a contact (by clicking on a button on contact record) to be attached to the Contact record it was sent from
Ability to write back to the record from a field tagged on the DocuSign envelope
Vinay, this functionality is available using the DocuSign for Salesforce integration. If you would like to write it yourself using APIs, you can start by looking at our Apex toolkit here - https://developers.docusign.com/salesforce/guides/apex-toolkit

afterSubmit function is not trigger when the order is placed through webservice API

I have my suitescript to run when a new sales order is created. It's working fine when I login to netsuite and manually create a sales order. I know my script is working when I received a test email from my suitescript code.
However, when the order is placed through a webservice API, my suitescript is not trigger, I dont' receive the test email.
My question, does suitscript suppose to work when the order is placed through webservice API as well or it has to create a suitetalk way to make it work?
User event scripts are triggered by WebServices API as well. Check if your script is applied to the role and user the Webservice integration is linked to.
More info:
Deploying a Script by using the Deployments Sublist
Also check if you have the option "RUN SERVER SUITESCRIPT AND TRIGGER WORKFLOWS" checked under webservices preferences. You can reach this page by going to Setup > Integration > Web Service Preferences

What are the calls allowed by QuickBooks Web Connector?

My client has two Companies on the same QBES (Enterprise), in other words, two Company files.
We are creating a Web Application (Angular + Web Api 2) to automatically generate Purchase Orders based on new Sales Receipts created by their ecommerce integration plug-in (probably SkuVault), we need then to create the Sales Order in Company B based on this PO, and after that, the Bills and Invoices respectively. I found all the calls I should be calling on the SDK documents, but since this architecture requires us to use Web Connector, will I be able to make all the calls listed on the SDK using the Web Connector?
What are the calls allowed by QuickBooks Web Connector?
All of them.
will I be able to make all the calls listed on the SDK using the Web Connector?
Yes.
More details:
The Web Connector is just a SOAP wrapper around the normal QuickBooks SDK calls. It's nothing special or magical or even very technical in nature, it's just a simple SOAP wrapper around the rest of the XML-based COM SDK. So, anything you can feed to QuickBooks normally, you can feed via the Web Connector.

NetSuite JournalEntry Rest URL

I have a REST based GET url for getting all the accounts from NetSuite
https://rest.netsuite.com/rest/roles
HTTP Headers:
Authorization : NLAuth nlauth_account=1234,nlauth_email=myname#email.com,nlauth_signature=mypassword, nlauth_role=3
This is results set of accounts as json data.
I am working on connecting to Netsuite and create Journal Entry, Is there any REST URL for JournalEntry to create ie POST operation?.
If there is no REST for Journal entries, is there SOAP consuming guide to create journal entries?
As I understood it, there is a url generated for your RESTlet script when you deploy it. You can create a RESTlet for creating JE during POST, deploy it and call the generated URL from your external system.
The rest url you are using is a standard from netsuite without any code of yours.
https://rest.netsuite.com/rest/roles
For other records, you need to create a restlet script and access it from your java application.
You can also use SOAP webservices. You can find documentation for those in netsuite.

Resources