Method UpdateAccountingPeriods
UpdateAccountingPeriods(String, RequestSettingsContract, List<AccountingPeriodUpdateContract>)
Update accounting periods
Declaration
RequestResultContract UpdateAccountingPeriods(string connectionId, RequestSettingsContract requestSettings, List<AccountingPeriodUpdateContract> accountingPeriods)
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<AccountingPeriodUpdateContract> | accountingPeriods | Accounting periods to be edited or added or deleted |
Returns
Type | Description |
---|---|
RequestResultContract | Returns the result of the query |
Examples
PUT http://YourServerName/InfoShare/Json/Invoice/UpdateAccountingPeriods
Example for update accounting periods.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) |