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/04/01 14:58] – [📦 API Resources & Endpoints] toomaset:api_direct [2026/05/05 13:56] (Hetkel kehtiv) – [📦 API Resources & Endpoints] toomas
Rida 172: Rida 172:
 </code> </code>
 **Key Principle:** Use the exact field name as it appears in the API response (or as you see it in the ERP system). **Key Principle:** Use the exact field name as it appears in the API response (or as you see it in the ERP system).
 +
 +====Contains Filtering ====
 +This filtering allows you to search for values containing a specific substring.
 +
 +This works like SQL LIKE'' '%text%' ''logic.
 +Use it when you need flexible filtering for names, codes, descriptions, or any other text fields
 +
 +<code>
 +GET {{baseUrl}}/v{{version}}/customers?name=%john%
 +</code>
 +
  
 ==== 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:
 <code> <code>
-GET {{baseUrl}}/v{{version}}/items?IS_WEIGHT=1 +GET {{baseUrl}}/v{{version}}/items?data_row_code=ART_PROJ 
-GET {{baseUrl}}/v{{version}}/items?VISUAL_VERIFICATION=1+GET {{baseUrl}}/v{{version}}/items?data_row_code=ART_PROJ,BRAND
 </code> </code>
 **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 321: Rida 332:
 GET {{baseUrl}}/v{{version}}/sales_contracts GET {{baseUrl}}/v{{version}}/sales_contracts
 GET {{baseUrl}}/v{{version}}/replacementlogs GET {{baseUrl}}/v{{version}}/replacementlogs
 +GET {{baseUrl}}/v{{version}}/users
 +GET {{baseUrl}}/v{{version}}/recipes
  
  
et/api_direct.1775044714.txt.gz · Viimati muutnud: 2026/04/01 14:58 persoon toomas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki