Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Sample Script: How to make an external call (REST interface)
Background
This example uses the StrikeIron Address Verification REST interface to validate an address.
The URL request corresponding to this service call is constructed in JavaScript. nlapiRequestURL is used
to make the external callout and the return values are extracted from the REST-formatted XML response using some
of the built-in XPath SuiteScript functions.
REST Protocol
Sample Request (REST Interface)
Address: 2955 Campus Dr, Suite 175, San Mateo, CA, 94403
URL used: http://ws.strikeiron.com/StrikeIron/USAddressVerification4_0/USAddressVerification/VerifyAddressUSA?LicenseInfo.RegisteredUser.UserID=USER_NAME_HERE&LicenseInfo.RegisteredUser.Password=*****&VerifyAddressUSA.addressLine1=2955%20Campus%20Drive&VerifyAddressUSA.addressLine2=Suite%20175&VerifyAddressUSA.city_state_zip=San%20Mateo%2C%20CA%2C%2094403