Method GetServiceTypes
GetServiceTypes(String, SelectionSettingsContract, String)
Read service types
Declaration
ServiceTypesResultContract GetServiceTypes(string connectionId, SelectionSettingsContract selectionSettings, string serviceTypeNumber)
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 | serviceTypeNumber | Optional: Filter service types with the service type number, default: |
Returns
Type | Description |
---|---|
ServiceTypesResultContract | Returns a result package with all necessary informations |
Examples
PUT http://YourServerName/InfoShare/Json/Invoice/GetServiceTypes
Example for read service types.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) |