• Demo
  • Liên hệ
  • Đăng nhập
  • Đăng ký
  • English (US) Tiếng Việt
ERPOnline
  • Giới thiệu
    • Tổng quan tính năng
    • Ứng dụng & Mô-đun
  • Biểu phí
  • Dịch vụ
    • Tư vấn và triển khai Odoo
    • Đào tạo Odoo
    • Tùy biến tính năng Odoo
    • Nâng cấp Odoo
  • Giải pháp
    Giải pháp theo nghiệp vụ Quản lý Quan hệ khách hàng Quản lý Bán Hàng/Dịch vụ Quản lý Mua sắm Hoạch định nguồn lực Sản xuất (MRP) Quản lý Nhân sự (HRM) Kế toán Tài chính (Financial Accounting) Kế toán Quản trị (Analytical Accounting) Bán lẻ với POS (Point of Sales) Thương mại điện tử tích hợp
    Giải pháp Chuyên Ngành ERP cho DN sản xuất ERP cho DN Thương mại & Dịch vụ ERP cho Siêu thị, Cửa hàng bán lẻ ERP cho ngành Đóng tàu ERP cho DN Du lịch & Lữ hành ERP cho Trường học ERP cho DN vận tải hành khách
  • Tài liệu
    • Tài liệu Hướng dẫn người dùng
    • Trung tâm Hỗ trợ
  • Cuộc hẹn
  • 0
  • 0
  • Liên hệ
ERPOnline
  • 0
  • 0
    • Giới thiệu
      • Tổng quan tính năng
      • Ứng dụng & Mô-đun
    • Biểu phí
    • Dịch vụ
      • Tư vấn và triển khai Odoo
      • Đào tạo Odoo
      • Tùy biến tính năng Odoo
      • Nâng cấp Odoo
    • Giải pháp
    • Tài liệu
      • Tài liệu Hướng dẫn người dùng
      • Trung tâm Hỗ trợ
    • Cuộc hẹn
  • Liên hệ
  1. ỨNG DỤNG
  2. Ghi nhật ký API Request 17.0
Ghi nhật ký API Request
Ghi nhật ký API Request

Ghi nhật ký API Request

bởi Viindoo

4.9

$ 31,03 $ 31,03
v 17.0 1
Demo Video demo
Số dòng Code 880
Tên kỹ thuật viin_api_request_logger
Giấy phép OPL-1
Website https://viindoo.com/apps/modules/17.0/viin_api_request_logger
Đọc mô tả cho v 18.0 v 19.0
Các mở rộng Viindoo AI Tích hợp Zalo OA Nền tảng định tuyến đa nhà cung cấp Viindoo Tích hợp Mapbox Matrix API Tích hợp Vietmap Matrix & Routing API Tích hợp HERE Routing API Tích hợp Google Routes API Tích hợp SeaRoutes cho tuyến biển
  • Mô tả
  • Tài liệu hướng dẫn
  • Giấy phép
Viindoo Logo
Odoo Community
Odoo Enterprise
Viindoo Cloud

What the API was asked, and what it answered

A log of API requests - method, payload, response status and headers - so an integration can be debugged from the system rather than from a customer's screenshot.

API Request Logger (technical name viin_api_request_logger) is an Odoo 17.0 app for Odoo Community and Odoo Enterprise and Viindoo Cloud, built for integrator, support, developer, administrator.

What the API was asked, and what it answered

At a Glance

The facts of API Request Logger, version 0.1.1, in one place. Published by Viindoo.

Technical name
viin_api_request_logger
Odoo version
17.0 (Odoo Community, Odoo Enterprise, Viindoo Cloud)
Category
Technical
Depends on
base, bus
Adds
3 new models, 1 extended model, 2 menus, 1 access group
Licence
OPL-1
Best for
Integrator; Support; Developer; Administrator
Not for
It logs; it does not replay.
Last updated
2026-09-06
Key features
A central log of API requests and their responses, Method, endpoint, payload, status and response headers, A mixin so a record can link to the last request that touched it, Readable by administrators, in the back office, Useful for debugging and for settling integration disputes, Nothing changes about how the API behaves
Live demo
v17demo-int.viindoo.com
  • Features
  • Demo
  • Support
  • Releases

