et:api_direct
Erinevused
Siin näed erinevusi valitud versiooni ja hetkel kehtiva lehekülje vahel.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| et:api_direct [2026/09/23 12:05] – [🔍 Advanced Filtering (Key Feature)] toomas | et:api_direct [2026/10/21 08:16] (Hetkel kehtiv) – [📦 API Resources & Endpoints] toomas | ||
|---|---|---|---|
| Rida 17: | Rida 17: | ||
| - **Choose Format**: Set the Accept header to application/ | - **Choose Format**: Set the Accept header to application/ | ||
| - **Make Your First Request**: Try the "All items" request to retrieve your item catalog | - **Make Your First Request**: Try the "All items" request to retrieve your item catalog | ||
| + | - **Call GET / | ||
| ==== Base URL & Versioning ==== | ==== Base URL & Versioning ==== | ||
| Rida 349: | Rida 350: | ||
| < | < | ||
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| + | GET {{baseUrl}}/ | ||
| + | GET {{baseUrl}}/ | ||
| + | GET {{baseUrl}}/ | ||
| + | GET {{baseUrl}}/ | ||
| + | GET {{baseUrl}}/ | ||
| </ | </ | ||
| + | This list is general. The resources available to your key are listed in openapi.json. | ||
| Postman collection can be downloaded here: e: [[: | Postman collection can be downloaded here: e: [[: | ||
| Rida 723: | Rida 729: | ||
| * Support for major resources: items, customers, orders, invoices, stock levels | * Support for major resources: items, customers, orders, invoices, stock levels | ||
| * JSON/XML support & ERP-style filtering | * JSON/XML support & ERP-style filtering | ||
| + | * added API discovery (openapi.json) 23.09.2026 | ||
| ===== 🔒 Security & Compliance ===== | ===== 🔒 Security & Compliance ===== | ||
| Rida 764: | Rida 771: | ||
| * **Tip 2:** Test filters in ERP interface first. | * **Tip 2:** Test filters in ERP interface first. | ||
| * **Tip 3:** Build filter strings programmatically. | * **Tip 3:** Build filter strings programmatically. | ||
| + | * **Tip 4:** Use openapi.json to discover available fields and filters. It is faster than an unfiltered request, downloads no data and includes field types. | ||
| **Example (Python):** | **Example (Python):** | ||
| Rida 811: | Rida 819: | ||
| ==== Essential Endpoints ==== | ==== Essential Endpoints ==== | ||
| < | < | ||
| - | Items: | + | API description GET / |
| - | Customers: | + | Items: |
| - | Orders: | + | Customers: |
| - | Invoices: | + | Orders: |
| - | Stock: | + | Invoices: |
| - | Deletions: | + | Stock: |
| + | Deletions: | ||
| </ | </ | ||
et/api_direct.1790154301.txt.gz · Viimati muutnud: 2026/09/23 12:05 persoon toomas