---
title: "POST /infra/{infra_id}/match_operational_points"
method: POST
path: "/infra/{infra_id}/match_operational_points"
tags: ["infra"]
---

# POST /infra/{infra_id}/match_operational_points

`POST /infra/{infra_id}/match_operational_points`

## Path parameters

- `infra_id` integer, required

## Request body

- object
  - `operational_point_references` OperationalPointReference[], required
    - union
      - object
        - `operational_point` string, required — The object id of an operational point
        - `type` 'id', required
      - object
        - `country_code` string, required
        - `main_code` string, required — The operational point main code
        - `secondary_code` string, nullable — An optional secondary code to identify a more specific location
        - `type` 'domestic', required
      - object
        - `secondary_code` string, nullable — An optional secondary code to identify a more specific location
        - `type` 'uic', required
        - `uic` integer, required — The [UIC](https://en.wikipedia.org/wiki/List_of_UIC_country_codes) code of an operational point

## Response `200`

Take a list of operational point references and return for each of them the
operational point that it matches on a given infrastructure.

- object
  - `related_operational_points` RelatedOperationalPoint[], required
    - `country_code` string, required
    - `geo` GeoJsonPoint
      - `coordinates` number[], required
      - `type` 'Point', required
    - `id` string, required
    - `is_passenger_station` boolean, required
    - `main_code` string, required
    - `name` string, required
    - `parts` RelatedOperationalPointPart[], required
      - `extensions` OperationalPointPartExtension
        - `sncf` OperationalPointPartSncfExtension
          - `kp` string, required
      - `local_track_name` string, required
      - `position` number, double, required — Offset on the track section, in m
      - `track` string, required
      - `geo` GeoJsonPoint
        - `coordinates` number[], required
        - `type` 'Point', required
    - `plc` string, nullable
    - `secondary_code` string, nullable
    - `secondary_name` string, nullable
    - `uic` integer, nullable
    - `weight` integer, nullable

---

[API](https://skmtc.net/openrailassociation/apis/osrd-editoast.md) · [All operations](https://skmtc.net/openrailassociation/apis/osrd-editoast/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openrailassociation/osrd-editoast/versions/1840dbbd64ac/schema)
