Exemplo n.º 1
0
 /// <summary>
 /// Update Location Specific Chart of Accounts
 /// </summary>
 /// <remarks>
 /// Updates the location specific chart of accounts configuration for the business.
 /// </remarks>
 public Task <AuChartOfAccountsLocationGroupModel> UpdateLocationSpecificChartOfAccountsAsync(int businessId, int locationId, AuChartOfAccountsLocationGroupModel chartOfAccounts, CancellationToken cancellationToken = default)
 {
     return(ApiRequestAsync <AuChartOfAccountsLocationGroupModel, AuChartOfAccountsLocationGroupModel>($"/business/{businessId}/chartofaccounts/location/{locationId}", chartOfAccounts, Method.POST, cancellationToken));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Update Location Specific Chart of Accounts
 /// </summary>
 /// <remarks>
 /// Updates the location specific chart of accounts configuration for the business.
 /// </remarks>
 public AuChartOfAccountsLocationGroupModel UpdateLocationSpecificChartOfAccounts(int businessId, int locationId, AuChartOfAccountsLocationGroupModel chartOfAccounts)
 {
     return(ApiRequest <AuChartOfAccountsLocationGroupModel, AuChartOfAccountsLocationGroupModel>($"/business/{businessId}/chartofaccounts/location/{locationId}", chartOfAccounts, Method.POST));
 }