How It Works

Two screens.

1

The requests

Endpoint, method and response status - the list a support engineer opens first.

API request logs
2

One request

What was sent and what was answered, in full.

A logged request

What You Get

A central log of API requests and their responses

Method, endpoint, payload, status and response headers

A mixin so a record can link to the last request that touched it

Readable by administrators, in the back office

Useful for debugging and for settling integration disputes

Nothing changes about how the API behaves

More Screens

Everything below was taken on a database seeded with real business data, on this series - not a mock-up and not a screenshot from an older version.

A request

A request

What This App Does Not Do

Read this before you buy. Everything below is something the app deliberately leaves to another app or to you.

It logs; it does not replay.

Re-sending a failed call is the integration's job.

Logs grow.

Plan a retention policy - a busy API produces a lot of rows.

Payloads may contain personal data.

Restrict access accordingly; the model is administrator-facing on purpose.

It does not monitor uptime.

It records requests that arrived, not the ones that never did.

Works Well With

Apps from the same stack, built to fit this one:

Expiring Tokens

The other half of API hygiene.

to_token_expiration

Bank Connector

An integration worth logging.

viin_bank_connector

Viindoo Base

The foundation layer.

to_base

Who Should Use API Request Logger?

Integrator

Sees the request as it arrived, not as it was described.

Support

Answers whether a call reached the system.

Developer

Debugs from data instead of from a reproduction attempt.

Administrator

Keeps a trail of what external systems are doing.

Frequently Asked Questions

What does API Request Logger do?

A log of API requests - method, payload, response status and headers - so an integration can be debugged from the system rather than from a customer's screenshot.

What does API Request Logger not do?

It logs; it does not replay. Re-sending a failed call is the integration's job. Logs grow. Plan a retention policy - a busy API produces a lot of rows. Payloads may contain personal data. Restrict access accordingly; the model is administrator-facing on purpose. It does not monitor uptime. It records requests that arrived, not the ones that never did.

Who is API Request Logger for?

Integrator: Sees the request as it arrived, not as it was described. Support: Answers whether a call reached the system. Developer: Debugs from data instead of from a reproduction attempt. Administrator: Keeps a trail of what external systems are doing.

Which Odoo version and editions does it support?

Odoo 17.0 - Odoo Community, Odoo Enterprise, Viindoo Cloud. Upgrades to a newer Odoo series are a separate purchase for that series.

What does it depend on?

It installs on top of: base, bus. Odoo installs them with it.

How do I set it up?

Two screens.

What works well with it?

Expiring Tokens (to_token_expiration): The other half of API hygiene. Bank Connector (viin_bank_connector): An integration worth logging. Viindoo Base (to_base): The foundation layer.

Can I try it before buying?

Yes - the Live Preview button at the top of this page opens the module's own screen on a working database.

How do I get support?

Write to apps.support@viindoo.com with your Odoo version and the technical name viin_api_request_logger; pre-sales questions go to sales@viindoo.com.

See API Request Logger in Action

Live demo: v17demo-int.viindoo.com/web#action=viin_api_request_logger.action_api_request_log

Need help with API Request Logger?

For questions, implementation support or a custom feature, contact Viindoo.

Pre-Sales & Partnership

sales@viindoo.com

Technical Support

apps.support@viindoo.com

Answered within one working day.

Upgrades to a newer Odoo series are a separate purchase for that series.

All Viindoo apps: apps.odoo.com/apps/modules/browse?author=Viindoo

About Viindoo. Viindoo builds and maintains more than 1,000 apps on the Odoo App Store for the Community and Enterprise editions and runs them on Viindoo Cloud. A purchase of API Request Logger covers the 17.0 series: bug fixes on the module reach you through the store, questions go to apps.support@viindoo.com with the technical name viin_api_request_logger, and moving to a newer Odoo series is a separate purchase for that series. Source code is delivered with the module and stays yours to read and adapt.

