Method GetCountries
GetCountries(String, SelectionSettingsContract, String, String)
Read countries
Declaration
CountriesResultContract GetCountries(string connectionId, SelectionSettingsContract selectionSettings, string companyNumber, string countryCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
SelectionSettingsContract | selectionSettings | Represents data reading settings |
System.String | companyNumber | Optional: Filter countries with the company number, default: |
System.String | countryCode | Optional: Filter countries with the country code, default: |
Returns
Type | Description |
---|---|
CountriesResultContract | Returns a result package with all necessary informations |
Examples
PUT http://YourServerName/InfoShare/Json/Invoice/GetCountries
Example for read countries.Exceptions
Type | Condition |
---|---|
ServiceException | The connection id {connectionId} isn't valid or has expired (10008) |
ServiceException | Verification code is needed: Verification code not yet verified (10152) |