getSettingsAccountingCode function
GET /api/{api_version}/settings/accounting_codes/{accounting_code_id}
Implementation
Future<ApiResponse<SettingsAccountingCode>> getSettingsAccountingCode(
ExsitedClient client,
Object accountingCodeId, {
Map<String, Object?>? queryParams,
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(AccountingCodesUrls.settingsAccountingCode,
pathParams: {'accounting_code_id': accountingCodeId},
queryParams: queryParams,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: SettingsAccountingCode.fromMap);