Common methods to add to your code to simplify calling services
The code examples for the NaviLine services use these methods to perform common tasks. You can copy these methods into your own code, so that your code can work with the sample code. The methods need to be part of a static class in order to make them available to all services.
Name | Summary |
---|---|
SetLicenseKey | Set the license key used to authenticate the service. |
SetResponseType | Set the response type to either XML or JSON. |