Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
where can I find sample code
I am trying to locate some sample code for accessing the Net Suite Web Service. Can anyone point me in the right direction. I have been reading the 'webserviceplatform guide.pdf' and it mentions "A sample C# based application is available on the NetSuite Web services portal." Where can I find this sample application, where is the web services portal? Also, where can I find the account number than I need to login in with the Passport object?
Passport passport = new Passport();
passport.account = "TSTDRV96";
passport.email = "username@netsuite.com";
RecordRef role = new RecordRef();
role.id = "3";
passport.role = role;
passport.password = "foobar1";
0