Netsuite Suitetalk API – Getting started with c#

Not finding a great number of c# examples using the Netsuite Suitetalk  API i thought i’d post a basic example of using the web service.

This simply just authenticates, gets a list of all the users and outputs their names and email addresses to the console.

Snippet

Netsuite API Error – This document you requested has moved temporarily

Immediately after downloading the latest WSDL, I started getting an error back from the login method.  “This document you requested has moved temporarily”,   the url is the one from the Netsuite Platform Guide : https://webservices.netsuite.com/wsdl/v2014_2_0/netsuite.wsdl

As per the error, the default  URL was indeed wrong.  However the URL it suggests in the error message is

Which doesn’t work either.

The actual URL that you’ll want to use is

For more about Netsuites Suitetalk API see http://gbyers.byers.me/?p=401