Skip to content

Department List

GET
https://services.kwant.pro/api/front/misc/departments

This endpoint is used to handle click events. It is called when a user clicks on a button or a link.

Request

Field Type Description Required Default
* id Int The unique identifier Yes

Response

The response will contain the following parameters:

Response body
{
"list": [
{
"department_id": 203,
"name": "Bochnia",
"email": "bochnia@kwant.net.pl",
"postcode": "32-700",
"city": "Bochnia",
"street": "Łany 29",
"phone": "146123660",
"gfx": "bochnia_desktop",
"gfx_mobile": "bochnia_mobile",
"coordinates": "49.97877518948377, 20.41364579630902",
"working_hours": "7:00 - 16:00",
"working_days": "poniedziałek - piątek",
"additional_working_hours": null,
"additional_working_days": null
},
{...},
{
"department_id": 128,
"name": "Zamość",
"email": "zamosc@kwant.net.pl",
"postcode": "22-400",
"city": "Zamosć",
"street": "Braterstwa Broni 60",
"phone": "846381450",
"gfx": "zamosc_desktop",
"gfx_mobile": "zamosc_mobile",
"coordinates": "50.734048268242766, 23.23534386208557",
"working_hours": "7:00 - 16:00",
"working_days": "poniedziałek - piątek",
"additional_working_hours": null,
"additional_working_days": null
}
],
"success": true
}