Technical Requirement

Editions: Odoo Community, Odoo Enterprise, Viindoo Cloud
License: OPL-1

Changes log

0.1.1 - Latest on the 17.0 line

  • A viewer mixin lets a record point at the last API request that touched it.

API Request Logger Documentation

Overview

The viin_api_request_logger module provides a framework for logging and monitoring API requests in Odoo. Designed for developers and administrators, it tracks all details of API interactions, including:

  • User initiating the request
  • Related model and record
  • Request parameters, headers, and payload
  • API response data and errors
  • Request duration

Key Features

  • Detailed Logging: Capture all request/response details, including errors.
  • Secret-Safe Transport Logs: Sensitive header and query-string secrets are masked before being written to api.request.log.
  • Error Monitoring: Automatically logs failed API requests for better debugging.
  • Extensible Integration: Easily integrate with models using the provided mixins.
  • User-Friendly API Log Viewer: Quickly access logs related to any model record.
  • Customizable: Fully adaptable for specific business needs.

Installation

  1. Install the module via the Odoo Apps interface or the command line:

    odoo-bin -c <config_file> -i viin_api_request_logger
    
  2. Configure user access rights to ensure secure access to logs.

Usage

Logging API Requests

To enable automatic logging for API requests, inherit the api.request.mixin in your model and use the make_request method. Here's an example:

class ExampleIntegration(models.AbstractModel):
    _name = 'example.integration'
    _inherit = 'api.request.mixin'

    def example_api_call(self):
        response = self.make_request(
            method="GET",
            url="https://api.example.com/data",
            headers={"Authorization": "Bearer <token>"},
            params={"key": "value"},
            res_model="example.model",
            res_id=1,
        )
        return response.json()

Viewing API Logs

To allow users to view related logs, inherit the api.log.viewer.mixin in your model. This mixin provides:

  • `last_api_request_log_id`: A computed field showing the most recent API log.
  • `action_view_api_logs`: An action to display all related logs.

Example:

class ExampleModel(models.Model):
    _name = 'example.model'
    _inherit = 'api.log.viewer.mixin'

Logs can also be accessed via the "API Logs" menu in the Odoo interface.

Logging Guarantees

  • request_headers always masks default sensitive headers such as Authorization and X-API-Key.
  • request_url and name store the effective request URL, including query parameters expanded from params, with sensitive query-string values masked.
  • Each outbound API call creates a single api.request.log record, including HTTP 4xx/5xx responses.
  • Non-JSON responses fall back to raw response.text so HTML/plain-text vendor error pages still appear in the log.

Customizing the Logger

Override _prepare_log_values to include custom fields in the log:

def _prepare_log_values(self, method, url, headers, data, response, duration, res_model=None, res_id=None, error_message=None):
    values = super()._prepare_log_values(method, url, headers, data, response, duration, res_model, res_id, error_message)
    values.update({"custom_field": "Custom Value"})
    return values

Configuration

The module works out-of-the-box but can be extended for advanced configurations.

Advanced Scenarios

  • Custom Headers: Use the headers parameter in make_request to add headers such as authentication tokens.
  • Sensitive Query Parameters: Override _get_sensitive_query_param_keys() to mask provider-specific secret query parameters in logged URLs.
  • API Monitoring: Leverage the response_headers and response_data fields to debug or analyze responses.
  • Integration with External Tools: Export logs for use with monitoring tools like ELK Stack or Datadog.

Support

For assistance, please contact Viindoo support at https://viindoo.com.

Phần mềm này và các tệp liên kết ("Phần mềm") được sử dụng (chạy, tuỳ biến, chạy sau khi được tuỳ biến) chỉ khi bạn mua được giấy phép có hiệu lực từ tác giả, điển hình như qua các Ứng dụng Odoo, hoặc trong trường hợp bạn nhận được thoả thuận bằng văn bản từ tác giả của Phần mềm (chi tiết tại tệp COPYRIGHT).

