Skip to content

Location Details

Returns the details of a single location.

Request

GET /api/oauth/v2/resource/locations/{uuid}

HeaderValue
AuthorizationBearer {access_token}

URL parameters

ParameterTypeRequiredDescription
uuidstring (UUID)YesUnique location ID

Required scope: locations

Response

Success (200 OK)

json
{
  "data": {
    "id": "b2c3d4e5-f6a7-8901-bcde-f01234567890",
    "name": "Hauptordination Wien",
    "bookingName": "Wien – 1. Bezirk",
    "abbreviation": "WI1",
    "street": "Musterstraße 1",
    "zip": "1010",
    "city": "Wien",
    "country": "AT",
    "description": "Barrierefrei zugänglich",
    "color": "#74AFAD",
    "email": "wien@example.com",
    "tel": "1234567",
    "telCode": "+43",
    "lat": 48.2082,
    "lng": 16.3738,
    "sort": 0,
    "bookable": true,
    "tenancies": [
      {
        "id": "f0e1d2c3-b4a5-6789-fedc-ba9876543210",
        "name": "Ordination Muster",
        "abbreviation": "OM",
        "color": "#00adba"
      }
    ]
  }
}

Response fields

FieldTypeDescription
data.idstring (UUID)Unique location ID
data.namestringInternal name of the location
data.bookingNamestring | nullDisplay name for booking
data.abbreviationstring | nullAbbreviation
data.streetstring | nullStreet and house number
data.zipstring | nullPostal code
data.citystring | nullCity
data.countrystring | nullCountry code (ISO 3166-1 alpha-2)
data.descriptionstring | nullDescription text
data.colorstringColor as hex code (e.g. #74AFAD)
data.emailstring | nullEmail address of the location
data.telstring | nullPhone number
data.telCodestring | nullDialing code
data.latnumber | nullLatitude
data.lngnumber | nullLongitude
data.sortintegerSort order
data.bookablebooleanWhether the location is bookable
data.tenanciesArrayAssigned tenants
data.tenancies[].idstring (UUID)Tenant ID
data.tenancies[].namestringName of the tenant
data.tenancies[].abbreviationstringAbbreviation
data.tenancies[].colorstringColor as hex code

Note: The API returns additional internal fields not documented here. Only use the fields described here — all others may change without notice.

Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/locations/b2c3d4e5-f6a7-8901-bcde-f01234567890" \
  -H "Authorization: Bearer {access_token}"
Parameter
Zuerst Token anfordern

Possible errors

StatusCodeDescription
401invalid_clientInvalid or missing access token
403insufficient_scopeScope locations not present
404not_foundLocation not found

Offisy GmbH