Use Advanced Rest Client (ARC) to Test Web Services Requests

Written by
Manuelito Macalinao
Published on
January 30, 2024 at 2:48:47 AM PST January 30, 2024 at 2:48:47 AM PSTth, January 30, 2024 at 2:48:47 AM PST
Scenario

This solution applies for users who want to test out sending Web Services requests using the Google Advanced Rest Client (ARC).Advanced Rest Client is a Google Chrome Application that can be used to test one's Web Services requests, by sending it directly to NetSuite.

Solution

To do this, see the screenshots below:

Note:User shouldnavigate toSetup > Company > Company Information, click on theCompany URLstab and copy theSuiteTalk (SOAP and REST web services)URL for the current Account and fill it in the Request URL section, followed by the SuiteTalk DNS route via the /services/NetSuitePort_input_desired_WSDL version URL parameters, as in the screenshot above

Note:SOAPAction header dictates the Web Service action to be executed. User should fill in the appropriate value that matches the payload (i.e. add, get, getList, search etc.)

User needs to switch to the Body tab and fill the page as shown in the following screenshot:

Note:User should choose the Body content type value asapplication/xml
Upon 'Send' button click, the request will be sent to NetSuite. The results will appear on the bottom half of the page.
Note:Screenshots are showing the older Web Services endpoint, but is valid for any endpoint, new or old.This is just to show how to use this particular application to send the requests. The article would stop being valid only if we would make bigger changes to the endpoints, but if just the version of the endpoint is changing after a new release, everything will still work in the same way in doing the Web Service calls.