REST API module for Perfex CRM

Patched REST API module for Perfex CRM 3.1.0

Free Download via Daily Lucky Task or 10 Credits
- POST /api/invoices/{id}/send returned HTTP 500 on PHP 8. Two calls in
Invoices_model passed the internal $playground flag into the wrong
parameter, which sent contact lookups to a non-existent
tblplayground_contacts table and passed false where an array was
expected ("foreach() argument must be of type array|object, false
given"). Reported by a customer on Perfex 3.4.1 / PHP 8.4.
- The same argument-order mistake existed at 39 further call sites across
Contracts, Credit notes, Estimates, Expenses, Misc, Payments, Projects,
Proposals, Statement, Subscriptions, Tasks and Tickets. These were
silent in normal use but made playground mode read and write the live
tables. All 41 are corrected and a full audit of every model call
against its real signature now reports none.
- Removed a PHP 8.4 deprecation notice from Subscriptions_model that
could print into the JSON response on servers with display_errors on.
NEW – Dynamic Custom Table Endpoints for Third-Party Modules
NEW – CRUD Operations for Custom Database Tables
NEW – Column Validation for Custom Tables
NEW – Third-Party Module Integration Support
NEW – Automation Connectors for Zapier, Make.com, and n8n
NEW – Polling Endpoints with timestamp filtering
NEW – Test Endpoints for automation trigger validation
NEW – IP Whitelist and Blacklist Middleware
NEW – Request Size Limit Middleware
NEW – Security Headers Middleware
NEW – Middleware Settings UI
NEW – Events Webhooks System
NEW – Webhook Management UI
NEW – HMAC Signature Verification
NEW – Postman Collection Generator
NEW – API Response Transformers
NEW – Request Logger Middleware
NEW – Response Caching Middleware
NEW – Pagination Feature
NEW – Task Checklists Support
NEW – Task Assignees Support
-Complete CRUD Operations for Items (tblitems)
-GET all tickets endpoint added
-Global Pagination Support for all list endpoints
-Standardized pagination response format (data + meta)
-Pagination parameters: ?page=X&per_page=Y (default: 20, max: 100)
-Applied pagination to: Items, Tickets, Leads, Customers, Invoices, Estimates, Projects, Tasks
-Task Checklist API endpoints (GET, POST, PUT, DELETE)
-Task assignees support for POST and PUT operations
-Fixed Tasks PUT method to handle JSON and form-data requests
-Fixed task update bugs: repeat_every format, attachment deletion, name requirement
-Fixed assignee validation to prevent invalid staff IDs
-Database migration fixes: UTF8MB4 charset, foreign key constraints, NULL handling
-Updated Swagger/OpenAPI documentation with global pagination parameters
-Enhanced API documentation comments in all controllers
-New REST_Controller helper: apply_pagination() method
-Corrected Items controller to use proper tblitems database structure
-Added support for Zip code in Leads
-Added support for Add Payments (POST)
  • Like
Reactions: conproal
-Attachment upload function added for Leads/Contracts/Projects/Tasks/Tickets/Expenses
-Added support for Timesheets
-Added support for Subscriptions
- Added support for Calendar Events
Added permissions feature for API tokens
Back
Top