Skip to main content
GET
/
v1
/
api
/
agencies
/
{agencyId}
/
branches
List branches
curl --request GET \
  --url http://localhost:3091/v1/api/agencies/{agencyId}/branches \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": 123,
    "agencyId": 123,
    "name": "<string>",
    "address": "<string>",
    "city": "<string>",
    "country": "<string>",
    "phone": "<string>",
    "openingHours": "<string>",
    "gpsLat": 123,
    "gpsLng": 123,
    "isActive": true
  }
]

Authorizations

Authorization
string
header
required

JWT access token from POST /v1/api/auth/login

Path Parameters

agencyId
integer<int64>
required

Response

Branches retrieved

id
integer<int64>
agencyId
integer<int64>
name
string
address
string
city
string
country
string
phone
string
openingHours
string
gpsLat
number<double>
gpsLng
number<double>
isActive
boolean