deleteSettingsAccountingCode function

Future<ApiResponse<Object?>> deleteSettingsAccountingCode(
  1. ExsitedClient client,
  2. Object accountingCodeId, {
  3. bool? raiseOnError,
  4. String? responseFormat,
})

DELETE /api/{api_version}/settings/accounting_codes/{accounting_code_id}

No typed view: no 2xx response was recorded for it. Read response.map.

Implementation

Future<ApiResponse<Object?>> deleteSettingsAccountingCode(
  ExsitedClient client,
  Object accountingCodeId, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendDeleteRequest(AccountingCodesUrls.settingsAccountingCode,
        pathParams: {'accounting_code_id': accountingCodeId},
        raiseOnError: raiseOnError,
        responseFormat: responseFormat);