Kasutaja tarvikud

Lehe tööriistad



et:api_direct

Erinevused

Siin näed erinevusi valitud versiooni ja hetkel kehtiva lehekülje vahel.

Lõlita võrdlemise vaatele

Both sides previous revisionPrevious revision
Next revision
Previous revision
et:api_direct [2026/07/02 12:24] – [Prerequisites] toomaset: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:toomas20260702-122402.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:postman|POSTMAN]]
 ==== Quick Start Guide ==== ==== Quick Start Guide ====
  
Rida 27: Rida 27:
 **Current Configuration:** **Current Configuration:**
  
-  * **baseUrl**: [https://login.directo.ee/apidirect](https://login.directo.ee/apidirect) +  * **baseUrl**: <code>https://login.directo.ee/apidirect</code> 
-  * **version**: 1 (current API version)+  * **version**: <code>1</code> (current API version)
  
 **Example Full URL:** **Example Full URL:**
 <code> <code>
-[https://login.directo.ee/apidirect/v1/items](https://login.directo.ee/apidirect/v1/items)+https://login.directo.ee/apidirect/v1/items
 </code> </code>
  
Rida 48: Rida 48:
  
 ==== Getting Your API Key ==== ==== Getting Your API Key ====
-Contact your Directo system administrator to obtain an API key. Each key is associated with specific permissions and access levels.+If your company doesn't have an API key yet, contact your Directo project manager — they will generate it. 
 + 
 +If a key has already been created, there's no need to request it again: any user with SUPER rights can view it on the employee card under Settings → Integration.
  
 ==== Security Best Practices ==== ==== Security Best Practices ====
Rida 336: Rida 338:
 GET {{baseUrl}}/v{{version}}/nettings GET {{baseUrl}}/v{{version}}/nettings
 GET {{baseUrl}}/v{{version}}/usagelogs GET {{baseUrl}}/v{{version}}/usagelogs
 +GET {{baseUrl}}/v{{version}}/expenses
 +GET {{baseUrl}}/v{{version}}/approvals
  
 </code> </code>
  
-Postman collection can be downloaded here: e: {{:et:toomas20260401-145732.json|Directo API postman collection}}+Postman collection can be downloaded here: e: [[:et:api_direct:postman|POSTMAN]]
  
  
et/api_direct.1782984281.txt.gz · Viimati muutnud: 2026/07/02 12:24 persoon toomas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki