1. v1
Tourwell Open APIs
  • Tổng quan
  • Hướng dẫn xác thực
  • API Zalo Mini App (Beta)
  • API Changelog
  • Error Response
  • Khách hàng
    • v1
      • Get by id
      • Get all customer
      • Create customer
      • Update customer
      • Get order history
  • Đơn hàng
    • v1
      • Get by id
      • Get all order
      • Create order tour
      • Create order product
      • Create order hotel
      • Create order flight
      • Confirm payment order
      • Cancel order
      • Import Order Flight
  • Sản phẩm
    • v1
      • Create product
      • Get by id
      • Calendar pricing
      • Get all product
      • Get schedule by id
      • Update product
  • Chiết tinh giá
    • v1
      • Overview
  • Nhà cung cấp
    • v1
      • Get & Search suppliers
      • Get suppliers products
  • Lịch khởi hành
    • v1
      • Get all tour
      • Create tour
  • Lead (Cơ hội)
    • Overview
    • Update History
    • v1
      • Get all lead
      • Get by id
      • Create lead
      • Update lead
  • Khách sạn
    • v1
      • Get all hotel
      • Get by id
  • Kế toán
    • Phiếu thu
      • v1
        • Get all receipt
        • Create receipt
        • Update receipt
        • Confirm Receipt Success
    • Phiếu chi
      • v1
        • Get all payment
        • Confirm Payment
    • Hóa đơn
      • Update invoice
      • Issue Invoice
      • Get by id
      • Cancel invoice
  • Phê duyệt
    • v1
      • Overview
  • Cấu hình
    • Zalo ZNS
      • Danh sách Tag
      • Get token
    • Địa điểm
      • Search
    • Nhân sự nội bộ
      • Search
    • Webhook
      • Hướng dẫn cài đặt
    • Trạng thái khách hàng
      • Get All
    • Loại dịch vụ
    • Mã sân bay
      • Get All Airport
  • Hướng dẫn tích hợp
    • Hướng dẫn tích hợp thanh toán trực tuyến qua Website và Tourwell
    • Hướng dẫn tích hợp thanh toán trực tuyến qua Website, Cổng thanh toán và Tourwell
  1. v1

Overview

TÀI LIỆU TÍCH HỢP HỆ THỐNG PHÊ DUYỆT
Tài liệu này hướng dẫn tích hợp Front-end / Mobile tích hợp quy trình "Trạm Phê Duyệt" (Approval Hub) thông qua Open API.
Endpoint Tích Hợp
1.
Lấy Summary Badge Số Lượng
Endpoint này dùng để hiển thị số lượng các phiếu đang chờ phê duyệt.
URL: GET /api/v1/approvals/summary
Response Thành Công (200 OK):
2.
Lấy Danh Sách Cần Duyệt (Paging)
Fetch danh sách chi tiết các phiếu đang chờ duyệt dựa theo từng loại phiếu.
URL: GET /api/v1/approvals
Query Parameters:
mode (string, required): Lọc theo mảng loại chứng từ. Các key khả dụng: payment_voucher, receipt_voucher, tour_estimate, tour_settlement, tour_sale, quote, contract.
page (int, optional): Phân trang (nếu có đủ số lượng).
Response Thành Công (200 OK):
3.
Thực thi Ký & Duyệt
Gọi Endpoint này để user Xác Nhận Duyệt một chứng từ hoặc dự toán.
URL: POST /api/v1/approvals/execute
Body Parameters (JSON):
Response Thành Công (200 OK):
Response Thất Bại (400 Bad Request):
Modified at 2026-04-08 15:27:08
Previous
Cancel invoice
Next
Zalo ZNS
Built with