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/05/05 13:56] – [📦 API Resources & Endpoints] toomas | et:api_direct [2026/09/01 15:41] (Hetkel kehtiv) – [Getting Your API Key] 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:toomas20260401-145732.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:api_direct: |
| ==== Quick Start Guide ==== | ==== Quick Start Guide ==== | ||
| Rida 27: | Rida 27: | ||
| **Current Configuration: | **Current Configuration: | ||
| - | * **baseUrl**: | + | * **baseUrl**: |
| - | * **version**: | + | * **version**: |
| **Example Full URL:** | **Example Full URL:** | ||
| < | < | ||
| - | [https:// | + | https:// |
| </ | </ | ||
| Rida 48: | Rida 48: | ||
| ==== Getting Your API Key ==== | ==== Getting Your API Key ==== | ||
| - | Contact | + | If your company doesn' |
| + | |||
| + | If a key has already been created, there' | ||
| ==== Security Best Practices ==== | ==== Security Best Practices ==== | ||
| Rida 334: | Rida 336: | ||
| GET {{baseUrl}}/ | GET {{baseUrl}}/ | ||
| GET {{baseUrl}}/ | GET {{baseUrl}}/ | ||
| + | GET {{baseUrl}}/ | ||
| + | GET {{baseUrl}}/ | ||
| + | GET {{baseUrl}}/ | ||
| + | GET {{baseUrl}}/ | ||
| </ | </ | ||
| - | Postman collection can be downloaded here: e: {{:et:toomas20260401-145732.json|Directo API postman | + | Postman collection can be downloaded here: e: [[:et:api_direct:postman|POSTMAN]] |
| Rida 649: | Rida 654: | ||
| </ | </ | ||
| + | ==== Issue: `usagelogs` missing older entries ==== | ||
| + | |||
| + | **Possible Cause:** Log retention is capped by Administrator settings | ||
| + | ("Log age in days" / "Log age in transactions" | ||
| + | [Administraatori seadistused](https:// | ||
| + | not by the API itself. | ||
| + | |||
| + | **Solution: | ||
| + | start pulling and archiving `/ | ||
| ===== 📞 Support & Resources ===== | ===== 📞 Support & Resources ===== | ||
et/api_direct.1777978565.txt.gz · Viimati muutnud: 2026/05/05 13:56 persoon toomas