Method GetCostUnits
GetCostUnits(String, SelectionSettingsContract, String, String)
Read cost units
Declaration
CostUnitsResultContract GetCostUnits(string connectionId, SelectionSettingsContract selectionSettings, string companyNumber, string costUnitNumber)
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 cost units with the company number, default: |
System.String | costUnitNumber | Optional: Filter cost units with the cost unit number default: |
Returns
Type | Description |
---|---|
CostUnitsResultContract | Returns a result package with all necessary informations |
Examples
PUT http://YourServerName/InfoShare/Json/Invoice/GetCostUnits
Example for read cost units.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) |