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/02/18 12:02] – [📦 API Resources & Endpoints] toomas | et:api_direct [2026/05/05 13:56] (Hetkel kehtiv) – [📦 API Resources & Endpoints] toomas | ||
|---|---|---|---|
| Rida 10: | Rida 10: | ||
| * API key (obtain from your Directo administrator) | * API key (obtain from your Directo administrator) | ||
| * Basic understanding of REST APIs and HTTP methods | * Basic understanding of REST APIs and HTTP methods | ||
| - | * API Resources and Endpint can be found in Postman collection. Response field list managed in Directo ERP. Postman collection can be downloaded here: {{:et:toomas20260204-114827.json|POSTMAN}} | + | * API Resources and Endpint can be found in Postman collection. Response field list managed in Directo ERP. Postman collection can be downloaded here: {{:et:toomas20260401-145732.json|POSTMAN}} |
| ==== Quick Start Guide ==== | ==== Quick Start Guide ==== | ||
| Rida 172: | Rida 172: | ||
| </ | </ | ||
| **Key Principle: | **Key Principle: | ||
| + | |||
| + | ====Contains Filtering ==== | ||
| + | This filtering allows you to search for values containing a specific substring. | ||
| + | |||
| + | This works like SQL LIKE'' | ||
| + | Use it when you need flexible filtering for names, codes, descriptions, | ||
| + | |||
| + | < | ||
| + | GET {{baseUrl}}/ | ||
| + | </ | ||
| + | |||
| ==== Comparison Operators ==== | ==== Comparison Operators ==== | ||
| Rida 230: | Rida 241: | ||
| If you have custom fields defined in your ERP system (visible in the datafields array), you can filter by them: | If you have custom fields defined in your ERP system (visible in the datafields array), you can filter by them: | ||
| < | < | ||
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| - | GET {{baseUrl}}/ | + | GET {{baseUrl}}/ |
| </ | </ | ||
| **How to Find Custom Field Names:** Make a request without filters and examine the datafields array in the response. | **How to Find Custom Field Names:** Make a request without filters and examine the datafields array in the response. | ||
| Rida 312: | Rida 323: | ||
| 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}}/ | ||
| + | |||
| </ | </ | ||
| - | Postman collection can be downloaded here: {{:et:toomas20260210-083652.json|Directo API postman collection}} | + | Postman collection can be downloaded here: e: {{:et:toomas20260401-145732.json|Directo API postman collection}} |
et/api_direct.1771408976.txt.gz · Viimati muutnud: 2026/02/18 12:02 persoon toomas