Method UpdateCostUnits
UpdateCostUnits(String, RequestSettingsContract, List<CostUnitUpdateContract>)
Update cost units
Declaration
RequestResultContract UpdateCostUnits(string connectionId, RequestSettingsContract requestSettings, List<CostUnitUpdateContract> costUnits)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionId | The connection id to identify your connection. See also ConnectionId |
RequestSettingsContract | requestSettings | Request settings, e.g. Language |
System.Collections.Generic.List<CostUnitUpdateContract> | costUnits | Cost units to be edited or added or deleted |
Returns
Type | Description |
---|---|
RequestResultContract | Returns the result of the query |
Examples
PUT http://YourServerName/InfoShare/Json/Invoice/UpdateCostUnits
Example for update 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) |