train_schedule_exceptions

Create a train schedule exception

post/timetable/{id}/train_schedule_exception

Path parameters

idinteger required

A timetable ID

Request body

disabledboolean required
occurrence_indexinteger nullable
train_schedule_idinteger required

Example request

{
  "change_groups": {
    "path_and_schedule": {
      "margins": {
        "values": [
          "5%",
          "2min/100km"
        ]
      },
      "schedule": [
        {
          "arrival": "PT2H",
          "reference_base_arrival": "PT2H",
          "stop_for": "PT2H"
        }
      ]
    }
  }
}

Response

The train schedule exception has been created

disabledboolean required
idinteger required
keystring nullable
occurrence_indexinteger

If None the exception is created, otherwise it is a modified exception

timetable_idinteger required
train_schedule_idinteger required

Example response

{
  "change_groups": {
    "path_and_schedule": {
      "margins": {
        "values": [
          "5%",
          "2min/100km"
        ]
      },
      "schedule": [
        {
          "arrival": "PT2H",
          "reference_base_arrival": "PT2H",
          "stop_for": "PT2H"
        }
      ]
    }
  }
}

Changes

Changed in 26 of the 77 revisions of this API.621867

    • added the new optional request property change_groups/path_and_schedule/schedule/items/can_backtrack

      new-optional-request-property

    • added the optional property change_groups/path_and_schedule/schedule/items/can_backtrack to the response with the 200 status

      response-optional-property-added

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the request property change_groups/path_and_schedule/schedule/items/can_backtrack

      request-property-removed

    • removed the optional property change_groups/path_and_schedule/schedule/items/can_backtrack from the response with the 200 status

      response-optional-property-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the new optional request property change_groups/path_and_schedule/schedule/items/can_backtrack

      new-optional-request-property

    • added the optional property change_groups/path_and_schedule/schedule/items/can_backtrack to the response with the 200 status

      response-optional-property-added

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed subschema #2: OperationalPointReferenceTrigram from the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point request property oneOf list

      request-property-one-of-removed

    • added subschema #2: OperationalPointReferenceDomestic to the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point response property oneOf list for the response status 200

      response-property-one-of-added

    • added subschema #2: OperationalPointReferenceDomestic to the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point request property oneOf list

      request-property-one-of-added

    • removed subschema #2: OperationalPointReferenceTrigram from the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point response property oneOf list for the response status 200

      response-property-one-of-removed

  • dff80f0a6343222See the full diff
    • removed subschema #2: OperationalPointReferenceDomestic from the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point request property oneOf list

      request-property-one-of-removed

    • added subschema #2: OperationalPointReferenceTrigram to the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point response property oneOf list for the response status 200

      response-property-one-of-added

    • removed the request property change_groups/path_and_schedule/schedule/items/can_backtrack

      request-property-removed

    • removed the optional property change_groups/path_and_schedule/schedule/items/can_backtrack from the response with the 200 status

      response-optional-property-removed

    • added subschema #2: OperationalPointReferenceTrigram to the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point request property oneOf list

      request-property-one-of-added

    • removed subschema #2: OperationalPointReferenceDomestic from the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point response property oneOf list for the response status 200

      response-property-one-of-removed

    This revision also has 12 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 32ca346a5add24See the full diff
    • removed subschema #2: OperationalPointReferenceTrigram from the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point request property oneOf list

      request-property-one-of-removed

    • added subschema #2: OperationalPointReferenceDomestic to the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point response property oneOf list for the response status 200

      response-property-one-of-added

    • added the new optional request property change_groups/path_and_schedule/schedule/items/can_backtrack

      new-optional-request-property

    • added subschema #2: OperationalPointReferenceDomestic to the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point request property oneOf list

      request-property-one-of-added

    • added the optional property change_groups/path_and_schedule/schedule/items/can_backtrack to the response with the 200 status

      response-optional-property-added

    • removed subschema #2: OperationalPointReferenceTrigram from the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point response property oneOf list for the response status 200

      response-property-one-of-removed

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 62dbae65a59322See the full diff
    • removed subschema #2: OperationalPointReferenceDomestic from the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point request property oneOf list

      request-property-one-of-removed

    • added subschema #2: OperationalPointReferenceTrigram to the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point response property oneOf list for the response status 200

      response-property-one-of-added

    • added subschema #2: OperationalPointReferenceTrigram to the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point request property oneOf list

      request-property-one-of-added

    • removed subschema #2: OperationalPointReferenceDomestic from the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point response property oneOf list for the response status 200

      response-property-one-of-removed

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • fa2c0899ac3622See the full diff
    • removed subschema #2: OperationalPointReferenceTrigram from the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point request property oneOf list

      request-property-one-of-removed

    • added subschema #2: OperationalPointReferenceDomestic to the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point response property oneOf list for the response status 200

      response-property-one-of-added

    • added subschema #2: OperationalPointReferenceDomestic to the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point request property oneOf list

      request-property-one-of-added

    • removed subschema #2: OperationalPointReferenceTrigram from the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point response property oneOf list for the response status 200

      response-property-one-of-removed

    • added the new optional request property change_groups/path_and_schedule/schedule/items/reference_base_arrival

      new-optional-request-property

    • added the new optional request property change_groups/path_and_schedule/schedule/items/reference_position

      new-optional-request-property

    • added the optional property change_groups/path_and_schedule/schedule/items/reference_base_arrival to the response with the 200 status

      response-optional-property-added

    • added the optional property change_groups/path_and_schedule/schedule/items/reference_position to the response with the 200 status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 73f0d9b8f23a262See the full diff
    • removed subschema #2: OperationalPointReferenceDomestic from the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point request property oneOf list

      request-property-one-of-removed

    • added subschema #2: OperationalPointReferenceTrigram to the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point response property oneOf list for the response status 200

      response-property-one-of-added

    • removed the request property change_groups/path_and_schedule/schedule/items/can_backtrack

      request-property-removed

    • removed the request property change_groups/path_and_schedule/schedule/items/reference_base_arrival

      request-property-removed

    • removed the request property change_groups/path_and_schedule/schedule/items/reference_position

      request-property-removed

    • removed the optional property change_groups/path_and_schedule/schedule/items/can_backtrack from the response with the 200 status

      response-optional-property-removed

    • removed the optional property change_groups/path_and_schedule/schedule/items/reference_base_arrival from the response with the 200 status

      response-optional-property-removed

    • removed the optional property change_groups/path_and_schedule/schedule/items/reference_position from the response with the 200 status

      response-optional-property-removed

    • added subschema #2: OperationalPointReferenceTrigram to the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point request property oneOf list

      request-property-one-of-added

    • removed subschema #2: OperationalPointReferenceDomestic from the change_groups/path_and_schedule/path/items/location/oneOf[subschema #2: PathItemLocationOperationalPointPartReference]/allOf[OperationalPointPartReference]/operational_point response property oneOf list for the response status 200

      response-property-one-of-removed

    This revision also has 12 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 77 revisions, 2 have no diff computed.