-
Can be used for every controller from application.
-
Authentication: basic.
For user and password must be created a person in application with role “Api“. -
Call:
-
https://[adresa aplicatie]/api/generic/[controller name]/?filter=["WarehouseCode","DC"]
-
controller name: without “controller“ word
-
filter: is optional
-
filter can be passed in request URL or sent in request body.
-
-
other requests:
-
sorting:
-
pagination:
-
limit results count:
-
-
Bellow you have an example of a filter and other requests. All property fields must be in lowercase:
{ "sort": [ { "selector": "column name", "desc": false } ], "filter": [ [ [ "Id", "=", 1 ], "or", [ "id", "=", 52 ] ], "and", [ [ "Date", ">=", "2020-05-06T21:00:00.000Z" ], "and", [ "Date", "<=", "2029-05-07T09:50:00.000Z" ] ] ], "group": null, "requireTotalCount": true, "skip": 0, "take": 5, "select": ["Id", "Persons"] } -
example:
-
-
Response:
-
bellow you have a response example in JSON format:
{ "data": [ { "Password": null, "PasswordString": null, "CompanyCode": "PET", "CompanyName": "PetFactory", "CompanyActive": true } ], "totalCount": -1, "groupCount": -1, "summary": null }
-
-
Rate limits - we heve 2 rate limits:
-
by calling - 100 requests/minute
-
by calling user - 100 requests/minute.
-
Generic API
2 min. cititultima actualizare: 09.25.2026
Centru de Ajutor