openapi: 3.2.0 info: title: Entur Shared Mobility Internal API version: 2026.09.2 contact: name: Team Delingsmobilitet description: 'Operations tagged SharedMobilityInternal across 2 of this provider''s published API definitions: entur-shared-mobility-openapi.json, entur-shared-mobility-openapi.yml. Each path carries the servers of the definition it was published in.' servers: - url: https://api.entur.io/shared-mobility/v1 description: Generated server url security: - Authorization: [] tags: - name: SharedMobilityInternal paths: /bookings/{transportOperatorBookingId}/notification: parameters: - $ref: '#/components/parameters/ET-Client-Name' - $ref: '#/components/parameters/X-Correlation-Id' post: tags: - SharedMobilityInternal description: Send a message to the end user operationId: sendNotification parameters: - name: Accept-Language in: header required: false style: simple explode: false schema: type: string - name: transportOperatorBookingId in: path required: true style: simple explode: false schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/Notification' required: true responses: '400': description: Invalid request data content: application/problem+json: schema: $ref: '#/components/schemas/ApiError' '403': description: Insufficient permissions content: application/problem+json: schema: $ref: '#/components/schemas/ApiError' '409': description: Resource conflict content: application/problem+json: schema: $ref: '#/components/schemas/ApiError' '500': description: Unexpected server error content: application/problem+json: schema: $ref: '#/components/schemas/ApiError' summary: Send notification x-summary-source: derived servers: - url: https://api.entur.io/shared-mobility/v1 description: Generated server url /bookings/leg/{transportOperatorLegId}/event: parameters: - $ref: '#/components/parameters/ET-Client-Name' - $ref: '#/components/parameters/X-Correlation-Id' post: tags: - SharedMobilityInternal description: Change the leg event for a one-stop booking operationId: updateBookingWithLegsIdEventsPost parameters: - name: Operator-Id in: header required: true style: simple explode: false schema: type: string - name: Accept-Language in: header required: false style: simple explode: false schema: type: string - name: transportOperatorLegId in: path required: true style: simple explode: false schema: type: string - name: oneStopState in: query required: true style: form explode: true schema: type: string enum: - PREPARE - START - PAUSE - RESUME - START_FINISHING - FINISH - CANCEL responses: '400': description: Invalid request data content: application/problem+json: schema: $ref: '#/components/schemas/ApiError' '403': description: Insufficient permissions content: application/problem+json: schema: $ref: '#/components/schemas/ApiError' '409': description: Resource conflict content: application/problem+json: schema: $ref: '#/components/schemas/ApiError' '500': description: Unexpected server error content: application/problem+json: schema: $ref: '#/components/schemas/ApiError' summary: Update booking with legs id events post x-summary-source: derived servers: - url: https://api.entur.io/shared-mobility/v1 description: Generated server url components: parameters: X-Correlation-Id: name: X-Correlation-Id in: header description: Correlation id required: false style: simple explode: false schema: type: string ET-Client-Name: name: ET-Client-Name in: header description: 'Entur Client Header. It is required that all consumers identify themselves by using this header. Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers. The structure of ET-Client-Name should be: `-`.' required: false style: simple explode: false schema: type: string schemas: ApiError: type: object properties: type: type: string status: type: integer format: int32 title: type: string detail: type: string instance: type: string timestamp: type: string format: date-time exception: type: string error: type: string message: type: string path: type: string required: - detail - error - exception - instance - message - path - status - timestamp - title - type Notification: type: object properties: originOperator: type: string message: type: - string - 'null' required: - originOperator securitySchemes: Authorization: type: http description: Authorization header scheme: bearer bearerFormat: Bearer eyJhbGciOiJIUzI1NiIsInR5cCIf36POk6yJV_adQssw5c x-refined-from: - entur-shared-mobility-openapi.json - entur-shared-mobility-openapi.yml