New API version v7.7.0 has been released! 🎉
REST Documentation
Locations in List

Get Locations in List

You can use this endpoint to retrieve all locations that belong to a specific location list.

Request

GET /api/v1/location-lists/{locationList}/locations
curl --request GET \
     --url 'https://www.zep-online.de/zepinstanz/next/api/v1/location-lists/{locationList}/locations' \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer {token}'

Response

{
	"data": [
        {
            "id": 101,
            "name": "Berlin Office",
            "address": "Alexanderplatz 1, 10178 Berlin",
            "description": "Main office in Berlin",
            "latitude": 52.5200,
            "longitude": 13.4050,
            "created": "2024-01-15T10:30:00.000000Z",
            "modified": "2024-01-15T10:30:00.000000Z"
        },
        {
            "id": 102,
            "name": "Munich Office", 
            "address": "Marienplatz 1, 80331 Munich",
            "description": "Branch office in Munich",
            "latitude": 48.1351,
            "longitude": 11.5820,
            "created": "2024-02-01T14:20:00.000000Z",
            "modified": "2024-02-01T14:20:00.000000Z"
        }
	]
}

Path Parameters

  • Name
    locationList
    Type
    integer
    Description

    The location list ID.

Optional Parameters

  • Name
    limit
    Type
    integer
    Description

    Attribute for limiting the number of entries per page.