Saturday, December 29, 2018

C# .NET Sample Code: getDataCenterUrls

// Instantiate the NetSuite web services
_service = new NetSuiteService();
 
//Append the following:

//Get the appropriate WS domain for your account
GetDataCenterUrlsResult response = _service.getDataCenterUrls("ACCOUNT_NUMBER");
//Parse the domain into a string and append the WSDL version
_service.Url = response.dataCenterUrls.webservicesDomain + "/services/NetSuitePort_2012_2";

 

No comments:

Post a Comment