Path parameters
-
id
string Required
GET
/api/locations/{id}
curl \
-X GET https://metropolitanacolombia.org/api/locations/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"name": "string",
"description": "string",
"remarks": "string",
"coordinates": "string",
"isEnabled": true,
"id": "string",
"shiftsCount": 42,
"shifts": [
{
"startTime": "09:42:00+00:00",
"endTime": "09:42:00+00:00",
"dayOfWeek": 42,
"seatsCount": 42,
"isEnabled": true,
"id": "string"
}
],
"remarksSummary": "string",
"labels": [
{
"name": "string",
"bgColor": "string",
"id": "string"
}
],
"circuit": {
"name": "string",
"id": "string"
},
"createdAt": "2024-05-04T09:42:00+00:00",
"updatedAt": "2024-05-04T09:42:00+00:00"
}
Response examples (422)
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}