Bạn có thể phát triển các phân hệ Odoo có sử dụng Phần mềm như một Thư viện (thường là phụ thuộc vào, nhập vào và sử dụng nguồn của nó) nhưng không sao chéo bất kỳ mã nguồn hay tài liệu nào thuộc Phần mềm. Bạn có thể phân phối những phân hệ này theo giấy phép mà bạn lựa chọn, miễn sao nội dung giấy phép đó tương tích với điều khoản của Giấy phép Phần mềm Độc quyền Odoo (ví dụ: LGPL, MIT hay bất kỳ loại giấy phép phần mềm độc quyền nào tương tự vậy).

Nghiêm cấm phát hành, phân phối, cấp phép lại hoặc bán bản sao của Phần mềm hoặc bản sao Phần mềm đã được sửa đổi.

Thông báo bản quyền và chấp thuận nêu trên buộc phải được bao gồm trong tất cả các bản sao hoặc các phần quan trọng của Phần mềm.

PHẦN MỀM ĐƯỢC CUNG CẤP "NGUYÊN TRẠNG", KHÔNG BẢO ĐẢM DƯỚI BẤT KỲ HÌNH THỨC NÀO, ĐƯỢC THỂ HIỆN RÕ RÀNG HOẶC NGỤ Ý, KHÔNG GIỚI HẠN ĐẢM BẢO VỀ CÁC BẢO ĐẢM NGỤ Ý VỀ KHẢ NĂNG THƯƠNG MẠI, PHÙ HỢP VỚI MỤC ĐÍCH CỤ THỂ VÀ KHÔNG VI PHẠM. TRONG MỌI TRƯỜNG HỢP SẼ KHÔNG CÓ TÁC GIẢ HOẶC CHỦ SỞ HỮU BẢN QUYỀN NÀO CHỊU TRÁCH NHIỆM VỀ BẤT KỲ KHIẾU NẠI, THIỆT HẠI HOẶC TRÁCH NHIỆM PHÁP LÝ KHÁC NÀO TRONG PHẠM VI HỢP ĐỒNG, CÁC THIỆT HẠI HOẶC CÁCH KHÁC, PHÁT SINH TỪ, NGOÀI HOẶC CÓ LIÊN KẾT VỚI PHẦN MỀM HOẶC VIỆC SỬ DỤNG HOẶC KINH DOANH KHÁC TẠI PHẦN MỀM.

ERPOnline
Head Office: Phòng 820-823, Tầng 8, Tòa nhà Thành Đạt 3, số 4 đường Lê Thánh Tông, Phường Ngô Quyền, TP. Hải Phòng
+84 225 730 9838
Mã số Doanh nghiệp: 0201994665
Được cấp bởi Sở Kế hoạch và Đầu tư Thành phố Hải Phòng
Logo Sale Noti MOIT
Về chúng tôi
Tin tức Liên hệ Blogs Tuyển dụng
Tài nguyên
Tài liệu hướng dẫn sử dụng Tài liệu kỹ thuật Github Runbot
Chính sách
Điều khoản sử dụng​ Chinh sách quyền riêng tư Chính sách hỗ trợ Bảo mật & An toàn dữ liệu Thanh toán Giấy phép APGL V3 14 ngày hoàn tiền Cách tính phí ERPOnline Thỏa thuận cung cấp ERPOline Quy định về diễn đàn và hỏi đáp
Dịch vụ
Khoá học Diễn đàn
ERPOnline là thương hiệu thuộc sở hữu của Công ty Cổ phần Công nghệ Viindoo
English (US) English (US)  Tiếng Việt Tiếng Việt
Được hỗ trợ bởi Viindoo - Tạo một website miễn phí

Chúng tôi sử dụng cookie để cung cấp cho bạn trải nghiệm người dùng tốt hơn trên trang web này. Chính sách cookie

Chỉ những thứ cần thiết Tôi đồng ý