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:07] – [📦 API Resources & Endpoints] toomas | et:api_direct [2026/10/21 08:16] (Hetkel kehtiv) – [📦 API Resources & Endpoints] toomas | ||
|---|---|---|---|
| Rida 350: | 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}}/ | ||
| + | GET {{baseUrl}}/ | ||
| </ | </ | ||
| This list is general. The resources available to your key are listed in openapi.json. | This list is general. The resources available to your key are listed in openapi.json. | ||
| Rida 726: | 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 767: | 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 814: | Rida 819: | ||
| ==== Essential Endpoints ==== | ==== Essential Endpoints ==== | ||
| < | < | ||
| - | Items: | + | API description GET / |
| - | Customers: | + | Items: |
| - | Orders: | + | Customers: |
| - | Invoices: | + | Orders: |
| - | Stock: | + | Invoices: |
| - | Deletions: | + | Stock: |
| + | Deletions: | ||
| </ | </ | ||
et/api_direct.1790154451.txt.gz · Viimati muutnud: 2026/09/23 12:07 persoon toomas