---
title: "Retrieve service details"
method: GET
path: "/v2/services/service/{service_number}/{date}"
tags: ["services"]
---

# Retrieve service details

`GET /v2/services/service/{service_number}/{date}`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/v2/services/service/{service_number}/{date}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/rijdendetreinen/apis/gotrain/docs/v2/services/service/:service_number/:date/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `service_number` string, required
- `date` string, date, required

## Query parameters

- `language` 'nl' | 'en'

## Response `200`

Default response

- object
  - `service` Service
    - `company` string
    - `id` string
    - `journey_planner` boolean
    - `parts` object[]
      - `remarks` string[]
      - `service_number` string
      - `stops` object[]
        - `arrival_cancelled` boolean
        - `arrival_delay` integer
        - `arrival_platform_actual` string
        - `arrival_platform_planned` string
        - `arrival_time` string, date-time
        - `assistance_available` boolean
        - `departure_cancelled` boolean
        - `departure_delay` integer
        - `departure_platform_actual` string
        - `departure_platform_planned` string
        - `departure_time` string, date-time
        - `do_not_board` boolean
        - `material` object[]
          - `accessible` boolean
          - `destination` string
          - `destination_code` string
          - `number` string
          - `position` integer
          - `remains_behind` boolean
          - `type` string
        - `remarks` string[]
        - `station` StationObject
          - `code` string
          - `short` string
          - `medium` string
          - `long` string
        - `station_accessible` boolean
        - `stop_type` string
        - `stopping_actual` boolean
        - `stopping_planned` boolean
        - `tips` string[]
      - `tips` string[]
    - `remarks` string[]
    - `tips` string[]
    - `reservation_required` boolean
    - `with_supplement` boolean
    - `service_date` string, date
    - `service_number` string
    - `timestamp` string, date-time
    - `type` string
    - `type_code` string
  - `status` 'UNKNOWN' | 'DOWN' | 'RECOVERING' | 'UP': System status: * `UNKNOWN` - Insufficient information to determine whether system is UP or DOWN * `DOWN` - Component is down (downtime detected) * `RECOVERING` - Component is receiving data, but not long enough to consider it UP * `UP` - Component is receiving data

---

[API](https://skmtc.dev/rijdendetreinen/apis/gotrain.md) - [All operations](https://skmtc.dev/rijdendetreinen/apis/gotrain/llms.txt) - [OpenAPI document](https://skmtc.dev/rijdendetreinen/apis/gotrain/revisions/c456682a479f?raw)
