---
title: "Get a resource service"
method: GET
path: "/v1/locations/{locationId}/resources/{resourceId}/services/{serviceId}"
tags: ["Resources"]
---

# Get a resource service

`GET /v1/locations/{locationId}/resources/{resourceId}/services/{serviceId}`

## Request

- Base URL: `https://api.cliento.com`
- URL: `https://api.cliento.com/v1/locations/{locationId}/resources/{resourceId}/services/{serviceId}`
- Auth: HTTP bearer

One service as this resource offers it.

## Path parameters

- `locationId` string, required
- `resourceId` string, required
- `serviceId` string, required

## Response `200`

OK

- ResourceService: A service as one resource offers it: what is booked. It is identified by its resource and its service. The name, description, group, type and VAT are the service's, and are changed on the service. The duration, after-time, price and online booking setting are the service's defaults, unless the resource overrides them with its own, as `ownValues` says.
  - `addOn` boolean, required: An add-on is booked together with another service, never on its own.
  - `afterTimeMinutes` integer, required: Time kept free after the booking, for cleaning up or resting.
  - `description` string: The service's description.
  - `durationMinutes` integer, required
  - `groupId` string: The group the service is listed under.
  - `locationId` string, required
  - `name` string, required: The service's name.
  - `onlineBookingAllowed` boolean, required: Whether customers may book the service with this resource in online booking. Online booking also requires that the service is shown online (`shownOnline`) and that the resource is open for online booking (`onlineBookingEnabled`).
  - `ownValues` boolean, required: False: the resource service follows the service, and its duration, after-time, price and online booking setting are the service's defaults and change with them. True: it overrides them with its own, which stay when the service changes.
  - `price` string, required
  - `priceFrom` boolean, required: True when the price is a starting price, shown to customers as "from".
  - `resourceId` string, required
  - `serviceId` string, required
  - `shownOnline` boolean, required: Whether the service is shown to customers in online booking.
  - `type` string, required: How the service is booked, such as `appointment` or `class`. The same value as the service's `type`. The list is open, so accept a value you do not know.
  - `updatedAt` string, date-time, required: When it last changed, in UTC.
  - `vatParts` ServiceVatPart[]: For a service that consists of parts accounted for at different VAT rates, such as a vaccine with no VAT and a certificate at 25 %: the service's parts, at the service's default prices. Left out for every other service.
    - `description` string, required
    - `price` string, required
    - `vatPercent` string, required
  - `vatPercent` string, required: The service's VAT rate, included in the price. A service with `vatParts` is sold with each part at its own rate when it is paid for at the point of sale or online. This is then the single rate used where the service is not split into its parts.

## Other responses

- `default`: Any failure. See the Errors section.

---

[API](https://skmtc.dev/cliento/apis/cliento-api.md) · [All operations](https://skmtc.dev/cliento/apis/cliento-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cliento/apis/cliento-api/revisions/29ca811bc061?raw)
