Skip to content

Department Details

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

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

Request

PATH PARAMETERS

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

Response

The response will contain the following parameters:

Response body
{
"_id": "651134cad9d449db9f70fea8",
"department_id": 154,
"active": 1,
"city": "Łódź",
"coordinates": "51.74051183702205, 19.424730587875235",
"email": "lodz@kwant.net.pl",
"gfx": "lodz_desktop",
"name": "Łódź",
"phone": "426878049",
"postcode": "94-103",
"short": "LODZ",
"show": 1,
"street": "Elektronowa 6",
"url": "https://www.kwant.net.pl/oddzialy/lodz",
"working_days": "poniedziałek - piątek",
"working_hours": "7:00 - 15:00",
"gfx_mobile": "lodz_mobile",
"opening_hours": [
{
"day": "Poniedziałek",
"day_number": 1,
"hours": "7:00 - 15:00",
"hours_from": 7,
"hours_to": 15,
"minutes_from": 0,
"minutes_to": 0
},
{
"day": "Wtorek",
"day_number": 2,
"hours": "7:00 - 15:00",
"hours_from": 7,
"hours_to": 15,
"minutes_from": 0,
"minutes_to": 0
},
{
"day": "Środa",
"day_number": 3,
"hours": "7:00 - 15:00",
"hours_from": 7,
"hours_to": 15,
"minutes_from": 0,
"minutes_to": 0
},
{
"day": "Czwartek",
"day_number": 4,
"hours": "7:00 - 15:00",
"hours_from": 7,
"hours_to": 15,
"minutes_from": 0,
"minutes_to": 0
},
{
"day": "Piątek",
"day_number": 5,
"hours": "7:00 - 15:00",
"hours_from": 7,
"hours_to": 15,
"minutes_from": 0,
"minutes_to": 0
}
],
"directions_tips": ""
}