Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Дозволяє шукати обʼєкти процедур по даті останньої зміни обʼєкта ЦБД

Приклад запиту:

Code Block
curl --location 'https://procedure.prozorro.sale/api/search/procedures' \
--header 'Content-Type: application/json' \
--data '{
    "page": 1,
    "limit": 100,
    "filters": [
        {
            "field": "dateModified",
            "operator": "gt",
            "value": "2025-05-14T00:00:47.00Z"
        }
    ],
    "sort": [
        {
            "field": "datePublished",
            "direction": "desc"
        }
    ]
}'

byStatus

Дозволяє шукати обʼєкти процедур по актуальному статусу обʼєкта

Code Block
curl --location 'https://procedure.prozorro.sale/api/search/procedures' \
--header 'Content-Type: application/json' \
--data '{
    "page": 1,
    "limit": 10,
    "filters": [
        {
            "field": "status",
            "operator": "in",
            "value": [
                "unsuccessful",
                "cancelled"
            ]
        }
    ]
}'

all_available_filters

В цьому запиті Postman можна побачити всі доступні фільтри