Open API Description
Документація по роботі з api
- Формат
- docx
- Записів
- 44
- Розмір
- 18 КБ
- Стан
- завантажено, перевіряється
- Змінено джерелом
- 22 березня 2024 р.
Оригінал: https://data.gov.ua/dataset/223b7c7f-5372-4e61-bd1c-d59c894a9856/resource/980583bb-4232-4…
Дані
| № | text | text_length | text_block_index | source_format |
|---|---|---|---|---|
| 1 | Open API Description | 20 | 1 | docx |
| 2 | url : / openapi /requests | 25 | 2 | docx |
| 3 | method : GET | 12 | 3 | docx |
| 4 | input optional parameters : | 27 | 4 | docx |
| 5 | FromDate – set period from date (default current date minus 1 month) | 68 | 5 | docx |
| 6 | ToDate – set period to date (default today date) | 48 | 6 | docx |
| 7 | Page – set current page (default 1) | 35 | 7 | docx |
| 8 | Per Page – set limit of page s (default 1000, max 1000 ) | 56 | 8 | docx |
| 9 | Example s | 9 | 9 | docx |
| 10 | / openapi /requests – by default show results by last month and page 1 | 70 | 10 | docx |
| 11 | https://1580.khm.gov.ua/openapi/requests?fromdate=01.01.2024&todate=31.01.2024&page=2 | 85 | 11 | docx |
| 12 | Response example: | 17 | 12 | docx |
| 13 | JSON format | 11 | 13 | docx |
| 14 | { | 1 | 14 | docx |
| 15 | " FromDate " : "01.01.2024" , -- date from | 42 | 15 | docx |
| 16 | " ToDate " : "31.01.2024" , -- date to | 38 | 16 | docx |
| 17 | "Page" : 2 , -- current page | 28 | 17 | docx |
| 18 | "Pages" : 2 , -- total pages | 28 | 18 | docx |
| 19 | " PerPage " : 1000 , -- max items in response | 45 | 19 | docx |
| 20 | "Count" : 553 , -- count of items on current page | 49 | 20 | docx |
| 21 | "Total" : 1553 , -- tital items overall | 39 | 21 | docx |
| 22 | "Requests" : [ -- array of items | 32 | 22 | docx |
| 23 | { | 1 | 23 | docx |
| 24 | "Number" : 52519 , | 18 | 24 | docx |
| 25 | "Date" : "31.01.2024" , | 23 | 25 | docx |
| 26 | "Type" : " Звернення " , | 24 | 26 | docx |
| 27 | "Category" : " Каналізація " , | 30 | 27 | docx |
| 28 | "Address" : "м. Хмельницький вул . Подільська , буд. 171" , | 59 | 28 | docx |
| 29 | " Exec " : " УМК «Центральна»" , | 32 | 29 | docx |
| 30 | " Status " : " Виконано позитивно" , | 36 | 30 | docx |
| 31 | " Result " : "< p > каналізацію прочищено</ p >\ r \ n " | 56 | 31 | docx |
| 32 | }, | 2 | 32 | docx |
| 33 | { | 1 | 33 | docx |
| 34 | "Number" : 52518 , | 18 | 34 | docx |
| 35 | "Date" : "31.01.2024" , | 23 | 35 | docx |
| 36 | "Type" : " Звернення " , | 24 | 36 | docx |
| 37 | "Category" : " Електропостачання " , | 36 | 37 | docx |
| 38 | " Address " : "м. Хмельницький вул . Тернопільська , буд. 22/1" , | 65 | 38 | docx |
| 39 | " Exec " : " УМК «Центральна»" , | 32 | 39 | docx |
| 40 | " Status " : " Виконано позитивно" , | 36 | 40 | docx |
| 41 | " Result " : "< p > електропостачання відновлено </ p >\ r \ n " | 64 | 41 | docx |
| 42 | } | 1 | 42 | docx |
| 43 | ] | 1 | 43 | docx |
| 44 | } | 1 | 44 | docx |